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