openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07282
[Bug 882998] Re: [trunk] [sale/purchase] : picking order date is not the same as the sale/purchase order date
Merged into lp:openobject-addons at revision 5548
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
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/882998
Title:
[trunk] [sale/purchase] : picking order date is not the same as the
sale/purchase order date
Status in OpenERP Addons (modules):
Fix Released
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