summaryrefslogtreecommitdiff
path: root/addons/timer/security/timer_security.xml
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-06-11 11:32:58 +0000
committerThibault Francois <tfr@openerp.com>2020-06-11 14:00:06 +0000
commitab48798229d4c756ab31fd0f1fa5518ef8e63037 (patch)
tree4b1bb3ad8c2c52733bda12511cfbf1980ac09ff0 /addons/timer/security/timer_security.xml
parenta8ed0c000d709a92d4c8e1598072619cc27f6241 (diff)
[FIX] timer, hr_timesheet: Fix _compute_display_timer_buttons
mixin method should not return in the middle of the loop Use the value updated on the record instead super() is called with self at every iteration which is not very efficient and can be wrong Solution call super for each specific record and only when needed write is not a good practice in compute method closes odoo/odoo#52858 X-original-commit: 7e19ed98d18305370b5c14edd3d310cfea5df714 Related: odoo/enterprise#11100 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/timer/security/timer_security.xml')
0 files changed, 0 insertions, 0 deletions