Commit 3e5363b 1 parent 945e24d commit 3e5363b Copy full SHA for 3e5363b
File tree 1 file changed +17
-0
lines changed
product_variant_sale_price/views
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 12
12
</xpath >
13
13
</field >
14
14
</record >
15
+ <record id =" product_template_only_form_view" model =" ir.ui.view" >
16
+ <field name =" name" >product.template.only.form.inherited</field >
17
+ <field name =" model" >product.template</field >
18
+ <field name =" inherit_id" ref =" product.product_template_only_form_view" />
19
+ <field name =" arch" type =" xml" >
20
+ <xpath expr =" //label[@for='list_price']" position =" attributes" >
21
+ <attribute name =" attrs" >{'invisible': [
22
+ ('product_variant_count', '>', 1)
23
+ ]}</attribute >
24
+ </xpath >
25
+ <xpath expr =" //div[@name='pricing']" position =" attributes" >
26
+ <attribute name =" attrs" >{'invisible': [
27
+ ('product_variant_count', '>', 1)
28
+ ]}</attribute >
29
+ </xpath >
30
+ </field >
31
+ </record >
15
32
<record id =" product_normal_form_view_default_check" model =" ir.ui.view" >
16
33
<field name =" model" >product.product</field >
17
34
<field name =" inherit_id" ref =" product.product_normal_form_view" />
You can’t perform that action at this time.
0 commit comments