Am Freitag, 14. März 2014 13:05:02 UTC+1 schrieb Cédric Krier:
>
> On 14 Mar 04:33, mroc...@googlemail.com <javascript:> wrote: 
> > Hi cedric, 
> > 
> > is there somewhere an example ? 
>
> Any view definition. 
>
>
> PS: Please don't top-post on this mailing list, see 
> http://groups.tryton.org/netiquette 
>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

Hi Cédric,

i created a new modul rockel_company for test.
The following script should override the company form.

        <record model="ir.ui.view" id="company.company_view_form">
            <field name="model">company.company</field>
            <field name="type">form</field>
            <field name="name">company_form</field>
        </record>

For a complete FormView override the name of the module
must be changed in ir_ui_view to link to the new form view in modul 
rockel_company.
All other fields such as model, priority, etc. are ok.

If I change the module name manually it works
In OpenERP it works.

What did I miss?

Thanks in advance!

Manfred Rockel

Reply via email to