← Back to team overview

openerp-india team mailing list archive

[Bug 993947] Re: MRP scheduled date change doesn't update stock move date

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

** Summary changed:

- MRP scheduled date change doesn't update stock move date
+ MRP scheduled date shouble be visible only on New(draft) state

-- 
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):
  Confirmed

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