From: Antoine Huvelle Date: Mon, 1 Dec 2014 13:43:04 +0000 (+0100) Subject: [FIX] analytic_user_function: inherit conflict on account type X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=d7a47d0d1fb181183f3c5c72eb97a51d2a936c4b;p=odoo%2Fodoo.git [FIX] analytic_user_function: inherit conflict on account type The field account_id was inherited with position="replace" meaning we erased future changes made into hr_timesheet_sheet (41f2eba missed "type in []" and 65f31b9 missed use_timesheets). Replace by position="attributes" to only change what matters: the on_change. Fixes #3974 --- diff --git a/addons/analytic_user_function/analytic_user_function_view.xml b/addons/analytic_user_function/analytic_user_function_view.xml index 51e020b..051f15f 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -65,8 +65,8 @@ - - + + on_change_account_id(account_id, user_id, unit_amount)