diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-08-20 13:21:56 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-08-20 13:25:08 +0000 |
| commit | bdf1817d0340c9ef8f2bdb0f95309c61c00b2208 (patch) | |
| tree | ea9293d13b78ccaccf3c7567e16fb391423d8141 /doc/reference/javascript_reference.rst | |
| parent | 900d89c997f99947389225e109b02252d5401af9 (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 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
