15 lines
385 B
Python
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.',
|
|
)
|
|
|
|
|