summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorlul-odoo <lul@odoo.com>2018-11-21 08:59:06 +0100
committerYannick Tivisse <yti@odoo.com>2018-11-30 11:08:19 +0100
commit07bec7db879aee92316570770316857417636207 (patch)
tree5560c74fa3cc8638214e6f8114bd6f5156925a71 /addons/web/static/src/js/views/basic/basic_controller.js
parentba9b5ce12b617ca9fcc99533f613468a0987ac58 (diff)
[FIX] hr_payroll_account: Remove journal_id: False in context
If the wizard to generate payslip was launched without an ´active_id´ in the context. A ´journal_id´ entry was set to False in the context later leading to a crash at payslip creation. The crash happens because, at creation time, the journal_id of a ´hr.payslip´ is set to the journal_id in the context if its present. Since this context entry is False and the journal_id field is required, creation crashes.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions