← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 882998] Re: [trunk] [sale/purchase] : picking order date is not the same as the sale/purchase order date

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/882998

Title:
  [trunk] [sale/purchase] : picking order date is not the same as the
  sale/purchase order date

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  When I create a sale order with an order date different from the current date, this date is not kept in the stock picking. Indeed the date in the stock picking is the current date.
  To fix this bug you should just add the line : 
  === modified file 'sale/sale.py'
  --- sale/sale.py	2011-10-03 14:25:54 +0000
  +++ sale/sale.py	2011-10-28 09:28:34 +0000
  @@ -725,6 +725,7 @@
           return {
               'name': pick_name,
               'origin': order.name,
  +            'date': order.date_order,
               'type': 'out',
               'state': 'auto',
               'move_type': order.picking_policy,

  Best regards,

  Benoit Guillot

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


References