pos_cashdro_allow_manual: move config from paymet.method to res.config
This commit is contained in:
parent
d994ab600e
commit
86101218e9
8 changed files with 48 additions and 38 deletions
12
pos_cashdro_allow_manual/models/res_config_settings.py
Normal file
12
pos_cashdro_allow_manual/models/res_config_settings.py
Normal 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,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue