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:
9762c51
)
Fixed a bad identifier: 'inv' -> 'invoice'
author
Olivier Laurent
<olt@tinyerp.com>
Mon, 15 Dec 2008 09:16:30 +0000
(10:16 +0100)
committer
Olivier Laurent
<olt@tinyerp.com>
Mon, 15 Dec 2008 09:16:30 +0000
(10:16 +0100)
bzr revid: olt@tinyerp.com-
20081215091630
-ztcb3wxnpg9zz1xe
addons/account/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/invoice.py
b/addons/account/invoice.py
index
7307a2f
..
b995014
100644
(file)
--- a/
addons/account/invoice.py
+++ b/
addons/account/invoice.py
@@
-836,7
+836,7
@@
class account_invoice(osv.osv):
}
lines = [(0, 0, l1), (0, 0, l2)]
- move = {'ref': inv.number, 'line_id': lines, 'journal_id': pay_journal_id, 'period_id': period_id, 'date': date}
+ move = {'ref': invoice.number, 'line_id': lines, 'journal_id': pay_journal_id, 'period_id': period_id, 'date': date}
move_id = self.pool.get('account.move').create(cr, uid, move)
line_ids = []