On 18 Mar 18:19, Cédric Krier wrote:
> 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.

By the way, I created this issue[1] to allow to deactivat a view of
action window.

[1] https://bugs.tryton.org/issue3770

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

Attachment: pgpQXdFTaLnPk.pgp
Description: PGP signature

Reply via email to