-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
[WIP][16.0][IMP] account_reconcile_oca: Create exchange diff move when concile c… #631
Conversation
…urrencies don't match
Hi @etobella, |
def create(self, vals_list): | ||
if self.env.context.get("no_foreign_currency", False): | ||
for vals in vals_list: | ||
vals["debit_amount_currency"] = 0 |
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.
Why not credit? It seems something weird to do it with this context. I would recommend to give some more context to your issue, how it was raised and so on...
After reviewing Odoo Code for reconcile I do not agree in this approach. this fields are computed automatically on reconcile function.... Can you explain the reason of this PR? |
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.
But removing the logic of foreign currency should not be an option.
There is probably a bug in the code, but applying this patch is not the solution
…epending on acount type
Closing PR after checking the bug is coming indeed from Core Odoo 16. We are trying to get a solution but applied to core directly. |
Thanks @aritzolea for checking |
…urrencies don't match