diff options
| author | Achraf (abz) <abz@odoo.com> | 2020-10-29 09:09:07 +0000 |
|---|---|---|
| committer | Achraf (abz) <abz@odoo.com> | 2020-10-29 16:09:50 +0000 |
| commit | 161a6c494a412097468fca214817c42f022d29e2 (patch) | |
| tree | 3401d9a8005cf6a67a22e96396b11df24c95824a /odoo/tools/float_utils.py | |
| parent | 354c9c36dde54d0d262f896148a4e98bb06b4f0a (diff) | |
[FIX] account: Reconcile payment from the manual reconciliation
Issue
- Install "Accounting"
- Go to "Configuration/Reconciliation Models"
- Create new reconciliation model "Test" with "620000 Bank Fees" account
- Go to "Customers/Payments" and try to reconcile a payment via "Manual Operations"
by clicking on "Test" button
Cause
This instruction "st_line.company_currency_id.is_zero(residual_balance)"
needs at least one element in st_line
Solution
Skip this instruction if "st_line" is empty
opw-2370034
closes odoo/odoo#60945
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'odoo/tools/float_utils.py')
0 files changed, 0 insertions, 0 deletions
