Tryton - Issues

 

Issue7882

Title stock_lot_sled breaks the creation of purchase and production requests if they are not for today
Priority bug Status resolved
Superseder Nosy List angel, ced, reviewbot, roundup-bot
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 roundup-bot.

Messages
New changeset 3e94c352ce84 by Cédric Krier in branch '5.0':
Search queries inside Select and add different lot instances
https://hg.tryton.org/modules/stock_lot_sled/rev/3e94c352ce84

New changeset bb1ec16c0eb2 by Cédric Krier in branch '4.8':
Search queries inside Select and add different lot instances
https://hg.tryton.org/modules/stock_lot_sled/rev/bb1ec16c0eb2
New changeset a7b3ecf1a98c by Cédric Krier in branch 'default':
Search queries inside Select and add different lot instances
https://hg.tryton.org/tryton-env/rev/a7b3ecf1a98c
New changeset ae31a427c396 by Cédric Krier in branch 'default':
Search queries inside Select and add different lot instances
https://hg.tryton.org/modules/stock_lot_sled/rev/ae31a427c396
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
2019-02-11 00:11:05roundup-botsetmessages: + msg46935
2019-01-17 17:10:13roundup-botsetmessages: + msg46007
2019-01-17 17:10:07roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg46006
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