Skip to content
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

[16.0][FIX] account_payment_return: Set is_exchange to False, we only need to initialize the key, its being calculated later in _compute_payments_widget_reconciled_info #1

Merged

Conversation

sergiobstoj
Copy link

@sergiobstoj sergiobstoj commented Nov 28, 2024

Related to PR 767

If we set "is_exchange": False, is not changing the goal of the original PR.

_compute_payments_widget_reconciled_info method in account_payment_return module makes a call to prepare_values_returned_widget and then goes to super().

In super(), _compute_payments_widget_reconciled_info core method is updating the value of is_exchange.

So the proposal review in original PR is Ok, as we avoid is_exchange calculation twice.

…to initialize the key, its being calculated later in _compute_payments_widget_reconciled_info
@sergiobstoj sergiobstoj self-assigned this Nov 28, 2024
@sergiobstoj sergiobstoj changed the title [FIX] account_payment_return: Set is_exchange to False, we only need to initialize the key, its being calculated later in _compute_payments_widget_reconciled_info [16.0][FIX] account_payment_return: Set is_exchange to False, we only need to initialize the key, its being calculated later in _compute_payments_widget_reconciled_info Nov 28, 2024
@ljsalvatierra-factorlibre ljsalvatierra-factorlibre marked this pull request as ready for review December 12, 2024 11:09
@sergiobstoj sergiobstoj merged commit 3fd5e6a into 16.0-fix-account_payment_return Dec 12, 2024
4 checks passed
@sergiobstoj sergiobstoj deleted the 16.0-fix-account_payment_return-2 branch December 12, 2024 11:44
sergiobstoj pushed a commit that referenced this pull request Jan 14, 2025
This is a minor fix in the manifest.py file of account_cash_invoice:

Change category from "Account" to "Accounting" in order to follow the categories set in Odoo 11
Change the website to the repository web https://github.com/OCA/account-payment
Remove the lines # -- coding: utf-8 --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants