On 18 Mar 09:53, mrocke...@googlemail.com wrote:
> 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?

I'm glade it doesn't work because it is wrong and bad practice (not
suprise it works on OE). You can not change the value set by XML in an
other module, it generates conflicts.
You must create a *new* view.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpHEcF1ruCeW.pgp
Description: PGP signature

Reply via email to