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

15 lines
367 B
Python

# Copyright 2019 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class PosConfig(models.Model):
_inherit = "pos.config"
payment_amount_readonly = fields.Boolean(
help="Payment lines amount would be readonly. This should be used"
"with the 'Prefill Cash Payment' option"
)