On 04 Sep 22:51, Sergi Almacellas Abellana wrote: > > > On 4 de setembre de 2014 20:52:31 CEST, "M. Murray" <[email protected]> > wrote: > >I'm working on some customisations for a project based on Tryton. Lots > >of > >experimentation, okay docs, but I'm getting by. The one thing I haven't > > > >been able to figure out yet, and the reason for this message is, > > > >How do I override data provided by parent modules in their xml files. > > > >To be more specific, my module contains a model that inherits from a > >model > >in another module. That other module provides some default data in xml > >files and I would like to replace that data with data in an xml file in > >my > >module. Just like I can use the xpath element to replace fields and > >labels > >on forms, is there any way I can replace data specified by my parent > >module's xml file? > > Just create and xml file, and add a record with the following id: > > module_name.xml_id_you_want_to_override > > This will update the existing record with the field values you defined on you > xml file
Except if you are changin an already set value than it will just generate a warning because the system can not know which one is right. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpHlmDmdtbmU.pgp
Description: PGP signature
