Am Dienstag, 18. März 2014 18:19:51 UTC+1 schrieb Cédric Krier: > > On 18 Mar 09:53, mroc...@googlemail.com <javascript:> 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. > >
> if I understand correctly, I would then have 2 company views, even my new > view > and original view. > Manfred Rockel