15 lines
571 B

  1. # Copyright 2018 Eficent Business and IT Consulting Services, S.L.
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  3. from odoo import fields, models
  4. class ResConfigSettings(models.TransientModel):
  5. _inherit = 'res.config.settings'
  6. group_use_partner_industry_for_person = fields.Boolean(
  7. 'Use industry for individuals',
  8. help="Set if you want to be able to use industries for "
  9. "individuals also.",
  10. implied_group='partner_industry_secondary.'
  11. 'group_use_partner_industry_for_person')