oca-ocb-pos/odoo-bringout-oca-ocb-pos_loyalty/pos_loyalty/models/loyalty_mail.py
Ernad Husremovic 3ca647e428 19.0 vanilla
2026-03-09 09:29:53 +01:00

12 lines
438 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class LoyaltyMail(models.Model):
_inherit = 'loyalty.mail'
pos_report_print_id = fields.Many2one('ir.actions.report', string="Print Report", domain=[('model', '=', 'loyalty.card')],
help="The report action to be executed when creating a coupon/gift card/loyalty card in the PoS.",
)