[IMP] set name in xpath

bzr revid: th_dev2@openerp.co.in-20120718121817-le2288em9d23740w
This commit is contained in:
Kuldeep 2012-07-18 17:48:17 +05:30
parent 261ea531ca
commit 38b6a92f01
5 changed files with 15 additions and 15 deletions

View File

@ -77,7 +77,7 @@
<page string="History" position="before" version="7.0">
<page string="Accounting" col="4">
<group>
<group >
<group>
<field name="property_account_receivable" groups="account.group_account_invoice" />
<field name="property_account_position" widget="selection"/>
<field name="property_payment_term" widget="selection"/>

View File

@ -254,10 +254,10 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@string='History']" position="attributes">
<xpath expr="//page[@name='History']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
<xpath expr="//group[@string='Claim']" position="attributes">
<xpath expr="//group[@name='Claim']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
</field>
@ -270,7 +270,7 @@
<field name="priority">20</field>
<field name="arch" type="xml">
<data>
<xpath expr="//group[@string='Claim']" position="inside">
<xpath expr="//group[@name='Claim']" position="inside">
<field name="claims_ids" colspan="4" nolabel="1">
<tree string="Partners Claim" editable="bottom">
<field name="name"/>

View File

@ -13,13 +13,13 @@
<field name="supplier" position="after">
<field name="speaker"/>
</field>
<xpath expr="//page[@string='History']" position="attributes">
<xpath expr="//page[@name='History']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
<xpath expr="//group[@string='Event']" position="attributes">
<xpath expr="//group[@name='Event']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
<xpath expr="//group[@string='Registration']" position="attributes">
<xpath expr="//group[@name='Registration']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
</field>
@ -30,7 +30,7 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<group string="Event" position="inside">
<group name="Event" position="inside">
<field name="event_ids" colspan="4" nolabel="1">
<tree string="Events">
<field name="name" string="Event"/>
@ -38,7 +38,7 @@
</tree>
</field>
</group>
<group string="Registration" position="inside">
<group name="Registration" position="inside">
<field name="event_registration_ids" colspan="4" nolabel="1">
<tree string="Events Registration">
<field name="event_begin_date" string="Date"/>

View File

@ -9,10 +9,10 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@string='History']" position="attributes">
<xpath expr="//page[@name='History']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
<xpath expr="//group[@string='Campaign']" position="attributes">
<xpath expr="//group[@name='Campaign']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
</field>
@ -23,7 +23,7 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<group string="Campaign" position="inside">
<group name="Campaign" position="inside">
<field name="workitem_ids" colspan="4" nolabel="1"/>
</group>
</field>

View File

@ -9,10 +9,10 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@string='History']" position="attributes">
<xpath expr="//page[@name='History']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
<xpath expr="//group[@string='Tasks']" position="attributes">
<xpath expr="//group[@name='Tasks']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
</field>
@ -23,7 +23,7 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<group string="Tasks" position="inside">
<group name="Tasks" position="inside">
<field name="task_ids" colspan="4" nolabel="1">
<tree string="Tasks" editable="bottom">
<field name="name"/>