Skip to content

Commit

Permalink
[IMP] product_second_name: Improve Views
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Oct 8, 2024
1 parent 7325792 commit b582b9a
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions product_second_name/views/product_template_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,24 @@
<field name="priority">17</field>
<field name="arch" type="xml">
<group name="group_general" position="inside">
<group name="second_name" string="Second Name" colspan="2">
<field name="allowed_location" />
<field
name="name2"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
<field
name="description_sale_es"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
<field
name="description_sale_cat"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
<field
name="description_sale_en"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
</group>
<separator />
<field name="allowed_location" />
<field
name="name2"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
<field
name="description_sale_es"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
<field
name="description_sale_cat"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
<field
name="description_sale_en"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)]}"
/>
</group>
</field>
</record>
Expand Down

0 comments on commit b582b9a

Please sign in to comment.