On 2016-07-11 07:20, ferre...@gmail.com wrote:
> Hello, I updated party.py from the party module to include the Mexican's 
> tax number RFC (VAT code equivalent). It requires python-stdnum v1.3.

Instead of changing the code of the standard module, it is better to
create a new module that extend the party module to add the MX
validation. Normally, the design of the Identifier object is done such
customization should be easy.

You can take a look at [1] to learn how to create new module

[1] http://downloads.tryton.org/TUL2014/crash-course.pdf

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-contrib" group.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tryton-contrib/20160714023325.GG4173%40tetsuo.

Reply via email to