[MIG] rma: migration to 17.0

[IMP] rma: test fixes
This commit is contained in:
Carlos Vallés Fuster
2024-03-12 17:17:40 +01:00
parent 4c64b8e6b2
commit a73d695719
54 changed files with 10312 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Copyright (C) 2017-20 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
group_rma_delivery_address = fields.Boolean(
related="company_id.group_rma_delivery_address",
implied_group="rma.group_rma_delivery_invoice_address",
readonly=False,
)
group_rma_lines = fields.Boolean(
related="company_id.group_rma_lines",
readonly=False,
implied_group="rma.group_rma_groups",
)
module_rma_account = fields.Boolean(string="RMA invoicing")