|
11 | 11 | <field name="partner_id" />
|
12 | 12 | <field name="product_id" />
|
13 | 13 | <field name="product_variant_id" />
|
14 |
| - <field name="active" invisible="1" /> |
| 14 | + <field name="active" column_invisible="1" /> |
15 | 15 | </tree>
|
16 | 16 | </field>
|
17 | 17 | </record>
|
|
37 | 37 | name="web_ribbon"
|
38 | 38 | title="Archived"
|
39 | 39 | bg_color="bg-danger"
|
40 |
| - attrs="{'invisible': [('active', '=', True)]}" |
| 40 | + invisible="active == True" |
41 | 41 | />
|
42 | 42 | <field name="active" invisible="1" />
|
43 | 43 | <div class="oe_title">
|
|
54 | 54 | <field
|
55 | 55 | name="product_id"
|
56 | 56 | context="{'default_is_serviceprofile': True, 'default_type': 'service'}"
|
57 |
| - attrs="{'invisible': [('use_product_variant', '!=', False)], 'required': [('use_product_variant','=', False)]}" |
| 57 | + invisible="use_product_variant != False" |
| 58 | + required="use_product_variant == False" |
58 | 59 | />
|
59 | 60 | <field
|
60 | 61 | name="product_variant_id"
|
61 | 62 | context="{'default_is_serviceprofile': True, 'default_type': 'service'}"
|
62 |
| - attrs="{'invisible': [('use_product_variant', '=', False)], 'required': [('use_product_variant','!=', False)]}" |
| 63 | + invisible="use_product_variant == False" |
| 64 | + required="use_product_variant != False" |
63 | 65 | />
|
64 | 66 | <field name="use_product_variant" />
|
65 | 67 | </group>
|
|
143 | 145 | <menuitem
|
144 | 146 | name="Service Profiles"
|
145 | 147 | id="agreement_serviceprofiles"
|
146 |
| - parent="agreement_legal.agreement_masterdata" |
| 148 | + parent="agreement.agreement_setting_menu" |
147 | 149 | sequence="50"
|
148 | 150 | action="agreement_serviceprofile_action"
|
149 | 151 | />
|
150 | 152 |
|
151 | 153 | <menuitem
|
152 | 154 | name="Service Profiles"
|
153 | 155 | id="dashboard_serviceprofiles"
|
154 |
| - parent="agreement_legal.agreement_dashboard" |
| 156 | + parent="agreement.agreement_reporting_menu" |
155 | 157 | sequence="20"
|
156 | 158 | action="agreement_serviceprofile_dashboard"
|
157 | 159 | />
|
|
0 commit comments