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:
011b05b
)
[REF]
author
Mustufa Rangwala
<mra@mra-laptop>
Fri, 22 Oct 2010 05:45:16 +0000
(11:15 +0530)
committer
Mustufa Rangwala
<mra@mra-laptop>
Fri, 22 Oct 2010 05:45:16 +0000
(11:15 +0530)
bzr revid: mra@mra-laptop-
20101022054516
-klol5g49os9ilazc
addons/account_voucher/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account_voucher/invoice.py
b/addons/account_voucher/invoice.py
index
5560f57
..
0230cac
100644
(file)
--- a/
addons/account_voucher/invoice.py
+++ b/
addons/account_voucher/invoice.py
@@
-24,8
+24,8
@@
from tools.translate import _
class invoice(osv.osv):
_inherit = 'account.invoice'
-
- def invoice_pay_customer(self, cr, uid, ids, context={}):
+
+ def invoice_pay_customer(self, cr, uid, ids, context=None):
if not ids: return []
inv = self.browse(cr, uid, ids[0], context=context)
return {
@@
-46,7
+46,7
@@
class invoice(osv.osv):
'invoice_type':inv.type,
'invoice_id':inv.id,
'default_type': inv.type in ('out_invoice','out_refund') and 'receipt' or 'payment'
- }
+ }
}
invoice()