mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
21 lines
590 B
Python
21 lines
590 B
Python
# 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",
|
|
)
|