From 844f4231e2174bbc50f87ff5cbb2aaea30df8492 Mon Sep 17 00:00:00 2001 From: lreficent Date: Mon, 30 Oct 2017 12:54:18 +0100 Subject: [PATCH] pylint --- rma_account/models/rma_order_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rma_account/models/rma_order_line.py b/rma_account/models/rma_order_line.py index 30adcb04..7f659d47 100644 --- a/rma_account/models/rma_order_line.py +++ b/rma_account/models/rma_order_line.py @@ -117,7 +117,7 @@ class RmaOrderLine(models.Model): def action_view_refunds(self): action = self.env.ref('account.action_invoice_tree2') result = action.read()[0] - invoice_ids= self.mapped('refund_line_ids.invoice_id').ids + invoice_ids = self.mapped('refund_line_ids.invoice_id').ids # choose the view_mode accordingly if len(invoice_ids) != 1: result['domain'] = [('id', 'in', invoice_ids)]