diff --git a/barcodes_generate/models/barcode_rule.py b/barcodes_generate/models/barcode_rule.py index a1482282..2931878d 100644 --- a/barcodes_generate/models/barcode_rule.py +++ b/barcodes_generate/models/barcode_rule.py @@ -4,7 +4,7 @@ # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields, api, _ +from openerp import models, fields, api, _, exceptions _GENERATE_TYPE = [ ('no', 'No generation'),