Skip to content

[17.0][FIX] sale_procurement_group_by_line: update to odoo#3900

Merged
OCA-git-bot merged 1 commit intoOCA:17.0from
astirpe:17_fix_sale_procurement_group_by_line
Sep 16, 2025
Merged

[17.0][FIX] sale_procurement_group_by_line: update to odoo#3900
OCA-git-bot merged 1 commit intoOCA:17.0from
astirpe:17_fix_sale_procurement_group_by_line

Conversation

@astirpe
Copy link
Copy Markdown
Member

@astirpe astirpe commented Sep 16, 2025

Adapt to:

Explanation:

See this recent change in Odoo:
https://github.com/odoo/odoo/blob/17.0/addons/sale_mrp/models/sale_order_line.py#L141

The _get_qty_procurement method can return None, which would cause a TypeError in float_compare and doesn't allow any future supers to work.

@gurneyalex
Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-3900-by-gurneyalex-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5237340 into OCA:17.0 Sep 16, 2025
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

4 participants