[FIX] base_vat: slovakia vat number check problem

lp bug: https://launchpad.net/bugs/610855 fixed

bzr revid: mra@mra-laptop-20101209080042-890zkauhikdorzxy
This commit is contained in:
PSI(OpenERP) 2010-12-09 13:30:42 +05:30 committed by Mustufa Rangwala
parent 10adc172f3
commit 154eea6443
1 changed files with 1 additions and 1 deletions

View File

@ -1028,7 +1028,7 @@ class res_partner(osv.osv):
if len(vat) not in(9, 10):
return False
if int(vat[0:2]) == 0 and len(vat) == 10:
if int(vat[0:2]) in (0, 10, 20) and len(vat) == 10:
return True
if len(vat) == 10: