Skip to content

[18.0][MIG] sale_order_priority: Migration to 18.0#3786

Merged
OCA-git-bot merged 15 commits intoOCA:18.0from
apami0111:18.0-mig-sale_order_priority
Sep 15, 2025
Merged

[18.0][MIG] sale_order_priority: Migration to 18.0#3786
OCA-git-bot merged 15 commits intoOCA:18.0from
apami0111:18.0-mig-sale_order_priority

Conversation

@apami0111
Copy link
Copy Markdown
Contributor

  • Migrated from 17.0 to 18.0.
  • Updated xpath expression in the view to reflect Odoo 18.0 changes (//list instead of //tree).
  • Test class now uses Command.create to define order_line values, in line with Odoo 18.0 conventions.

SimoRubi and others added 14 commits July 1, 2025 16:27
* [ADD] sale_order_priority

* Code improvements

* [FIX] Better not to call write in inverse
Currently translated at 100.0% (8 of 8 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_priority
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_priority/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: sale-workflow-17.0/sale-workflow-17.0-sale_order_priority
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_priority/it/
@apami0111 apami0111 force-pushed the 18.0-mig-sale_order_priority branch 2 times, most recently from 917ce0f to 3234a99 Compare July 2, 2025 16:35
@rousseldenis
Copy link
Copy Markdown
Contributor

/ocabot migration sale_order_priority

@apami0111
Copy link
Copy Markdown
Contributor Author

apami0111 commented Jul 4, 2025 via email

@apami0111 apami0111 force-pushed the 18.0-mig-sale_order_priority branch from 3234a99 to 73e6517 Compare July 18, 2025 16:09
@apami0111
Copy link
Copy Markdown
Contributor Author

@rousseldenis Thanks for your feedback! I've addressed the issue with the multi-recordset by adjusting the logic accordingly. I’ve also reworked the way priority is transmitted, avoiding the use of context as suggested.

The following structural changes were made as well:

  • Renamed: sale_order_priority/models/{sale.py => sale_order.py}
  • Created: sale_order_priority/models/sale_order_line.py
  • Created: sale_order_priority/models/stock_move.py
  • Removed: sale_order_priority/models/stock_picking.py

Feel free to review the updated implementation. Let me know if anything else needs to be improved.

Copy link
Copy Markdown
Contributor

@celm1990 celm1990 left a comment

Choose a reason for hiding this comment

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

LGTM

@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). 🤖

Copy link
Copy Markdown
Member

@marcelsavegnago marcelsavegnago left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@BhaveshHeliconia BhaveshHeliconia left a comment

Choose a reason for hiding this comment

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

Functional review LGTM!

@rousseldenis
Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-3786-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit f4bef59 into OCA:18.0 Sep 15, 2025
4 of 5 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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