There are examples in the standard set of modules where models have been extended. Company extending Party is a good example.
hth On 25/04/2012, Dr. Rafael SepĂșlveda <[email protected]> wrote: > 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 > -- Craig 'The first time any man's freedom is trodden on - we are all damaged.' Jean Luc Pucard () ascii ribbon campaign - against html mail /\ -- [email protected] mailing list
