xml - How to deal with the symbol & in labels or strings in OpenERP? -
xml - How to deal with the symbol & in labels or strings in OpenERP? -
i trying remove tab standard form of partners. tab want remove sales & purchases
. removed each 1 of siblings without problem, cannot same one. , because symbol &. error of xml invalid architecture
.
i tried these 2 lines:
<xpath expr="/form//notebook//page[@string='sales & purchases']" position="replace"/>
and:
<xpath expr="/form//notebook//page[@string='sales & purchases']" position="replace"/>
always same error. knows how this?
try this, work
generally, can utilize this,
<page string="string name" position="replace"> <!-- here can define replace page --> </page>
for sales & purchases,
per knowledge, should not replace sales & purchases tab because in tab, many field configurable. go replace problems occurs like:
as per advice, please don't replace tab.
if still want follow step.
hide sales & purchase tab
<page string="sales & purchases" position="attributes"> <attribute name="invisible">1</attribute> </page>
show new page.
<page string="internal notes" position="after"> <page string="page name"> <!-- set field --> </page> <page>
hope help you.
xml forms openerp openerp-7
Comments
Post a Comment