[IMP]set xpath correctly in account_journal_billing_rate

bzr revid: sgo@tinyerp.com-20120611045724-gqd8cmjkmb2qv1kq
This commit is contained in:
Sanjay Gohel (Open ERP)
2012-06-11 10:27:24 +05:30
parent 17df69b548
commit d59dc20208
@@ -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="/form/notebook/page[@string='Information']/group/group/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>
@@ -72,7 +72,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='journal_id']" position="replace">
<xpath expr="/form/notebook/page[@string='Information']/group/group/field[@name='journal_id']" position="replace">
<field name="journal_id" select="1" required="1" on_change="on_change_journal_id(journal_id, account_id)"/>
</xpath>
</field>