This question has been flagged
3 Replies
6308 Views

Hello,

I've downlaoded the TR Barcode module from this link : https://www.openerp.com/apps/7.0/tr_barcode/

While i install it onto my OpenERP 7.0 i got this error :

ValidateError

Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!

Please can you help me about this issue.

Thanks.

Avatar
Discard

search for a file named ' openerp-server.log ', open it with a text editor, and Copy/Paste the content from this file (Not all the content, but just some lines related to this error).

Author

Hello, You can find the ‘openerp-server.log’ : 2014-10-15 16:19:01,269 1307 INFO bdd-test-2 openerp.modules.loading: loading 1 modules... 2014-10-15 16:19:01,306 1307 INFO bdd-test-2 openerp.modules.loading: loading 60 modules... 2014-10-15 16:19:01,597 1307 INFO bdd-test-2 openerp.modules.loading: loading 61 modules... 2014-10-15 16:19:01,698 1307 INFO bdd-test-2 openerp.modules.module: module tr_barcode: creating or updating database tables 2014-10-15 16:19:02,276 1307 INFO bdd-test-2 openerp.modules.loading: module tr_barcode: loading wizard/tr_barcode_wizard.xml 2014-10-15 16:19:02,664 1307 ERROR bdd-test-2 openerp.osv.orm: Can't find field 'hight' in the following view parts composing the view of object model 'tr.barcode.wizard': * Barcode Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model 2014-10-15 16:19:02,685 1307 ERROR bdd-test-2 openerp.addons.base.ir.ir_ui_view: Can't render view for model: tr.barcode.wizard Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 126, in _check_render_view fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2278, in fields_view_get xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1955, in __view_look_dom_arch raise except_orm('View error', msg) except_orm: ('View error', u"Can't find field 'hight' in the following view parts composing the view of object model 'tr.barcode.wizard':\n * Barcode\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model") 2014-10-15 16:19:02,747 1307 ERROR bdd-test-2 openerp.tools.convert: Parse error in /usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/wizard/tr_barcode_wizard.xml:4: Barcode tr.barcode.wizard Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 814, in _tag_record id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 969, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4547, in create self._validate(cr, user, [id_new], context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1562, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_orm: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!') 2014-10-15 16:19:02,776 1307 ERROR bdd-test-2 openerp.netsvc: ValidateError Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture! Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 426, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 477, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in load_data = lambda *args: _load_data(cr, *args, kind='data') File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import obj.parse(doc.getroot()) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 814, in _tag_record id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 969, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4547, in create self._validate(cr, user, [id_new], context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1562, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_osv: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!') 2014-10-15 16:19:02,824 1307 INFO bdd-test-2 werkzeug: 172.16.1.17 - - [15/Oct/2014 16:19:02] "POST /web/dataset/call_button HTTP/1.1" 200 - 2014-10-15 16:19:02,971 1307 INFO ? werkzeug: 172.16.1.17 - - [15/Oct/2014 16:19:02] "GET /web/static/src/img/warning.png HTTP/1.1" 304 - 2014-10-15 16:19:07,256 1307 INFO bdd-test-2 openerp.modules.loading: loading 1 modules... 2014-10-15 16:19:07,295 1307 INFO bdd-test-2 openerp.modules.loading: loading 60 modules... 2014-10-15 16:19:07,443 1307 INFO bdd-test-2 openerp.modules.loading: Modules loaded.

follow this link to fix the error: http://john.parnefjord.se/node/51

Hello,

 

I saw the link but i’m using Ubuntu 12.04 LTS and my reportlab path is :

 

/usr/lib/python2.7/dist-packages/reportlab/graphics . I can’t find “fonts” directory, not exist on my OS version. Please can you give a way to paste the content of the unzip Pfbfer file.

 

Best Regards,

 

Hervé EGNAKOU

 

 

De : Med Said BARA [mailto:diassynthesis@mail.odoo.com]
Envoyé : jeudi 16 octobre 2014 15:59
À : Herve EGNAKOU
Objet : Re: TR Barcode Module

 

follow this link to fix the error: http://john.parnefjord.se/node/51

--
Med Said BARA
Sent by Odoo Inc. using Odoo about Forum Post TR Barcode Module

Download the all the modules from https://github.com/OCA/stock-logistics-barcode/tree/7.0. You can find the pfbfer.zip in tr_barcode

