-
-
Notifications
You must be signed in to change notification settings - Fork 843
16.0[IMP] account_loan: Currency on loan not readonly + convert credit/debit for different currencies #2143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 16.0
Are you sure you want to change the base?
16.0[IMP] account_loan: Currency on loan not readonly + convert credit/debit for different currencies #2143
Conversation
|
Hi @etobella, |
db98d77 to
6b54ed3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically looks OK. Please use proper commit name and leave just one commit please. After that we can proceed with merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically looks OK. Please use proper commit name and leave just one commit please. After that we can proceed with merge.
93a3374 to
22c8c44
Compare
I changed the commit message, however, I let 2 commits because it's 2 different things : currency not readonly, then convert credit/debit for different currencies. |
|
The commit message must include the module name. |
4d557ad to
eebccb4
Compare
1. We allow to change the currency on the loan if the user needs it
2. If the currency on the loan (or on the journal) is different from the one on the company, we do the conversion for credit/debit + add amount in currency on the move line
eebccb4 to
611319a
Compare
Business case:
When we create move lines from a journal entry, if the journal is in EUR but the company in USD, the credit/debit is in USD and amount_currency is filled in EUR.
For the loans, we wanted the same behavior : when creating the move lines from the loan line, the credit/debit should be in the currency of the company while the amount_currency is filled with the value in the journal currency