[FIX] *: correctly hide "groups settings" from user form

* = account, sale_management, website

Settings that are using groups internally should not appear on the user form
without using debug mode.

The admin should not get the idea that he should configure those per user,
because they are going to be reset if/when changing the general setting.

closes #29842
PR: #29860
This commit is contained in:
Sébastien Theys
2019-01-03 09:37:41 +00:00
parent 0a3f8740f9
commit b969c0afcd
3 changed files with 4 additions and 0 deletions
@@ -11,11 +11,13 @@
<record id="group_show_line_subtotals_tax_excluded" model="res.groups">
<field name="name">Tax display B2B</field>
<field name="comment">Show line subtotals without taxes (B2B)</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record id="group_show_line_subtotals_tax_included" model="res.groups">
<field name="name">Tax display B2C</field>
<field name="comment">Show line subtotals with taxes included (B2C)</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record id="base.group_public" model="res.groups">
@@ -3,6 +3,7 @@
<record id="group_sale_order_template" model="res.groups">
<field name="name">Quotation Templates</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
</odoo>
+1
View File
@@ -549,6 +549,7 @@
<data>
<record id="group_multi_website" model="res.groups">
<field name="name">Multi-website</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
</data>
</odoo>