Skip to content

Commit

Permalink
Merge PR #1012 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 30, 2023
2 parents 77e4b1d + 86b3b46 commit 9c423a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 10 additions & 2 deletions contract/views/contract.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,11 @@
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"
optional="show"
/>
<field name="price_subtotal" />
<field name="recurring_interval" invisible="1" />
<field name="recurring_rule_type" invisible="1" />
Expand Down Expand Up @@ -333,7 +337,11 @@
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"
optional="show"
/>
<field name="price_subtotal" />
<field name="recurring_interval" invisible="1" />
<field name="recurring_rule_type" invisible="1" />
Expand Down
6 changes: 5 additions & 1 deletion contract/views/contract_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@
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"
optional="show"
/>
<field name="price_subtotal" />
<field name="recurring_rule_type" invisible="1" />
<field name="recurring_interval" invisible="1" />
Expand Down

0 comments on commit 9c423a5

Please sign in to comment.