Skip to content

Commit

Permalink
[IMP] product_sale_configuration: Improve view layout
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Jan 22, 2025
1 parent 59a6824 commit 85fe86d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions product_sale_configuration/views/product_template_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<attribute name="invisible">1</attribute>
</div>

<field name="categ_id" position="attributes">
<attribute name="attrs">{'invisible': True}</attribute>
</field>

<field name="invoice_policy" position="before">
<field
name="categ_id"
Expand All @@ -40,8 +44,9 @@
can_write="true"
/>
</field>
<label for="list_price" position="before">
<label

<field name="product_tag_ids" position="after">
<label
for="standard_price"
attrs="{'invisible': [('product_variant_count', '&gt;', 1), ('is_product_variant', '=', False)]}"
/>
Expand Down Expand Up @@ -76,9 +81,8 @@
options="{'no_create': True, 'no_create_edit': True}"
attrs="{'invisible': [('product_variant_count', '&gt;', 1)], 'readonly':[('manual_pvp','=',True)]}"
/>
</label>

<field name="product_tag_ids" position="after">

<field name="price_cost_changed" invisible="1" />
<field
name="target_cost"
Expand Down

0 comments on commit 85fe86d

Please sign in to comment.