diff options
| author | Mansi Trivedi <mtr@odoo.com> | 2016-04-07 18:34:44 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-10-21 15:29:28 +0200 |
| commit | 9fe39153708d764031511872c2c0321a69ba4fa1 (patch) | |
| tree | 9bff009587f8065322736490ae31c8d3acfbd926 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a2c567ffe833e5a899174de44a407c45e3af81f5 (diff) | |
[ADD] sale_mrp: Added default lead time test cases in python.
Case 1: To check schedule date of picking and manufacturing order,
- Configure lead times:
- At a product level set Manufacturing Lead Time and Customer Lead Time
- At a company level set Manufacturing Lead Time and Sales Safety Days
Case 2: To check schedule dates of pickings and manufacturing order,
- Configure lead times:
- At a product level set Manufacturing Lead Time and Customer Lead Time
- At a route level set delay of pull rules
Detailed Use Cases
==================
CASE 01 :
========
(Consider order date : 2016-04-18 11:10:44)
Create Product
--------------
Name : Product A
Product type : stockable
Manufacture : True
Make To Order : True
Manufacturing Lead Time : 5 days
Customer Lead Time : 5 days
Configure your company data
---------------------------
Manufacturing Lead Time : 3 days
Sales Safety Days : 3 days
Create SO
---------
Customer : Asustek
Order Lines : Select Product A with Order Qty : 10
Confirm this SO
Run scheduler
Result
------
Manufacure Order :-- Schedule date : 2016-04-12 11:10:44
Delivery Order :-- Schedule date : 2016-04-20 11:10:44
CASE 02 :
========
(Consider order date : 2016-04-18 11:10:44)
Create Product
--------------
Name : Product A
Product type : stockable
Manufacture : True
Make To Order : True
Manufacturing Lead Time : 5 days
Customer Lead Time : 5 days
Warehouse configuration (YourCompany)
-------------------------------------
Outgoing Shippings : Pick + Pack + Ship
Routes
------
YourCompany: Pick + Pack + Ship
Procurement Rules:
------------------
WH: Output -> Customers :-- Delay : 2 days
WH: Packing Zone -> Output :-- Delay : 2 days
WH: Stock -> Packing Zone :-- Delay : 2 days
Create SO
---------
Customer : Asustek
Order Lines : Select Product A with Order Qty : 5
Confirm this SO
Run scheduler
Result
------
Manufacure Order :-- Schedule date : 2016-04-14 11:10:46
Delivery Orders :--
PICK :--> Schedule date : 2016-04-19 11:10:46
PACK :-> Schedule date : 2016-04-19 11:10:46
OUT :--> Schedule date : 2016-04-21 11:10:46
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
