diff options
| author | Goffin Simon <sig@odoo.com> | 2020-05-27 06:29:34 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-05-27 11:58:54 +0000 |
| commit | bb4b07df3f617122022306d7aead2ed1e3c73419 (patch) | |
| tree | 94f338cfb80745f7765426fe1a003906c505ff3b /addons/web/static/tests/views/abstract_controller_tests.js | |
| parent | 4fc0f2c042d1dd97f212056ab2557d0e63e18ed5 (diff) | |
[FIX] account: Payment matching with cash basis
Steps to reproduce the bug:
- Let's consider the current company CY in €
- Let's consider a cash basis tax T of 20%
- Let's consider that 1€ = 2$
- Create a customer invoice I on journal J in € for customer C
- Create a line on J with 100€ and set T on it
- Post I
- Create a payment P of 240$ for C on bank journal in €
- Confirm P and click on payment matching
- Try to reconcile P with I
Bug:
A traceback was raised.
Fine tuning of https://github.com/odoo/odoo/commit/0497c311e790454deb9ded2ed4fb206f5fd929ef
opw:2256207
closes odoo/odoo#51952
X-original-commit: 633fc71c14e8258d2a6cb2b8ee4bcc6b41a1124f
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/web/static/tests/views/abstract_controller_tests.js')
0 files changed, 0 insertions, 0 deletions
