c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04561
[Bug 675991] Re: commented XML code crashes inherited views
You cannont embeded < > inside your XML comment
** Changed in: openobject-addons
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/openobject-addons/+question/134268
--
commented XML code crashes inherited views
https://bugs.launchpad.net/bugs/675991
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Invalid
Bug description:
In my inherited view in my new module I have:
<record id="page_orded_sale" model="ir.ui.view">
<field name="name">page_orded_sale</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="type">form</field>
<field name="arch" type="xml">
<data>
<!-- <xpath expr="//page[@string='Sale Order & Purchases']/page[@string='notes']" position="replace"/> -->
<xpath expr="//page[@string='Notes']" position="replace"/>
</data>
</field>
</record>
And the error I get is:
Couldn't find tag '<<built-in function Comment>>' in parent view
After deleting commented code "<xpath expr="//page[@string='Sale Order & Purchases']/page[@string='notes']" position="replace"/" the error dissapears. Why?
References