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

[17.0][MIG] partner_employee_quantity: Migration to 17.0 #1950

Conversation

juancarlosonate-tecnativa
Copy link

@juancarlosonate-tecnativa juancarlosonate-tecnativa commented Jan 7, 2025

Migration to 17.0

TT52340

@Tecnativa @chienandalu @carlos-lopez-tecnativa Could you please review this migration and let me know if everything looks correct? Thx!

Copy link

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

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

LGTM just a minor change

Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

Try to squash these kind of commits if the author/contributor is the same

image

@@ -10,7 +10,7 @@
<group
name="employee_quantity"
string="Employee quantity"
attrs="{'invisible': [('is_company', '=', False)]}"
invisible="is_company == False"
Copy link
Member

Choose a reason for hiding this comment

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

Better use truthy / falsey coercion. If by any chance is_company is None this won't be true, so better be safe to avoid bugs that later ar really hard to find out 😉

Suggested change
invisible="is_company == False"
invisible="not is_company"

Choose a reason for hiding this comment

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

When you have a moment, could you check if I did it correctly? Thanks again!

@juancarlosonate-tecnativa juancarlosonate-tecnativa force-pushed the 17.0-mig-partner_employee_quantity branch from 28eed5e to 68a48b7 Compare January 7, 2025 17:31
oca-transbot and others added 23 commits January 8, 2025 08:20
Currently translated at 100.0% (16 of 16 strings)

Translation: partner-contact-8.0/partner-contact-8.0-partner_employee_quantity
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-8-0/partner-contact-8-0-partner_employee_quantity/es/
Currently translated at 43.7% (7 of 16 strings)

Translation: partner-contact-8.0/partner-contact-8.0-partner_employee_quantity
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-8-0/partner-contact-8-0-partner_employee_quantity/it/
* Standard procedure
* Adapt dependencies
* Adapt menu
* Improve view layout
* README by fragments
* Rise to mature status with maintainer myself
Currently translated at 53.3% (8 of 15 strings)

Translation: partner-contact-15.0/partner-contact-15.0-partner_employee_quantity
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-partner_employee_quantity/it/
Currently translated at 93.3% (14 of 15 strings)

Translation: partner-contact-15.0/partner-contact-15.0-partner_employee_quantity
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-partner_employee_quantity/sl/
Currently translated at 100.0% (15 of 15 strings)

Translation: partner-contact-16.0/partner-contact-16.0-partner_employee_quantity
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_employee_quantity/it/
@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). 🤖

@pedrobaeza
Copy link
Member

/ocabot migration partner_employee_quantity
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Mar 6, 2025
@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-1950-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a1a5b8a into OCA:17.0 Mar 6, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

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