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

  1. # Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
  2. # License LGPL-3 - See http://www.gnu.org/licenses/lgpl-3.0.html
  3. from odoo import fields, models
  4. class ResConfigSettings(models.TransientModel):
  5. _inherit = "res.config.settings"
  6. group_custom_info_manager = fields.Boolean(
  7. string="Manage custom information",
  8. implied_group="base_custom_info.group_basic",
  9. help="Allow all employees to manage custom information",
  10. )
  11. group_custom_info_partner = fields.Boolean(
  12. string="Edit custom information in partners",
  13. implied_group="base_custom_info.group_partner",
  14. help="Add a tab in the partners form to edit custom information",
  15. )