mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
22 lines
581 B
Python
22 lines
581 B
Python
# Copyright 2020 ForgeFlow S.L.
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class RmaOperation(models.Model):
|
|
_inherit = "rma.operation"
|
|
|
|
repair_type = fields.Selection(
|
|
[
|
|
("no", "Not required"),
|
|
("ordered", "Based on Ordered Quantities"),
|
|
("received", "Based on Received Quantities"),
|
|
],
|
|
string="Repair Policy",
|
|
default="no",
|
|
)
|
|
delivery_policy = fields.Selection(
|
|
selection_add=[("repair", "Based on Repair Quantities")]
|
|
)
|