-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
[18.0][MIG] l10n_eu_product_adr: Migration to 18.0 #208
base: 18.0
Are you sure you want to change the base?
Conversation
7b6dc21
to
0c9c60f
Compare
0c9c60f
to
3dccc14
Compare
@@ -19,24 +19,18 @@ | |||
name="adr" | |||
string="Dangerous Goods" | |||
groups="l10n_eu_product_adr.group_adr_goods_user" | |||
attrs="{'invisible': ['|', ('type', '!=', 'product'), '&', ('is_dangerous', '=', False), ('adr_goods_on_variants', '=', False)]}" | |||
invisible="not (is_storable and (is_dangerous or adr_goods_on_variants))" |
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.
are we sure this is the same ?
I would have written this not is_storable or (is_dangerous and adr_goods_on_variants)
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.
no, it will be: not is_storable or (not is_dangerous and not adr_goods_on_variants)
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.
Thanks for the change it looks better IMO
94b6550
to
8a6ce61
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.
Testing on runboat I have an issue when activating the Is Dangerous flag on a product...the Dangerous Goods tab is empty.
8a6ce61
to
7d47552
Compare
Hi @TDu ,I have checked the differences between PR 16.0 and branch 14.0. The PR 16.0 had incorrect group permissions. I have updated. thank you |
Currently translated at 80.3% (98 of 122 strings) Translation: community-data-files-13.0/community-data-files-13.0-l10n_eu_product_adr Translate-URL: https://translation.odoo-community.org/projects/community-data-files-13-0/community-data-files-13-0-l10n_eu_product_adr/nl/
Currently translated at 81.1% (99 of 122 strings) Translation: community-data-files-13.0/community-data-files-13.0-l10n_eu_product_adr Translate-URL: https://translation.odoo-community.org/projects/community-data-files-13-0/community-data-files-13-0-l10n_eu_product_adr/nl/
Co-authored-by: Iryna Vyshnevska <iryna.vyshnevska@camptocamp.com>
7d47552
to
f5dfe98
Compare
test_06_product_variant_migration
because there is no more pre-migration in Odoo 16+._compute_display_name
method inAdrClass
andAdrGoods
because thename_search
method in Odoo 18 has changed and usedisplay_name
value to return result.