Skip to content

Commit

Permalink
Merge PR #171 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 3, 2023
2 parents 9992abd + 1604d8e commit 6fa51ac
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions loyalty_partner_applicability/models/res_config_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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"

# Allows a coupon generated for one partner to be used by any other member
# of your commercial entity. There is a view for this option in the module
# sale_loyalty_partner_applicability
allow_coupon_sharing = fields.Boolean(
string="Allow coupon sharing",
config_parameter="allow_coupon_sharing",
)

0 comments on commit 6fa51ac

Please sign in to comment.