Skip to content

[IMP] sale_line_refund_to_invoice_qty: Initialize value with sql default #1900

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

Merged

Conversation

rousseldenis
Copy link
Contributor

As Odoo initializes default values on records by an update on all existing ones, this can take a great amount of time. Instead, use sql default value at column creation.

@rousseldenis
Copy link
Contributor Author

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

LGTM

As Odoo initializes default values on records by an update on all existing ones,
this can take a great amount of time. Instead, use sql default value at column
creation.
@rousseldenis rousseldenis force-pushed the 16.0-imp-sale_line_refund_to_invoice_qty-dro branch from 2525a65 to 9b1c032 Compare February 4, 2025 16:46
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

LGTM

@AaronHForgeFlow
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-1900-by-AaronHForgeFlow-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit fb42946 into OCA:16.0 Feb 5, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

6 participants