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:
469d2bd
)
Bugfix invoice from picking
author
pinky
<>
Tue, 13 Feb 2007 09:05:23 +0000
(09:05 +0000)
committer
pinky
<>
Tue, 13 Feb 2007 09:05:23 +0000
(09:05 +0000)
bzr revid: pinky-
79b797fb2f7076a9ab37156afc2d10c91a7076c5
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
32148e7
..
b325574
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-543,7
+543,7
@@
class stock_picking(osv.osv):
})
if line.sale_line_id:
self.pool.get('sale.order.line').write(cr, uid, [line.sale_line_id.id], {
- 'invoice_line_ids': [(6, 0, [iline_id])]
+ 'invoice_lines': [(6, 0, [iline_id])]
})
self.pool.get('stock.picking').write(cr, uid, [p.id], {'invoice_state': 'invoiced'})