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

Bug #882998 reported by Benoit Guillot - http://www.akretion.com
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

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

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Benoit,

Thanks for the reporting!

@Team:

Same thing need to improve in Purchase order also, so please consider this issue for purchase also.

Thanks.

summary: - [trunk] [sale] : picking order date is not the same as the sale order
- date
+ [trunk] [sale/purchase] : picking order date is not the same as the sale
+ order date
summary: - [trunk] [sale/purchase] : picking order date is not the same as the sale
- order date
+ [trunk] [sale/purchase] : picking order date is not the same as the
+ sale/purchase order date
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello Benoit Guillot,

Thanks for reporting and also for giving the accurate solution. The solution for this bug is proposed in the branch with following Revision ID and Number.

Revision ID : <email address hidden>
Revision Number : 5490

Thanks and Regards,

Divyesh Makwana(MDI)

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Isn't this "fix released" ?
Lionel.

Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Merged into lp:openobject-addons at revision 5548

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.