I've made it work by creating a 'product.py', 'product.xml' and import it
from '__init__.py'. Also add the new xml to '__tryton__.py'. The
'product.py' file has a Template class where the variable is checked.

It's not functional, but it's a start. :)

Thanks.

On Tue, Apr 24, 2012 at 2:44 AM, Jean Cavallo <[email protected]>wrote:

> Did you try creating a class inheriting from Template which _name would be
> "product.template" ?
>
> I think it should make your model replace the default one.
>

-- 
Dr. Rafael Sepúlveda <[email protected]>
http://www.drs.com.mx/

-- 
[email protected] mailing list

Reply via email to