mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 16:12:08 +02:00
15 lines
449 B
Python
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,
|
|
)
|