You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
700 B
19 lines
700 B
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
|
|
# License LGPL-3 - See http://www.gnu.org/licenses/lgpl-3.0.html
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = "res.config.settings"
|
|
|
|
group_custom_info_manager = fields.Boolean(
|
|
string="Manage custom information",
|
|
implied_group="base_custom_info.group_basic",
|
|
help="Allow all employees to manage custom information",
|
|
)
|
|
group_custom_info_partner = fields.Boolean(
|
|
string="Edit custom information in partners",
|
|
implied_group="base_custom_info.group_partner",
|
|
help="Add a tab in the partners form to edit custom information",
|
|
)
|