Skip to content

Commit

Permalink
Merge pull request #12 from gurneyalex/7.0-fix-travis
Browse files Browse the repository at this point in the history
fix travis (flake8)
  • Loading branch information
yvaucher committed Mar 4, 2015
2 parents 3d85c35 + 248dc57 commit 3265296
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion tr_barcode/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
This module adds the menu Barcode used to generate and configuration barcodes.
""",
'author': "Tech-Receptives Solutions Pvt. Ltd.,Odoo Community Association (OCA)",
'author': "Tech-Receptives Solutions Pvt. Ltd.,"
"Odoo Community Association (OCA)",
'website': 'http://www.techreceptives.com',
'depends': [
"base",
Expand Down
2 changes: 1 addition & 1 deletion tr_barcode/tr_barcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
import base64
from tempfile import mkstemp

_logger = logging.getLogger(__name__)
from openerp.osv import fields, osv, orm

try:
from reportlab.graphics.barcode import createBarcodeDrawing, getCodes
except:
_logger = logging.getLogger(__name__)
_logger.warning("ERROR IMPORTING REPORT LAB")


Expand Down
3 changes: 0 additions & 3 deletions tr_barcode/wizard/tr_barcode_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ def _get_val(self, cr, uid, context=None):
fields.boolean("Human Readable",
help="To genrate Barcode In Human readable form"),
'barcode_type': fields.selection(_get_code, 'Type'),
'hr_form':
fields.boolean("Human Readable",
help="To genrate Barcode In Human readable form"),
}

_defaults = {
Expand Down

0 comments on commit 3265296

Please sign in to comment.