← Back to team overview

openerp-india team mailing list archive

[Bug 1184199] Re: "date" is not updated from "expected_date" as long as stock_move is not done

 

** 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)

-- 
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/1184199

Title:
  "date" is not updated from "expected_date" as long as stock_move is
  not done

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  the stock_move object of the stock module describes in 6.0 6.1 7.0 the date field as:
  "Move date: scheduled date until move is done, then date of actual move processing"

  However, there is no code that updates the "date" when "expected_date"
  is changed as long as not processed

  I propose to add the following to the write method:

  if move.state != 'done' and vals.get('date_expected'):
              vals['date'] = vals.get('date_expected')

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1184199/+subscriptions