Skip to content

Commit

Permalink
[IMP] product_abc_classification_base: Remove web_m2x_options dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rousseldenis committed Nov 10, 2022
1 parent 482ce30 commit 7d9031f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion product_abc_classification_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV, ForgeFlow, Odoo Community Association (OCA)",
"depends": ["product", "stock", "web_m2x_options"],
"website": "https://github.com/OCA/product-attribute",
"depends": ["product", "stock"],
"data": [
"views/abc_classification_product_level.xml",
"views/abc_classification_profile.xml",
Expand Down
7 changes: 1 addition & 6 deletions product_abc_classification_base/views/product_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@
name="abc_classification_product_level_ids"
widget="many2many_tags"
context="{'default_product_tmpl_id': active_id, 'default_profile_id': abc_classification_profile_ids and abc_classification_profile_ids[0] and abc_classification_profile_ids[0][2] and abc_classification_profile_ids[0][2][0] or False}"
options="{'open': true}"
attrs="{'readonly': [('product_variant_count', '>', 1)]}"
domain="[('product_tmpl_id', '=', active_id)]"
/>
<field
name="abc_classification_profile_ids"
widget="many2many_tags"
options="{'open': true}"
/>
<field name="abc_classification_profile_ids" widget="many2many_tags" />
</group>
</group>
</page>
Expand Down

0 comments on commit 7d9031f

Please sign in to comment.