Module
account_loan from version 17.0
Describe the bug
unable to post leasing with residual amount
To Reproduce
Affected versions: 17.0+
Steps to reproduce the behavior:
- create a leasing (
account.loan with is_leasing = True) fill leasing data as usual
- add residual amount on leasing tab
- generate lines
- click post to open the wizard to choose the journal and click run
currently I got the message
The total principal amount does not match the loan amount.
Expected behavior
We shouldn't be lock at this stage
Additional context
First investigation I guess this control should be aware of the residual amount https://github.com/OCA/account-financial-tools/blob/17.0/account_loan/wizards/account_loan_post.py#L92-L101
Module
account_loanfrom version 17.0Describe the bug
unable to post leasing with residual amount
To Reproduce
Affected versions: 17.0+
Steps to reproduce the behavior:
account.loanwith is_leasing = True) fill leasing data as usualcurrently I got the message
Expected behavior
We shouldn't be lock at this stage
Additional context
First investigation I guess this control should be aware of the residual amount https://github.com/OCA/account-financial-tools/blob/17.0/account_loan/wizards/account_loan_post.py#L92-L101