Best Answer

There is an XML view definition error in the module.

If you could post the english error trace we might be able to discover what view is causing the error.

Avatar
Discard
Author

Hello Sir, This the print screen on this error : ValidateError Error occured while validating the fields(s) arch: Invalid XML for View Architecture!

Author Best Answer

Hello,

This is the print screen for the english translate:

The error appear while i try to install the TR Barcode Module.

ValidateError

Error occured while validating the

fields(s) arch: Invalid XML for View Architecture!

 

Avatar
Discard
Best Answer

It seems that you are using a wrong and buggy version from https://www.openerp.com/apps/7.0/tr_barcode/

You should use the modules from: https://code.launchpad.net/~stock-logistic-core-editors/stock-logistic-barcode/7.0

Or from: https://github.com/OCA/stock-logistics-barcode/tree/7.0

Avatar
Discard
Author

Thanks for your assistance. I downlaod now this module from the link you sent me. But another issue appear, when i want to create an image generated by the code barre module i get this error message : 2014-10-16 12:20:32,081 6850 ERROR bdd-test-1 openerp.osv.osv: Uncaught exception Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 121, in generate_image hr=self_obj.hr_form) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 96, in get_image image_data = ret_val.asString('png') File "/usr/lib/python2.7/dist-packages/reportlab/graphics/shapes.py", line 780, in asString rl_config.showBoundary),**_extraKW(self,'_renderPM_',**kw)) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 656, in drawToString drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 651, in drawToFile c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 637, in drawToPMCanvas draw(d, c, 0, 0, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 50, in draw R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderbase.py", line 198, in draw self.initState(x,y) #this is the push() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 93, in initState self.applyState() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 87, in applyState self._canvas.setFont(s['fontName'], s['fontSize']) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 368, in setFont _setFont(self._gs,fontName,fontSize) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 221, in _setFont raise RenderPMError, "Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2) RenderPMError: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None 2014-10-16 12:20:32,081 6850 ERROR bdd-test-1 openerp.netsvc: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 121, in generate_image hr=self_obj.hr_form) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 96, in get_image image_data = ret_val.asString('png') File "/usr/lib/python2.7/dist-packages/reportlab/graphics/shapes.py", line 780, in asString rl_config.showBoundary),**_extraKW(self,'_renderPM_',**kw)) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 656, in drawToString drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 651, in drawToFile c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 637, in drawToPMCanvas draw(d, c, 0, 0, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 50, in draw R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderbase.py", line 198, in draw self.initState(x,y) #this is the push() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 93, in initState self.applyState() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 87, in applyState self._canvas.setFont(s['fontName'], s['fontSize']) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 368, in setFont _setFont(self._gs,fontName,fontSize) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 221, in _setFont raise RenderPMError, "Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2) RenderPMError: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None 2014-10-16 12:20:32,082 6850 INFO bdd-test-1 werkzeug: 172.16.1.17 - - [16/Oct/2014 12:20:32] "POST /web/dataset/call_button HTTP/1.1" 200 - ^C root@srvopenerp:/usr/lib/pymodules/python2.7/openerp/addons# clear root@srvopenerp:/usr/lib/pymodules/python2.7/openerp/addons# tail -f /var/log/openerp/openerp-server.log self.applyState() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 87, in applyState self._canvas.setFont(s['fontName'], s['fontSize']) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 368, in setFont _setFont(self._gs,fontName,fontSize) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 221, in _setFont raise RenderPMError, "Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2) RenderPMError: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None 2014-10-16 12:20:32,082 6850 INFO bdd-test-1 werkzeug: 172.16.1.17 - - [16/Oct/2014 12:20:32] "POST /web/dataset/call_button HTTP/1.1" 200 - 2014-10-16 12:21:06,979 6850 INFO bdd-test-1 werkzeug: 172.16.1.17 - - [16/Oct/2014 12:21:06] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-10-16 12:21:07,199 6850 ERROR bdd-test-1 openerp.osv.osv: Uncaught exception Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 121, in generate_image hr=self_obj.hr_form) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 96, in get_image image_data = ret_val.asString('png') File "/usr/lib/python2.7/dist-packages/reportlab/graphics/shapes.py", line 780, in asString rl_config.showBoundary),**_extraKW(self,'_renderPM_',**kw)) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 656, in drawToString drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 651, in drawToFile c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 637, in drawToPMCanvas draw(d, c, 0, 0, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 50, in draw R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderbase.py", line 198, in draw self.initState(x,y) #this is the push() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 93, in initState self.applyState() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 87, in applyState self._canvas.setFont(s['fontName'], s['fontSize']) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 368, in setFont _setFont(self._gs,fontName,fontSize) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 221, in _setFont raise RenderPMError, "Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2) RenderPMError: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None 2014-10-16 12:21:07,200 6850 ERROR bdd-test-1 openerp.netsvc: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 121, in generate_image hr=self_obj.hr_form) File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 96, in get_image image_data = ret_val.asString('png') File "/usr/lib/python2.7/dist-packages/reportlab/graphics/shapes.py", line 780, in asString rl_config.showBoundary),**_extraKW(self,'_renderPM_',**kw)) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 656, in drawToString drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 651, in drawToFile c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 637, in drawToPMCanvas draw(d, c, 0, 0, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 50, in draw R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderbase.py", line 198, in draw self.initState(x,y) #this is the push() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 93, in initState self.applyState() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 87, in applyState self._canvas.setFont(s['fontName'], s['fontSize']) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 368, in setFont _setFont(self._gs,fontName,fontSize) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 221, in _setFont raise RenderPMError, "Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2) RenderPMError: Can't setFont(Times-Roman) missing the T1 files? Originally : makeT1Font() argument 2 must be string, not None. Please can you tell what's happened and how to generate a image code for an article.

