Skip to content

Commit

Permalink
[IMP] loyalty_partner_applicability: add configuration option
Browse files Browse the repository at this point in the history
TT45413
  • Loading branch information
pilarvargas-tecnativa committed Oct 31, 2023
1 parent 9992abd commit 8f46bc2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions loyalty_partner_applicability/models/res_config_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2023 Tecnativa - Pilar Vargas Moreno
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ResConfigSettings(models.TransientModel):

_inherit = "res.config.settings"

allow_coupon_sharing = fields.Boolean(
string="Allow coupon sharing", config_parameter="allow_coupon_sharing"
)

0 comments on commit 8f46bc2

Please sign in to comment.