X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=addons%2Fbase_vat%2Fbase_vat.py;h=3923b287e0648b38d1a73a8e56bb4ba32c8845c4;hb=3f84e8778c4189c1b352a6443e447b12e9bf2fbb;hp=a6b396fd5062b405d11a053630f1f83e61093895;hpb=2e0e73b77cc34b50e62838e8520cddcaf1892628;p=odoo%2Fodoo.git diff --git a/addons/base_vat/base_vat.py b/addons/base_vat/base_vat.py index a6b396f..3923b28 100644 --- 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