Skip to content
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

[16.0][MIG] sale_order_tag #2364

Merged
merged 10 commits into from
Dec 6, 2024
Merged

Conversation

Kev-Roche
Copy link
Contributor

Migration of sale_order_tag from 14.0
Change menu name "Tags" into "Sale Order Tags" to avoid duplicate name with "Tags" from crm

patrickrwilson and others added 8 commits February 7, 2023 13:05
This module adds tags to sales order. The tags are for independant to sales orders and not related to the opportunities like the other tag field that exists.

[IMP] domain fix and better readme description

Update __manifest__.py

Co-authored-by: Bhavesh Odedra <[email protected]>

Update tag string

Co-authored-by: Bhavesh Odedra <[email protected]>

[FIX] Readme LINT

[FIX] Reviewer suggestions

- Removed plural on  saleordertag class
- Moved menu item to proper xml
- Added company_id field to tags with rule
- Moved sequence to data
- Additional code cleanup

[FIX] Typo
Currently translated at 100.0% (20 of 20 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_tag
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_tag/it/
@Kev-Roche Kev-Roche mentioned this pull request Feb 7, 2023
100 tasks
@rousseldenis
Copy link
Contributor

/ocabot migration sale_order_tag

@rousseldenis
Copy link
Contributor

@Kev-Roche Thanks for this. Could you follow migration guide especially the full process part ?

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0

In fact, the setup/pre-commit stuff should go in a separate commit

@rousseldenis
Copy link
Contributor

@Kev-Roche

@Kev-Roche Kev-Roche force-pushed the 16.0-mig-sale_order_tag branch from 7ad285a to ab563cb Compare April 26, 2023 07:42
@Kev-Roche
Copy link
Contributor Author

@rousseldenis done, sorry for the delay.

Copy link
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

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

@Kev-Roche Could you rearrange your changes in commits ?

In pre-commit should go ... pre-commit stuffs and in migration one, guess 😃

Thanks

@@ -7,7 +7,7 @@
"author": "Patrick Wilson, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sale",
"version": "14.0.1.0.1",
"version": "16.0.0.0.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be 16.0.1.0.0

required=True,
)

_sql_constraints = [("name_uniq", "unique (name)", "Tag name already exists!")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it could be interesting to make tag names unique per company

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, I added it, thank you.

@Kev-Roche Kev-Roche force-pushed the 16.0-mig-sale_order_tag branch 2 times, most recently from 374077b to 5141eb2 Compare June 14, 2023 13:20
@Kev-Roche Kev-Roche force-pushed the 16.0-mig-sale_order_tag branch from 5141eb2 to 0777a45 Compare June 14, 2023 13:22
@hildickethan
Copy link
Member

pretty much everything in the pre-commit commit except the setup folder should be in the migration commit instead, with that I think we can merge

@ChrisOForgeFlow
Copy link
Contributor

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Sorry @ChrisOForgeFlow you are not allowed to rebase.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@ChrisOForgeFlow
Copy link
Contributor

@Kev-Roche can you rebase PR please?

@rousseldenis
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-2364-by-rousseldenis-bump-nobump, awaiting test results.

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

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 3407fdc into OCA:16.0 Dec 6, 2024
2 checks passed
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.

10 participants