Skip to content

Commit

Permalink
[IMP] sale_margin_security: Use the cost category to groups the optio…
Browse files Browse the repository at this point in the history
…ns together
  • Loading branch information
rousseldenis committed Dec 18, 2024
1 parent e6053d9 commit fdb99dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sale_margin_security/security/security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<odoo>
<record id="group_sale_margin_security" model="res.groups">
<field name="name">Show Sale Margin (and Show Costs)</field>
<field name="category_id" ref="base.module_category_hidden" />
<field name="category_id" ref="product_cost_security.module_category" />
<field
name="implied_ids"
eval="[(4, ref('product_cost_security.group_product_cost'))]"
Expand All @@ -13,7 +13,7 @@

<record id="group_sale_margin_edit_security" model="res.groups">
<field name="name">Show Sale Margin (and Edit Costs)</field>
<field name="category_id" ref="base.module_category_hidden" />
<field name="category_id" ref="product_cost_security.module_category" />
<field
name="implied_ids"
eval="[(4, ref('group_sale_margin_security')), (4, ref('product_cost_security.group_product_edit_cost'))]"
Expand Down

0 comments on commit fdb99dc

Please sign in to comment.