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.

20 lines
726 B

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