bzr revid: fp@tinyerp.com-20120610141253-9j6fjjiv5uxjves7
This commit is contained in:
Fabien Pinckaers
2012-06-10 16:12:53 +02:00
parent 60c5fc484b
commit f29497feca
@@ -60,7 +60,7 @@
<field name="type">form</field>
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/>
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='Information']/group/field[@name='account_id']" position="replace">
<xpath expr="//page[@string='Information']//field[@name='account_id']" position="replace">
<field name="account_id" domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount, journal_id)" select="1"/>
</xpath>
</field>