pos_cashdro_allow_manual: move config from paymet.method to res.config

This commit is contained in:
Luis 2026-04-28 10:47:43 +02:00
parent d994ab600e
commit 86101218e9
8 changed files with 48 additions and 38 deletions

View file

@ -0,0 +1,12 @@
# Copyright 2026 Criptomart
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
pos_cashdro_allow_manual_amount = fields.Boolean(
related="pos_config_id.cashdro_allow_manual_amount",
readonly=False,
)