← Back to team overview

credativ team mailing list archive

[Bug 914670] Re: [STOCK] 6.0 6.1 change move date don't update picking date

 

** Summary changed:

- change move date don't update picking date
+ [STOCK] 6.0 6.1 change move date don't update picking date

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, 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):
  New

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


References