# Copyright (C) 2017 Eficent Business and IT Consulting Services S.L. # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html) from odoo import fields, models class StockConfigSettings(models.TransientModel): _inherit = "res.config.settings" group_rma_delivery_address = fields.Selection( [ ( 0, "Invoicing and shipping addresses are always the same " "(Example: services companies)", ), ( 1, "Display 3 fields on rma: partner, invoice address, delivery " "address", ), ], "Addresses", implied_group="rma.group_rma_delivery_invoice_address", ) group_rma_lines = fields.Selection( [(0, "Do not group RMA lines"), (1, "Group RMA lines in one RMA group")], "Grouping", implied_group="rma.group_rma_groups", )