Hello Ravish,

Sorry for the late reply.

The client needs to recompute the expected date of the incomming by changing 
the date of the move lines.
He needs to have the good expected date on each lines (the date can be 
different from a move line to an other) without spliting the picking. 

The fields function max_date and min_date should be updated when the
expected date of one of the move lines changes.

In our case we created a button to recompute the date expected of the move line 
if the supplier has a shortage on a product.
Then when the date expected of the move line is recompute due to that shortage, 
the date expected of the incomming should be recompute too. Currently the date 
of the incomming doesn't change.

Best regards,

Benoit

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

Title:
  [STOCK] 6.0 6.1 change move date don't update picking date

Status in OpenERP Addons (modules):
  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/openobject-addons/+bug/914670/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to