partner-contact/partner_industry_secondary/models/res_config_settings.py

16 lines
554 B
Python
Raw Normal View History

2021-03-23 19:13:18 +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(
"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",
)