openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11038
[Bug 993947] Re: MRP scheduled date shouble be visible only on New(draft) state
Hello,
It has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-993947-amb
branch with following revision number and revision ID.
Revision No : 6775
Revision ID : 6775 amb@xxxxxxxxxxx-20120504105234-9cqv4wco5vkjxw7h
Thanks!
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/993947
Title:
MRP scheduled date shouble be visible only on New(draft) state
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
If I change the scheduled date in a Manufacturing Order that is "Ready
to Produce" or has its "Production Started", the related Stock Moves
do not have their dates updated. This leads to incorrect dates when
looking at an Inventory Analysis.
I have currently prevented my users from changing scheduled dates in
non-draft Manufacturing orders by changing the following line in
mrp.py
'date_planned': fields.datetime('Scheduled date', required=True,
select=1),
to
'date_planned': fields.datetime('Scheduled date', required=True,
select=1, states={'draft':[('readonly',False)]}, readonly=True),
I think the preferred solution would be to actually update the
associated dates.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/993947/+subscriptions
References