Skip to content

Commit

Permalink
[MIG] T1875 partner_tag_smart_assignation : migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robinrolle committed Dec 2, 2024
1 parent 13149e7 commit 93d1149
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion partner_tag_smart_assignation/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Smart Tagger",
"summary": "Smart tagger, module to have smart tags who " "update themselves alone",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Other",
"author": "Compassion CH, Odoo Community Association (OCA)",
"license": "AGPL-3",
Expand Down
21 changes: 6 additions & 15 deletions partner_tag_smart_assignation/views/smart_tagger_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
<field name="author_id" />
<field name="department_ids" />
<field name="description" />
<field
name="valid_until"
attrs="{'invisible': [('smart', '=', False)],}"
/>
<field name="valid_until" invisible="smart == False" />
</field>
</field>
</record>
Expand Down Expand Up @@ -44,26 +41,20 @@
<field name="author_id" />
<field name="department_ids" widget="many2many_tags" />
<field name="description" />
<field
name="valid_until"
attrs="{'invisible': [('smart', '=', False)],}"
/>
<field
name="tag_filter_join_operator"
attrs="{'invisible': [('smart', '=', False)],}"
/>
<field name="valid_until" invisible="smart == False" />
<field name="tag_filter_join_operator" invisible="smart == False" />
<field
name="tag_filter_condition_id"
attrs="{'invisible': [('smart', '=', False)],}"
invisible="smart == False"
context="{'default_model_id':'res.partner'}"
/>
<field
name="tag_filter_partner_field"
attrs="{'invisible': ['|', ('smart', '=', False), ('tag_filter_condition_id', '=', False)],}"
invisible="smart == False or tag_filter_condition_id == False"
/>
<field
name="tag_filter_sql_query"
attrs="{'invisible': [('smart', '=', False)],}"
invisible="smart == False"
widget="ace"
/>
</field>
Expand Down

0 comments on commit 93d1149

Please sign in to comment.