[ADD] project_timesheet: Add the on_change on account_id
[odoo/odoo.git] / addons / project_timesheet / project_timesheet_view.xml
index 7d55ca4..f8c25f4 100644 (file)
@@ -61,7 +61,7 @@
             <field name="inherit_id" ref="account.view_account_analytic_line_form"/>
             <field name="arch" type="xml">
                 <field name="account_id"  position="replace">
-                    <field name="account_id" string="Project"/>
+                   <field name="account_id" string="Analytic account/project" on_change="on_change_account_id(account_id)"/>
                 </field>
             </field>
         </record>