Skip to content

Commit

Permalink
[MIG] product_assortment: Migration to 13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent-Corron committed Oct 21, 2019
1 parent 6507b76 commit af2a26f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion product_assortment/__manifest__.py
Expand Up @@ -5,7 +5,7 @@
"name": "Product Assortment",
"summary": """
Adds the ability to manage products assortment""",
"version": "12.0.1.0.0",
"version": "13.0.1.0.0",
"license": "AGPL-3",
"development_status": "Stable/Production",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
Expand Down
3 changes: 0 additions & 3 deletions product_assortment/models/ir_filters.py
Expand Up @@ -34,7 +34,6 @@ def _get_default_is_assortment(self):

is_assortment = fields.Boolean(default=lambda x: x._get_default_is_assortment())

@api.multi
def _get_eval_domain(self):
res = super(ProductAssortment, self)._get_eval_domain()

Expand All @@ -48,7 +47,6 @@ def _get_eval_domain(self):

return res

@api.multi
def _compute_record_count(self):
for record in self:
domain = record._get_eval_domain()
Expand All @@ -63,7 +61,6 @@ def _get_action_domain(self, action_id=None):

return domain

@api.multi
def show_products(self):
self.ensure_one()
return {
Expand Down
2 changes: 1 addition & 1 deletion product_assortment/views/product_assortment.xml
Expand Up @@ -44,7 +44,7 @@
<field name="is_assortment" invisible="1"/>
</group>
<group>
<field name="domain" widget="char_domain" options="{'model_field': 'model_id'}"/>
<field name="domain" widget="domain" options="{'model': 'product.product'}"/>
</group>
<group name="filters">
<div name="to_include">
Expand Down

0 comments on commit af2a26f

Please sign in to comment.