Tryton - Issues

 

Issue7882

Title stock_lot_sled breaks the creation of purchase and production requests if they are not for today
Priority bug Status testing
Superseder Nosy List angel, ced, reviewbot
Type behavior Components stock_lot_sled
Assigned To ced Keywords review
Reviews 48701002
View: 48701002

Created on 2018-11-25.08:43:36 by angel, last changed by reviewbot.

Messages
review48701002 updated at https://codereview.tryton.org/48701002/#ps1
msg45643 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-12-31.02:13:32
Here is review48701002 which should fix it. It is a side effect of issue6243 but without it the expired product would not be computed.
msg44996 (view) Author: [hidden] (angel) Date: 2018-11-25.08:43:35
Maybe I missing something but on version 4.8 stock_supply_production and stock_supply_purchase do not create requests if stock_lot_sled is installed.

Scenario
- Create products: Product, Component 1 and Component 2
- Create a Bom:  
      100 units component 1
      200 units component 2    -> 1 unit Product.

- On Production Configuration, set supply period 5d.
- Create a sale:  100 units of Product delivery 3 days later.
- Execute: Inventory & Stock/Order Points/Supply Stock.

If you uninstall stock_lot_sled and restart server and  execute:
Inventory & Stock/Order Points/Supply Stock. you get 2 purchase request and one production request.

With stock_lot_sled installed, if you change planned_date field from customer shipment to today, purchase and production requests are created.
History
Date User Action Args
2018-12-31 02:43:46reviewbotsetnosy: + reviewbot
messages: + msg45644
2018-12-31 02:13:32cedsetstatus: unread -> testing
keyword: + review
nosy: + ced
messages: + msg45643
reviews: 48701002
assignedto: ced
type: behavior
2018-11-25 08:43:36angelcreate

Showing 10 items. Show all history (warning: this could be VERY long)