[FIX] account_analytic_anlysis: fixed view inheritancies

bzr revid: qdp-launchpad@openerp.com-20120615085706-eshlyfxh3wbotq6t
This commit is contained in:
Quentin (OpenERP) 2012-06-15 10:57:06 +02:00
parent 522f48a3ee
commit 24bef78597
2 changed files with 6 additions and 8 deletions

View File

@ -90,10 +90,6 @@
</td>
</tr>
</table>
<group col="4" attrs="{'invisible': [('invoice_on_timesheets','=',False)]}">
<field name="pricelist_id"/>
<field name="to_invoice"/>
</group>
</xpath>
</field>
</record>

View File

@ -8,12 +8,14 @@
<field name="priority">30</field>
<field name="inherit_id" ref="analytic.view_account_analytic_account_form"/>
<field name="arch" type="xml">
<xpath expr='//group[@name="toinvoice"]' position='inside'>
<field name="pricelist_id" />
<field name="to_invoice" widget="selection"/>
<xpath expr='//separator[@name="description"]' position='before'>
<group col="4">
<field name="pricelist_id" />
<field name="to_invoice" widget="selection"/>
</group>
</xpath>
<xpath expr="//field[@name='use_timesheets']" position="replace">
<field name="use_timesheets" on_change="on_change_use_timesheets(use_timesheets, context)" string="USE TIMESHEETS blablabla"/>
<field name="use_timesheets" on_change="on_change_use_timesheets(use_timesheets, context)"/>
</xpath>
<xpath expr="/form/sheet" position='before'>
<header>