Skip to content

[18.0][MIG] sell_only_by_packaging: Migration to 18.0#3475

Merged
OCA-git-bot merged 11 commits intoOCA:18.0from
trisdoan:18.0-mig-sell_only_by_packaging
Mar 23, 2025
Merged

[18.0][MIG] sell_only_by_packaging: Migration to 18.0#3475
OCA-git-bot merged 11 commits intoOCA:18.0from
trisdoan:18.0-mig-sell_only_by_packaging

Conversation

@trisdoan
Copy link
Copy Markdown
Contributor

Note

This changes

  • Took this occasion to remove redundant test setup, which already introduced in product_packaging_level_salable

@rousseldenis
Copy link
Copy Markdown
Contributor

/ocabot migration sell_only_by_packaging

@trisdoan trisdoan force-pushed the 18.0-mig-sell_only_by_packaging branch from 29d8355 to 4ad1a6e Compare December 31, 2024 03:13
Copy link
Copy Markdown
Contributor

@sebalix sebalix left a comment

Choose a reason for hiding this comment

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

LG, can you rebase your PR now that product_packaging_level_salable is merged? 🙏

duongtq and others added 11 commits March 12, 2025 08:46
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-16.0/sale-workflow-16.0-sell_only_by_packaging
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sell_only_by_packaging/
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sell_only_by_packaging
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sell_only_by_packaging/es/
This test was relying on the fact that it was being tested along with `sale_packaging_default`. But there's no direct dependency between these modules.

Besides, that assertion was never executed, so I removed it.

@moduon MT-3930
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sell_only_by_packaging
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sell_only_by_packaging/it/
@trisdoan trisdoan force-pushed the 18.0-mig-sell_only_by_packaging branch from 4ad1a6e to 91060c8 Compare March 12, 2025 01:46
@trisdoan
Copy link
Copy Markdown
Contributor Author

Hello @sebalix, I rebased thanks

@OCA-git-bot
Copy link
Copy Markdown
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). 🤖

@sebalix
Copy link
Copy Markdown
Contributor

sebalix commented Mar 23, 2025

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-3475-by-sebalix-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5f3e1df into OCA:18.0 Mar 23, 2025
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

@dreispt
Copy link
Copy Markdown
Member

dreispt commented Sep 26, 2025

Unless may have missed it, but I don't see an option to exceptionally sell fractions of a package.
I have a use case where this is allowed, and in that case an overcharge is applied to the customer.
I'm evaluating the use of Secondary Unit + Sale Exception for that.

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.