summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2016-05-25 08:53:48 +0200
committerJoren Van Onder <jov@odoo.com>2016-05-25 09:57:37 +0200
commitbe48a1402cfcab733ce37910bc1b567b01f72747 (patch)
tree6f88b300561f15745424f2107629701d322eb4ed /addons/web/static/src/js/framework/session_instance.js
parent08416b2335f2657c0202d8879c2cf437b02b072f (diff)
[FIX] hr_payroll: avoid infinite recursion
The get_recursive_parent function seemingly depended on the ordering of the rule_categories recordset which happens to work fine in most cases because all data first defines the parent before defining the children rule categories. But if you happen to do it the other way around it won't work and it will infinitely call itself because: if rule_categories[0].parent_id: rule_categories = rule_categories[0].parent_id | rule_categories won't change the value of rule_categories[0]. opw-673222 (loosely related)
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions