openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11035
[Bug 993947] Re: MRP scheduled date shouble be visible only on New(draft) state
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
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):
In Progress
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