-
- Downloads
[IMP] sale_stock,sale_mrp: available quantities on sales order
Selling a product you don't have in stock anymore triggers a message
without pertinent information about available quantity.
This commit adds a little widget on sale order line to inform the salesman
there are not enough quantity available. Clicking on it will reveal:
* The estimated delivery date
* The actual quantity on hand
* The quantity forcasted at the estimated delivery date
For kit product, the quantities are the maximum occurence of kit available
regarding components quantities.
Task 2003485
closes odoo/odoo#34336
Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
Showing
- addons/mrp/models/product.py 15 additions, 1 deletionaddons/mrp/models/product.py
- addons/sale_mrp/models/sale_mrp.py 10 additions, 38 deletionsaddons/sale_mrp/models/sale_mrp.py
- addons/sale_mrp/tests/test_sale_mrp_flow.py 9 additions, 23 deletionsaddons/sale_mrp/tests/test_sale_mrp_flow.py
- addons/sale_stock/__manifest__.py 1 addition, 0 deletionsaddons/sale_stock/__manifest__.py
- addons/sale_stock/models/sale_order.py 87 additions, 82 deletionsaddons/sale_stock/models/sale_order.py
- addons/sale_stock/static/src/js/qty_at_date_widget.js 90 additions, 0 deletionsaddons/sale_stock/static/src/js/qty_at_date_widget.js
- addons/sale_stock/static/src/xml/qty_at_date.xml 55 additions, 0 deletionsaddons/sale_stock/static/src/xml/qty_at_date.xml
- addons/sale_stock/tests/test_sale_stock.py 47 additions, 0 deletionsaddons/sale_stock/tests/test_sale_stock.py
- addons/sale_stock/views/sale_order_views.xml 27 additions, 0 deletionsaddons/sale_stock/views/sale_order_views.xml
- addons/stock/models/product.py 4 additions, 0 deletionsaddons/stock/models/product.py
- addons/stock/report/report_stock_quantity.xml 1 addition, 0 deletionsaddons/stock/report/report_stock_quantity.xml
- addons/stock_dropshipping/models/sale.py 12 additions, 0 deletionsaddons/stock_dropshipping/models/sale.py
Loading
Please register or sign in to comment