openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17536
[Bug 1062119] Re: Advance invoice generates account.invoice.line with origin set to NULL
Sorry Arnaud, was fix on 6.0 LTS ?
--
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/1062119
Title:
Advance invoice generates account.invoice.line with origin set to NULL
Status in OpenERP Addons (modules):
Fix Released
Bug description:
For some reason function create_invoices() in class
sale_advance_payment_inv (module sale) don't write origin in
account.invoice.line. This problem can be corrected this way:
--- sale/wizard/sale_make_invoice_advance.py 2011-01-14 00:11:01 +0000
+++ sale/wizard/sale_make_invoice_advance.py 2012-10-05 08:37:52 +0000
@@ -67,6 +67,7 @@
uom = False, partner_id = sale.partner_id.id, fposition_id = sale.fiscal_position.id)
line_id = obj_lines.create(cr, uid, {
'name': val['value']['name'],
+ 'origin': sale.name,
'account_id': val['value']['account_id'],
'price_unit': sale_adv_obj.amount,
'quantity': sale_adv_obj.qtty,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1062119/+subscriptions
References