mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[ADD] rma_delivery: New module
TT33975
This commit is contained in:
14
rma_delivery/models/res_config_settings.py
Normal file
14
rma_delivery/models/res_config_settings.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2022 Tecnativa - David Vidal
|
||||
# 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"
|
||||
|
||||
rma_delivery_strategy = fields.Selection(
|
||||
related="company_id.rma_delivery_strategy", readonly=False,
|
||||
)
|
||||
rma_fixed_delivery_method = fields.Many2one(
|
||||
related="company_id.rma_fixed_delivery_method", readonly=False,
|
||||
)
|
||||
Reference in New Issue
Block a user