partner-contact/partner_industry_secondary/models/res_config_settings.py

15 lines
547 B
Python
Raw Normal View History

2024-10-01 05:51:46 +00:00
# Copyright 2018 Eficent Business and IT Consulting Services, S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from flectra import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
group_use_partner_industry_for_person = fields.Boolean(
string="Use industry for individuals",
help="Set if you want to be able to use industries for individuals also.",
implied_group="partner_industry_secondary.group_use_partner_industry_for_person",
)