summaryrefslogtreecommitdiff
path: root/design-documents/017-backoffice-inventory-management.rst
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-04-15 12:47:37 -0300
committerSebastian <sebasjm@gmail.com>2021-04-15 12:47:59 -0300
commitb1b067e53910ee8e95d5107d1fbea39a00949f2d (patch)
tree48eeecf77dab81c590a1db4bee0714bfa18d3d35 /design-documents/017-backoffice-inventory-management.rst
parentfadb750a4aac8b317c3e9bdcfb2a415667be6f90 (diff)
downloaddocs-b1b067e53910ee8e95d5107d1fbea39a00949f2d.tar.gz
docs-b1b067e53910ee8e95d5107d1fbea39a00949f2d.tar.bz2
docs-b1b067e53910ee8e95d5107d1fbea39a00949f2d.zip
stock management diagram
Diffstat (limited to 'design-documents/017-backoffice-inventory-management.rst')
-rw-r--r--design-documents/017-backoffice-inventory-management.rst49
1 files changed, 27 insertions, 22 deletions
diff --git a/design-documents/017-backoffice-inventory-management.rst b/design-documents/017-backoffice-inventory-management.rst
index 5513dd8..af25767 100644
--- a/design-documents/017-backoffice-inventory-management.rst
+++ b/design-documents/017-backoffice-inventory-management.rst
@@ -39,8 +39,6 @@ Listing the product will shown this columns:
* image
* description
* sell price
-* total taxes
-* profit (price - taxes)
* stock left (with next_restock in days if present)
* stock sold
@@ -50,27 +48,10 @@ Actions will be
* delete: with a confirm popup, it may fail if have some locked
-.. _backoffice-create-product:
-
Create and Update Product form
------------------------------
-Creating without stock
-**********************
-
-.. image:: ../backoffice-product-create.with-stock.svg
- :width: 800
-
-Creating with defined stock
-***************************
-
-.. image:: ../backoffice-product-create.without-stock.svg
- :width: 800
-
-Updating
-***************************
-
-.. image:: ../backoffice-product-update.svg
+.. image:: ../backoffice-product-create.svg
:width: 800
Update product will use the same form except for the ``product_id``
@@ -96,12 +77,36 @@ Update product will use the same form except for the ``product_id``
* Stock: button that opens more fields for stock control
- * initial stock: number
+ * stock remaining: number
* address: first collapsed, then field for Location
* next_restock: date
* cancel: button to set the stock to infinity, closing the section
-
+Stock management
+----------------
+
+* ``manage stock`` button will open the dialog below
+
+* ``without stock`` will close the dialog and set stock props to not defined (no valid for update product with stock)
+
+* ``update stock`` will close the dialog and set stock props to input values
+
+* ``set/change`` button will open next restock sub dialog
+
+* ``update`` button will close subdialog and set the next restock value to input date
+
+* ``not known`` button will close subdialog and set next restock value to undefined
+
+* ``never`` button will close subdialog and set next restock to never
+
+* ``add`` button will show an input to incresse the stock
+
+* if stock as added ``add`` button will be ``add more`` and a label with ``+ <number>`` will be shown
+
+.. image:: ../backoffice-product-create.stock.svg
+ :width: 800
+
+
Alternatives
============