I'm using eclipse as an IDE, ubuntu platform, OpenERP Version 7.0-20140605-231138
I am trying to replicate the PoS but I got stuck on this error. I really don't understand the error logs, if someone could just point me to the right direction that will be great.
Firefox: TypeError: dict.widget.pos is undefined, Error: QWeb2 - template['OrderWidget']: Runtime Error: TypeError: dict.widget.pos is undefined
- Chrome: Uncaught TypeError: Cannot read property 'get' of undefined VM4180:13
Everything else is working except for the touchscreen interface where you create a new session. But when I try to hook the javascript files to the origintal Point of Sale it works. I have check and double check made sure that they have the same content.
-
(anonymous function)VM4180:13
-
QWeb2.Engine.QWeb2.tools.extend._renderqweb2.js:340
-
QWeb2.Engine.QWeb2.tools.extend.renderqweb2.js:332
-
QWeb2.Engine.QWeb2.tools.extend._renderqweb2.js:362
-
QWeb2.Engine.QWeb2.tools.extend.renderqweb2.js:332
-
instance.web.Widget.instance.web.Controller.extend.renderElementcorelib.js:720
-
module.OrderWidget.module.PoscBaseWidget.extend.renderElementposc_widgets.js:214
-
prototype.(anonymous function)corelib.js:113
-
instance.web.Widget.instance.web.Controller.extend.__widgetRenderAndInsertcorelib.js:691
-
instance.web.Widget.instance.web.Controller.extend.replacecorelib.js:686
-
module.PoscWidget.module.PoscBaseWidget.extend.build_widgetsposc_widgets.js:982
-
(anonymous function)posc_widgets.js:879
-
firejquery-1.8.3.js:974
-
self.fireWithjquery-1.8.3.js:1084
-
self.firejquery-1.8.3.js:1091
-
(anonymous function)posc_models.js:67
-
firejquery-1.8.3.js:974
-
self.fireWithjquery-1.8.3.js:1084
-
(anonymous function)jquery-1.8.3.js:1136
-
firejquery-1.8.3.js:974
-
self.fireWithjquery-1.8.3.js:1084
-
self.firejquery-1.8.3.js:1091
-
firejquery-1.8.3.js:974
-
self.fireWithjquery-1.8.3.js:1084
-
(anonymous function)jquery-1.8.3.js:1136
-
firejquery-1.8.3.js:974
-
self.fireWithjquery-1.8.3.js:1084
-
self.firejquery-1.8.3.js:1091
-
(anonymous function)corelib.js:1020
-
(anonymous function)jquery-1.8.3.js:1129
-
firejquery-1.8.3.js:974
-
self.fireWithjquery-1.8.3.js:1084
-
donejquery-1.8.3.js:7803
-
callback
-