Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Ho to insert TIN (VAT code) without Country Code?

a n
on 9/27/15, 10:18 AM 509 views


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):


return True


return False

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/27/15, 10:18 AM
Seen: 509 times
Last updated: 9/27/15, 10:58 AM