跳至內容
選單
此問題已被標幟
5784 瀏覽次數

Hello,

I would insert the VAT code without the initial CC. I would do the same for Albania and EU countries.

Can you tell me what I need to edit in the file base_vat.py? 




Here is my Vat Validation function:

_ref_vat = {

'al': 'K12345678L' # Albania, contributed by Alban Ndoja

}



# VAT validation in Albania, contributed by # Alban Ndoja.

def check_vat_al(self, vat):

if re.match("[ABCDEFGHIJKLMNOPQRSTUVXYZ][\d]{8}[ABCDEFGHIJKLMNOPQRSTUVXYZ]", vat, flags=0):

return True

else:

return False



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 15
5168
2
5月 15
4199
0
3月 25
1419
0
1月 25
3495
0
8月 23
1092