# -*- coding: utf-8 -*- from odoo import models, fields class PosConfig(models.Model): _inherit = 'pos.config' line_discount_type = fields.Selection([ ('percentage', 'Percentage'), ('fixed', 'Fixed Amount') ], string='Line Discount Type', default='percentage', help="Determines how order-level discounts are distributed to order lines") apply_line_discount_on_rewards = fields.Boolean( string="Apply Line Discount on Rewards", default=True, help="If checked, loyalty rewards will be applied as line discounts instead of order-level discounts" )