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

Open
wants to merge 10 commits into
base: 16.0
Choose a base branch
from

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 <bodedra@opensourceintegrators.com>

Update tag string

Co-authored-by: Bhavesh Odedra <bodedra@opensourceintegrators.com>

[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
98 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
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
@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?

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