pos_ojol_discount_amount/models/pos_config.py
2026-05-22 22:10:58 +07:00

15 lines
385 B
Python

from odoo import fields, models
class PosConfig(models.Model):
_inherit = 'pos.config'
ojol_discount_product_id = fields.Many2one(
'product.product',
string='Ojol Discount Product',
help='Product used to create the Ojol discount line in POS orders. '
'Should be a service product with the same tax configuration as menu items.',
)