mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
IMP: use group product.group_discount_per_so_line instead of base.group_no_one
This commit is contained in:
@@ -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" />
|
||||
@@ -333,7 +336,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" />
|
||||
|
||||
Reference in New Issue
Block a user