From c17b39b50c6a1ebdf6fe28767ee450e308ef6350 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 31 Dec 2008 11:51:30 +0100 Subject: [PATCH] =?UTF-8?q?[FIX]=20invoice=20on=20delivery=20including=20s?= =?UTF-8?q?ervice=20+=20taxes=20crashes:=20"ProgrammingError:=20can't=20ad?= =?UTF-8?q?apt"=20patch=20from=20Rapha=C3=ABl=20Valyi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lp bug: https://launchpad.net/bugs/312673 fixed bzr revid: christophe@cobalt-20081231105130-9zedy1uvcty0lb6w --- addons/sale/stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale/stock.py b/addons/sale/stock.py index 0c6ec645150..9669366add3 100644 --- a/addons/sale/stock.py +++ b/addons/sale/stock.py @@ -158,6 +158,7 @@ class stock_picking(osv.osv): price_unit = sale_line.price_unit discount = sale_line.discount tax_ids = sale_line.tax_id + tax_ids = map(lambda x: x.id, tax_ids) account_analytic_id = self._get_account_analytic_invoice(cursor, user, picking, sale_line)