summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorGabriela Mogollon <gmogollon@vauxoo.com>2018-07-31 20:08:45 +0000
committerYannick Tivisse <yti@odoo.com>2018-08-10 11:09:15 +0200
commitebf29dfc2e76506e021042008fa7a8e061388658 (patch)
tree66087dee60a80f85e7c2ba40f3ef49640e70b038 /addons/web/static/src/js/views/basic/basic_controller.js
parent21064c7de8867c9217d274cb83ff589c8ebcac75 (diff)
[IMP] hr_payroll_account: Avoiding creating empty journal entries
Purpose ======= Steps to reproduce ------------------ Install hr_payroll_account Configure a salary rule Create a payslip and confirm Current behavior ---------------- A journal entry is created without items. Expected behavior ----------------- Create the journal entry with all items like it's created When the payslip is computed (compute sheet button) and validated. resolve https://github.com/odoo/odoo/issues/24796 Specification ============= Now the super of ```action_payslip_done``` is called before the creation of the journal entry. This means that the ```compute_sheet``` method is called too before the filling of the account move.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions