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:
2e0e73b
)
[FIX] base_vat: TypeError: _construct_constraint_msg() got an unexpected keyword...
author
Mustufa Rangwala
<mra@mra-laptop>
Tue, 7 Dec 2010 07:18:00 +0000
(12:48 +0530)
committer
Mustufa Rangwala
<mra@mra-laptop>
Tue, 7 Dec 2010 07:18:00 +0000
(12:48 +0530)
bzr revid: mra@mra-laptop-
20101207071800
-130g8mx7m3wz43mf
addons/base_vat/base_vat.py
patch
|
blob
|
history
diff --git
a/addons/base_vat/base_vat.py
b/addons/base_vat/base_vat.py
index
a6b396f
..
3923b28
100644
(file)
--- a/
addons/base_vat/base_vat.py
+++ b/
addons/base_vat/base_vat.py
@@
-75,7
+75,7
@@
class res_partner(osv.osv):
'vat_subjected': fields.boolean('VAT Legal Statement', help="Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.")
}
- def _construct_constraint_msg(self, cr, uid, ids):
+ def _construct_constraint_msg(self, cr, uid, ids, context=None):
def default_vat_check(cn, vn):
# by default, a VAT number is valid if:
# it starts with 2 letters