14 lines
404 B
Python
14 lines
404 B
Python
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
pos_ojol_discount_product_id = fields.Many2one(
|
|
'product.product',
|
|
related='pos_config_id.ojol_discount_product_id',
|
|
string='Ojol Discount Product',
|
|
readonly=False,
|
|
help='Product used to create the Ojol discount line in POS orders.',
|
|
)
|