oca-technical/odoo-bringout-oca-pos-pos_margin/pos_margin/models/pos_config.py
2025-08-29 15:43:03 +02:00

15 lines
449 B
Python

# Copyright (C) 2023 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class PosConfig(models.Model):
_inherit = "pos.config"
iface_display_margin = fields.Boolean(
string="Diplay Margin",
help="Display Margin and Margin Rate in the frontend",
default=True,
)