base_vat: fix the silly regression that broke check_vat_mx

bzr revid: p_christ@hol.gr-20110429083546-vm5t0t1g5bibs8vh
This commit is contained in:
P. Christeas
2011-04-29 11:35:46 +03:00
parent 3432fe6d65
commit 8d984744de
+1 -1
View File
@@ -1074,7 +1074,7 @@ class res_partner(osv.osv):
r"[ \-_]?" \
r"(?P<code>[A-Z0-9&ñÑ\xd1\xf1]{3})$")
def check_vat_mx(vat):
def check_vat_mx(self, vat):
''' Mexican VAT verification
Verificar RFC México