summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-08-20 13:21:56 +0000
committerNicolas Martinelli <nim@odoo.com>2019-08-20 13:25:08 +0000
commitbdf1817d0340c9ef8f2bdb0f95309c61c00b2208 (patch)
treeea9293d13b78ccaccf3c7567e16fb391423d8141 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent900d89c997f99947389225e109b02252d5401af9 (diff)
[FIX] hr_payroll_account: no company on payroll
When no company is set on the payslip, journal entries of zero are generated. This is because `currency` is empty, therefore `currency.round()` rounds all amounts to zero. We fall back on the company of the journal, since the latter is mandatory. opw-2054781 closes odoo/odoo#35859 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions