projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d98bb9
)
[FIX] invoice on delivery including service + taxes crashes: "ProgrammingError: can...
author
Christophe Simonis
<christophe@cobalt>
Wed, 31 Dec 2008 10:51:30 +0000
(11:51 +0100)
committer
Christophe Simonis
<christophe@cobalt>
Wed, 31 Dec 2008 10:51:30 +0000
(11:51 +0100)
patch from Raphaƫl Valyi
lp bug: https://launchpad.net/bugs/312673 fixed
bzr revid: christophe@cobalt-
20081231105130
-9zedy1uvcty0lb6w
addons/sale/stock.py
patch
|
blob
|
history
diff --git
a/addons/sale/stock.py
b/addons/sale/stock.py
index
0c6ec64
..
9669366
100644
(file)
--- 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)