c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04601
[Bug 676274] [NEW] commented XML code crashes inherited views
Public bug reported:
My code is (headers ommited)
<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 it gives error: Couldn't find tag '<<built-in function Comment>>' in
parent view
When I delete commented code, everything works OK.
Why commented code makes any difference?
** Affects: openobject-server
Importance: Undecided
Status: New
--
commented XML code crashes inherited views
https://bugs.launchpad.net/bugs/676274
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: New
Bug description:
My code is (headers ommited)
<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 it gives error: Couldn't find tag '<<built-in function Comment>>' in parent view
When I delete commented code, everything works OK.
Why commented code makes any difference?
Follow ups
References