[STOCK] 6.0 6.1 change move date don't update picking date
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Incomplete
|
Low
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi
I found a bug in stock module.
Scenario:
Create a sale order
Validate it
Using the menu "Product Move => Delivery Product"
open on line of the "stock move" generated by the sale order
change the "planned date" of the "stock move"
save
Now Open the picking related to this move
Check the max date
=> the "max date" was not updated.
Indeed the "max date" on the "stock.picking" have the option store=True
'max_date': fields.
It's the same for "min date"
'min_date': fields.
You should add invalidation function for this two computed fields.
Best regards
Related branches
- Pedro Manuel Baeza: Approve (code review)
- Sébastien BEAU - http://www.akretion.com: Approve (code review, no test)
- Raphaël Valyi - http://www.akretion.com: Approve
-
Diff: 56 lines (+33/-4)1 file modifiedstock/stock.py (+33/-4)
summary: |
- change move date don't update picking date + [STOCK] 6.0 6.1 change move date don't update picking date |
tags: | added: maintenance |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
Changed in openobject-addons: | |
importance: | Undecided → Low |
Hello Sebastien BEAU,
I have checked your issue at my side, you can't change expected date from "Stock. move"
because that date function is define in Stock.picking model , if you want to change, you can do it from stock picking
"Delivery Order" menu.
hope you can understand ,if I am wrong correct me
Thanks!