Amit Parik (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1062119-amp into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1062119 in OpenERP Addons: "Advance invoice generates 
account.invoice.line with origin set to NULL"
  https://bugs.launchpad.net/openobject-addons/+bug/1062119

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062119-amp/+merge/128211

'Origin' are not set on invoice line when create invoice from sale order.

Thank you!
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062119-amp/+merge/128211
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1062119-amp.
=== modified file 'sale/wizard/sale_make_invoice_advance.py'
--- sale/wizard/sale_make_invoice_advance.py	2012-09-21 08:59:08 +0000
+++ sale/wizard/sale_make_invoice_advance.py	2012-10-05 10:24:22 +0000
@@ -123,6 +123,7 @@
             # create the invoice
             inv_line_values = {
                 'name': res.get('name'),
+                'origin': sale.name,
                 'account_id': res['account_id'],
                 'price_unit': inv_amount,
                 'quantity': wizard.qtty or 1.0,

_______________________________________________
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

Reply via email to