diff --git a/stock_invoice_service_from_delivery/__openerp__.py b/stock_invoice_service_from_delivery/__openerp__.py index 3b1a08e..f084447 100644 --- a/stock_invoice_service_from_delivery/__openerp__.py +++ b/stock_invoice_service_from_delivery/__openerp__.py @@ -33,7 +33,7 @@ Stock Invoice Service from Delivery In OpenERP 6.1, when invoicing from the delivery order, OpenERP would get the service lines of the sale order and add them on the invoice. This feature has been dropped in OpenERP 7.0 and some users are missing this issue, which lead to the following bug : https://bugs.launchpad.net/openobject-addons/+bug/1167330 -This module restores this feature. +This module restores this feature. At the end of December 2013, this bug was fixed by OpenERP SA in the 7.0 branch. But, after this fix, a bug remained: https://github.com/odoo/odoo/issues/4201 I solved the remaining bug here: https://github.com/odoo/odoo/pull/4204 So you should just get this patch with up-to-date stable 7.0 branch and not use this module. Please contact Alexis de Lattre from Akretion for any help or question about this module. """, diff --git a/stock_invoice_service_from_delivery/stock.py b/stock_invoice_service_from_delivery/stock.py index 40310c2..7c86c3e 100644 --- a/stock_invoice_service_from_delivery/stock.py +++ b/stock_invoice_service_from_delivery/stock.py @@ -58,7 +58,7 @@ class stock_picking(orm.Model): for sale_line in picking.sale_id.order_line: sale_line_invoiced = order_line_obj.read(cr, uid, sale_line.id, ['invoiced'], context=context)['invoiced'] # If I use a browse to get the 'invoiced' field of the sale order - # line, then, if I het the following bug : + # line, then, if I get the following bug : # If I select 2 pickings linked to the same sale order, # and I create an invoice with "group by partner = True", # then the service line will be generated twice, because