From 61884011a0c63a5223ec047f71a4000769c9b720 Mon Sep 17 00:00:00 2001 From: Aristobulo Meneses Date: Fri, 31 Jul 2015 11:32:19 +0200 Subject: [PATCH] Use wide scope when importing fields. --- crm_claim_rma/account_invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crm_claim_rma/account_invoice.py b/crm_claim_rma/account_invoice.py index 7eff72bf..cc2fc76a 100644 --- a/crm_claim_rma/account_invoice.py +++ b/crm_claim_rma/account_invoice.py @@ -23,13 +23,13 @@ ############################################################################## from openerp.models import Model, api, _ -from openerp.fields import Many2one +from openerp import fields class AccountInvoice(Model): _inherit = "account.invoice" - claim_id = Many2one('crm.claim', string='Claim') + claim_id = fields.Many2one('crm.claim', string='Claim') @api.model def _refund_cleanup_lines(self, lines):