[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:
@@ -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>
|
||||
|
||||
@@ -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)]}"/>
|
||||
|
||||
Reference in New Issue
Block a user