mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 05:52:01 +02:00
15 lines
367 B
Python
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"
|
|
)
|