[ADD] rma_delivery: New module

TT33975
This commit is contained in:
david
2022-01-24 17:09:40 +01:00
parent f8f6184aa8
commit af8ab35ad5
17 changed files with 873 additions and 0 deletions

View 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,
)