Download all the modules from https://github.com/OCA/stock-logistics-barcode/tree/7.0. You can find the pfbfer.zip in tr_barcode

Many thanks for all you done for me. It’s work fine now. But I don’t know which printer to use for print the barcode and when I want to generate a QR code image I got this error message :

 

Server Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send

    return openerp.netsvc.dispatch_rpc(service_name, method, args)

  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc

    result = ExportService.getService(service_name).dispatch(method, params)

  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch

    res = fn(db, uid, *params)

  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw

    return self.execute(db, uid, obj, method, *args, **kw or {})

  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper

    return f(self, dbname, *args, **kwargs)

  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute

    res = self.execute_cr(cr, uid, obj, method, *args, **kw)

  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr

    return getattr(object, method)(cr, uid, *args, **kw)

  File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 121, in generate_image

    hr=self_obj.hr_form)

  File "/usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/tr_barcode.py", line 100, in get_image

    from qrtools import QR

ImportError: No module named qrtools

 

Please I don’t how to install the qrtools module to work with OpenERP 7.0

 

Again Thanks. God bless you.

 

 

 

 

De : Med Said BARA [mailto:diassynthesis@mail.odoo.com]
Envoyé : jeudi 16 octobre 2014 17:25
À : Herve EGNAKOU
Objet : Re: False

 

Download all the modules from https://github.com/OCA/stock-logistics-barcode/tree/7.0. You can find the pfbfer.zip in tr_barcode

--
Med Said BARA
Sent by Odoo Inc. using Odoo about Forum Post False

For the QR code read: http://www.zbeanztech.com/blog/qr-code-generation-openerp?page=1

Try to install qrtools: https://launchpad.net/~qr-tools-developers/+archive/ubuntu/daily

You can download the .deb from: https://launchpad.net/qr-tools/trunk/1.2/+download/qtqr_1.2_all.deb and install it in ubuntu with dpkg -i qtqr_1.2_all.deb

Hello Sir,

 

I don’t know how to thank you. Thanks again and again, everything work fine with all your solutions you gave me.

Please can you help me to find the module which can allow me to track vehicle by Gps using the OpenERP Fleet module. I tried to find onto website but nothing.

Can you give me a link like bzr or github or another way to find the module and implement it also.

Have a nice day.

 

Hervé EGNAKOU

 

 

De : Med Said BARA [mailto:diassynthesis@mail.odoo.com]
Envoyé : jeudi 16 octobre 2014 19:15
À : Herve EGNAKOU
Objet : Re: False

 

You can download the .deb from: https://launchpad.net/qr-tools/trunk/1.2/+download/qtqr_1.2_all.deb and install it in ubuntu with dpkg -i qtqr_1.2_all.deb

--
Med Said BARA
Sent by Odoo Inc. using Odoo about Forum Post False