Skip to content

Conversation

@Tisho99
Copy link
Contributor

@Tisho99 Tisho99 commented May 15, 2025

This PR refactors the _get_commission_items() function to be able to inherit it from other modules. The new structure is inspired in Odoo report models sql queries.

T-8297

@OCA-git-bot
Copy link
Contributor

Hi @ilyasProgrammer,
some modules you are maintaining are being modified, check this out!

@Tisho99 Tisho99 marked this pull request as draft May 15, 2025 17:03
@Tisho99 Tisho99 force-pushed the 16.0-ref-sale_commission_product_criteria branch from d3dc117 to 73b10dd Compare May 16, 2025 15:10
@Tisho99
Copy link
Contributor Author

Tisho99 commented May 19, 2025

@manuelregidor Can you review?

@Tisho99 Tisho99 marked this pull request as ready for review May 20, 2025 07:56
@Tisho99
Copy link
Contributor Author

Tisho99 commented May 20, 2025

Hi @ilyasProgrammer

This PR is a small refactor of this module to make it more inheritable.

Could you have a look and give your opinion please?

Thank you

@Tisho99 Tisho99 force-pushed the 16.0-ref-sale_commission_product_criteria branch from 73b10dd to fbf08c8 Compare May 22, 2025 08:06
@Tisho99 Tisho99 changed the title [16.0] [REF] sale_commission_product_criteria: refactor sql query to be inheritable, and model's directory names [16.0] [REF] sale_commission_product_criteria: refactor sql query to be inheritable May 22, 2025
@Tisho99
Copy link
Contributor Author

Tisho99 commented May 22, 2025

Copy link

@ValentinVinagre ValentinVinagre left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻 . Please carry over the change when it is approved to higher versions.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@Tisho99
Copy link
Contributor Author

Tisho99 commented May 22, 2025

@ValentinVinagre There are no higher versions

Copy link

@HaraldPanten HaraldPanten left a comment

Choose a reason for hiding this comment

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

/ocabot merge major

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-615-by-HaraldPanten-bump-major, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 59de785 into OCA:16.0 May 22, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at bf3cf14. 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.

5 participants