diff --git a/rma_account/demo/rma_operation.xml b/rma_account/demo/rma_operation.xml index 9a4e5738..bda0529b 100644 --- a/rma_account/demo/rma_operation.xml +++ b/rma_account/demo/rma_operation.xml @@ -12,7 +12,7 @@ Refund before receive RFC - ordered + received no no customer @@ -23,7 +23,7 @@ Refund Before deliver RFS - ordered + delivered no no supplier diff --git a/rma_account/models/rma_operation.py b/rma_account/models/rma_operation.py index 043826c6..88085d85 100644 --- a/rma_account/models/rma_operation.py +++ b/rma_account/models/rma_operation.py @@ -9,5 +9,6 @@ class RmaOperation(models.Model): 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') diff --git a/rma_account/tests/test_rma_account.py b/rma_account/tests/test_rma_account.py index 0d8802bf..a4f41fdb 100644 --- a/rma_account/tests/test_rma_account.py +++ b/rma_account/tests/test_rma_account.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017-18 Eficent Business and IT Consulting Services S.L. # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)