Files
stock-rma/rma/wizards/stock_config_settings.py
2020-01-14 16:35:26 +01:00

17 lines
603 B
Python

# © 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 models, fields
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')