[FIX] payment, hr_timesheet_sheet: remove old onchanges in views

Those are already handled by new API onchange methods. They have
probably been forgotten when migrating the module to new API.
This commit is contained in:
Thibault Delavallée
2016-11-03 13:24:01 +01:00
parent 9010ed0a35
commit 170a8611ff
2 changed files with 2 additions and 2 deletions
@@ -66,7 +66,7 @@
<sheet>
<div class="oe_title">
<label for="employee_id" class="oe_edit_only"/>
<h1><field name="employee_id" on_change="onchange_employee_id(employee_id)" class="oe_inline" placeholder="Employee's Name"/></h1>
<h1><field name="employee_id" class="oe_inline" placeholder="Employee's Name"/></h1>
<field name="user_id" invisible="1"/>
</div>
<group>
+1 -1
View File
@@ -224,7 +224,7 @@
<field name="currency_id" options="{'no_open': True, 'no_create': True}" class="oe_inline" />
</div>
<field name="fees"/>
<field name="partner_id" on_change="on_change_partner_id(partner_id)"/>
<field name="partner_id"/>
<label for="partner_details" string="Customer Details"/>
<div name="partner_details">
<field name="partner_name" placeholder="Name" attrs="{'readonly': [('partner_id', '!=', False)]}"/>