Amit Dodiya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-579903-ado into
lp:openobject-addons/6.0.
Requested reviews:
Xavier ALT (OpenERP) (xal-openerp)
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-579903-ado/+merge/128858
Hello,
[FIX]: text of description field not passing to invoice from delivery order /
incoming shipment
Steps:
1). Add sale description in any product
2). Create new delivery order and add the above product in delivery order and
set Invoice control=To be invoiced
3). Now process the delivery order and create invoice from it
You will see the sale description of selected product is not in invoice line.
Regards,
Amit Dodiya
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-579903-ado/+merge/128858
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-579903-ado.
=== modified file 'stock/stock.py'
--- stock/stock.py 2012-08-17 07:46:56 +0000
+++ stock/stock.py 2012-10-10 05:16:21 +0000
@@ -1185,6 +1185,12 @@
prodlot_ids = {}
product_avail = {}
for move in pick.move_lines:
+ if pick.type == 'in':
+ move_note = move.product_id.description_purchase
+ else:
+ move_note = move.product_id.description_sale
+ if not move.note:
+ move_obj.write(cr, uid, move.id, {'note': move_note}, context)
if move.state in ('done', 'cancel'):
continue
partial_data = partial_datas.get('move%s'%(move.id), {})
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp