From fb637c0711fba6da802887245a87011ed997bb69 Mon Sep 17 00:00:00 2001 From: Kalantojus Karolis Date: Thu, 14 Apr 2016 10:55:43 +0200 Subject: [PATCH] Add missing model decorator --- crm_claim_rma/models/account_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crm_claim_rma/models/account_invoice.py b/crm_claim_rma/models/account_invoice.py index 116591a1..8c9f07d6 100644 --- a/crm_claim_rma/models/account_invoice.py +++ b/crm_claim_rma/models/account_invoice.py @@ -32,6 +32,7 @@ class AccountInvoice(models.Model): claim_id = fields.Many2one('crm.claim', string='Claim') + @api.model def _refund_cleanup_lines(self, lines): """ Override when from claim to update the quantity and link to the