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

[15.0] account_payment_partner: Add pre_init_hook to add computed columns #1046

Merged

Conversation

dannyadair
Copy link
Contributor

Add columns to avoid Memory error on an existing Odoo instance with lots of data.

The payment_mode_id fields are introduced by this module and computed only from each other or the also newly introduced supplier_payment_mode_id and customer_payment_mode_id on res.partner, so they can stay NULL, nothing to compute.

Add columns to avoid Memory error on an existing Odoo instance
with lots of data.

The payment_mode_id fields are introduced by this module and computed only
from each other or the also newly introduced supplier_payment_mode_id and
customer_payment_mode_id on res.partner, so they can stay NULL, nothing
to compute.
@dannyadair dannyadair changed the title [15.0] account_payment_partner Add pre_init_hook to add computed columns [15.0] account_payment_partner: Add pre_init_hook to add computed columns Feb 22, 2023
@pedrobaeza pedrobaeza added this to the 15.0 milestone Feb 23, 2023
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fast-tracking the fw-port:

/ocabot merge patch

Please move this one also to 16.0

OCA-git-bot added a commit that referenced this pull request Feb 23, 2023
Signed-off-by pedrobaeza
@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 15.0-ocabot-merge-pr-1046-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
Copy link
Contributor

It looks like something changed on 15.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 15.0-ocabot-merge-pr-1046-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Feb 23, 2023
Signed-off-by pedrobaeza
@OCA-git-bot
Copy link
Contributor

It looks like something changed on 15.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 15.0-ocabot-merge-pr-1046-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 487f58e into OCA:15.0 Feb 23, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 695d61b. Thanks a lot for contributing to OCA. ❤️

@dannyadair
Copy link
Contributor Author

Please move this one also to 16.0

Submitted #1048

pedrobaeza added a commit that referenced this pull request Sep 20, 2024
…tner-15.0-to-16.0-a1ef86

[16.0][FW] account_payment_partner: blacklist PR #1046 from 15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants