15 lines
538 B

# -*- coding: utf-8 -*-
# Copyright 2004-2010 OpenERP SA
# Copyright 2017 RGB Consulting S.L. (https://www.rgbconsulting.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class PosConfig(models.Model):
_inherit = 'pos.config'
loyalty_id = fields.Many2one(comodel_name='loyalty.program',
string='Loyalty Program',
help='The loyalty program used by this '
'Point of Sale')