[FIX] undefined variables (potential nameerror)

Backport 9ec0455abc and
6a601fe6dc as they fixed various
possible NameError but did so in later sub-releases.
This commit is contained in:
Xavier Morel
2018-07-19 13:37:10 +02:00
parent bc12428e17
commit 9f8eae34d1
11 changed files with 19 additions and 14 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo import models, fields, api, _
from odoo.exceptions import UserError
class IrModelFields(models.Model):