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
>
>Thanks.
>
>Marc

-- 
Enviado desde mi teléfono Android con K-9 Mail. Disculpa mi brevedad

Reply via email to