mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
20 lines
528 B
Python
20 lines
528 B
Python
# Copyright 2017 ForgeFlow S.L.
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class RmaOperation(models.Model):
|
|
_inherit = "rma.operation"
|
|
|
|
refund_policy = fields.Selection(
|
|
[
|
|
("no", "No refund"),
|
|
("ordered", "Based on Ordered Quantities"),
|
|
("delivered", "Based on Delivered Quantities"),
|
|
("received", "Based on Received Quantities"),
|
|
],
|
|
string="Refund Policy",
|
|
default="no",
|
|
)
|