openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27833
[Bug 914670] Re: [STOCK] 6.0 6.1 change move date don't update picking date
The problem still exists in OpenERP 7.0, and is much annoying to one of
our clients, where we installed the very useful module(s) from Akretion.
** Also affects: ocb-addons
Importance: Undecided
Status: New
** Also affects: ocb-addons/7.0
Importance: Undecided
Status: New
** Changed in: ocb-addons/7.0
Importance: Undecided => Medium
** Changed in: ocb-addons/7.0
Status: New => Confirmed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to Odoo Addons.
https://bugs.launchpad.net/bugs/914670
Title:
[STOCK] 6.0 6.1 change move date don't update picking date
Status in OpenERP Community Backports (Addons):
Confirmed
Status in OpenERP Community Backports (Addons) 7.0 series:
Confirmed
Status in Odoo Addons:
Incomplete
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.function(get_min_max_date, fnct_inv=_set_maximum_date, multi="min_max_date",
store=True, type='datetime', string='Max. Expected Date', select=2),
It's the same for "min date"
'min_date': fields.function(get_min_max_date, fnct_inv=_set_minimum_date, multi="min_max_date",
store=True, type='datetime', string='Expected Date', select=1, help="Expected date for the picking to be processed"),
You should add invalidation function for this two computed fields.
Best regards
To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/914670/+subscriptions
References