[FIX] invoice on delivery including service + taxes crashes: "ProgrammingError: can't adapt"

patch from Raphaël Valyi

lp bug: https://launchpad.net/bugs/312673 fixed

bzr revid: christophe@cobalt-20081231105130-9zedy1uvcty0lb6w
This commit is contained in:
Christophe Simonis 2008-12-31 11:51:30 +01:00
parent 4d98bb97bc
commit c17b39b50c
1 changed files with 1 additions and 0 deletions

View File

@ -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)