mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[16.0] contract: Show discount lines for users with the group 'Discount on lines'
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
<field
|
||||
colspan="2"
|
||||
name="discount"
|
||||
groups="base.group_no_one"
|
||||
groups="product.group_discount_per_so_line"
|
||||
nolabel="1"
|
||||
/>
|
||||
</group>
|
||||
|
||||
@@ -232,7 +232,10 @@
|
||||
attrs="{'readonly': [('automatic_price', '=', True)]}"
|
||||
/>
|
||||
<field name="specific_price" invisible="1" />
|
||||
<field name="discount" groups="base.group_no_one" />
|
||||
<field
|
||||
name="discount"
|
||||
groups="product.group_discount_per_so_line"
|
||||
/>
|
||||
<field name="price_subtotal" />
|
||||
<field name="recurring_interval" invisible="1" />
|
||||
<field name="recurring_rule_type" invisible="1" />
|
||||
@@ -332,7 +335,10 @@
|
||||
attrs="{'readonly': [('automatic_price', '=', True)]}"
|
||||
/>
|
||||
<field name="specific_price" invisible="1" />
|
||||
<field name="discount" groups="base.group_no_one" />
|
||||
<field
|
||||
name="discount"
|
||||
groups="product.group_discount_per_so_line"
|
||||
/>
|
||||
<field name="price_subtotal" />
|
||||
<field name="recurring_interval" invisible="1" />
|
||||
<field name="recurring_rule_type" invisible="1" />
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
attrs="{'readonly': [('automatic_price', '=', True)]}"
|
||||
/>
|
||||
<field name="specific_price" invisible="1" />
|
||||
<field name="discount" groups="base.group_no_one" />
|
||||
<field name="discount" groups="product.group_discount_per_so_line" />
|
||||
<field name="price_subtotal" />
|
||||
<field name="recurring_interval" invisible="1" />
|
||||
<field name="recurring_rule_type" invisible="1" />
|
||||
|
||||
@@ -55,7 +55,10 @@
|
||||
attrs="{'readonly': [('automatic_price', '=', True)]}"
|
||||
/>
|
||||
<field name="specific_price" invisible="1" />
|
||||
<field name="discount" groups="base.group_no_one" />
|
||||
<field
|
||||
name="discount"
|
||||
groups="product.group_discount_per_so_line"
|
||||
/>
|
||||
<field name="price_subtotal" />
|
||||
<field name="recurring_rule_type" invisible="1" />
|
||||
<field name="recurring_interval" invisible="1" />
|
||||
|
||||
Reference in New Issue
Block a user