-
-
Notifications
You must be signed in to change notification settings - Fork 857
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_industry_secondary #1679
[17.0] [MIG] partner_industry_secondary #1679
Conversation
Currently translated at 83.3% (15 of 18 strings) Translation: partner-contact-12.0/partner-contact-12.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_industry_secondary/hr/
Currently translated at 88.9% (16 of 18 strings) Translation: partner-contact-12.0/partner-contact-12.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_industry_secondary/es/
…when create a company with 2 contacts
Currently translated at 100.0% (17 of 17 strings) Translation: partner-contact-15.0/partner-contact-15.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-partner_industry_secondary/ca/
Currently translated at 100.0% (17 of 17 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_industry_secondary/fr/
Currently translated at 100.0% (17 of 17 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_industry_secondary/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: partner-contact-16.0/partner-contact-16.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_industry_secondary/
Currently translated at 100.0% (17 of 17 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_industry_secondary/es/
Currently translated at 100.0% (17 of 17 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_industry_secondary Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_industry_secondary/it/
…ield As asked by Odoo in a warning in _check_parent_path method https://github.com/odoo/odoo/blob/16.0/odoo/models.py#L2615
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! All gud!
@mmrondon You have too many commits for this migration. Don't you? Could you clean the commits and leave only what we need for the migration? THX. |
[IMP] Fix pre-commit and unit tests [IMP] partner_industry_secondary: black, isort, prettier [IMP] partner_industry_secondary: Update unit tests [IMP] partner_industry_secondary: black, isort, prettier
0a85af5
to
39a6423
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mmrondon
I have made a functional and code review and this migration looks good.
However, i found that you haven't applied some steps of the migration guide
Can you review and apply my suggestions in your last commit?
Then this will be ready for merge
Thank you!
<div class="row mt16 o_settings_container"> | ||
<div class="col-lg-6 o_setting_box"> | ||
<div class="o_setting_left_pane"> | ||
<field name="group_use_partner_industry_for_person" /> | ||
</div> | ||
<div | ||
class="o_setting_right_pane" | ||
id="partner_industry_secondary_show_form_settings" | ||
> | ||
<label | ||
string="Enable industries for individuals" | ||
for="group_use_partner_industry_for_person" | ||
/> | ||
<div class="text-muted"> | ||
Enable industries for individuals | ||
</div> | ||
<div class="content-group"> | ||
<div | ||
class="mt16" | ||
invisible="group_use_partner_industry_for_person == False" | ||
> | ||
<button | ||
name="%(base.res_partner_industry_action)d" | ||
icon="fa-arrow-right" | ||
type="action" | ||
string="Industries" | ||
class="btn-link" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div class="row mt16 o_settings_container"> | |
<div class="col-lg-6 o_setting_box"> | |
<div class="o_setting_left_pane"> | |
<field name="group_use_partner_industry_for_person" /> | |
</div> | |
<div | |
class="o_setting_right_pane" | |
id="partner_industry_secondary_show_form_settings" | |
> | |
<label | |
string="Enable industries for individuals" | |
for="group_use_partner_industry_for_person" | |
/> | |
<div class="text-muted"> | |
Enable industries for individuals | |
</div> | |
<div class="content-group"> | |
<div | |
class="mt16" | |
invisible="group_use_partner_industry_for_person == False" | |
> | |
<button | |
name="%(base.res_partner_industry_action)d" | |
icon="fa-arrow-right" | |
type="action" | |
string="Industries" | |
class="btn-link" | |
/> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<block> | |
<setting string="Enable industries for individuals" help="Enable industries for individuals"> | |
<field name="group_use_partner_industry_for_person" /> | |
</setting> | |
</block> |
name="industry_id" | ||
invisible="is_company == False and show_partner_industry_for_person == False" | ||
/> | ||
<field name="show_partner_industry_for_person" invisible="1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<field name="show_partner_industry_for_person" invisible="1" /> | |
<field name="show_partner_industry_for_person" column_invisible="1" /> |
Superseded by #1761 |
No description provided.