← 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

 

Hello Sebastien BEAU,
I have checked your issue at my side, you can't change expected date from "Stock. move"
because that date function is  define in  Stock.picking model , if you want to change, you can do it from stock picking 
"Delivery  Order" menu.
hope you can understand ,if I am wrong correct me
Thanks!


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

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


References