Skip to Content
Menu
This question has been flagged
24787 Views

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

  1. 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.

    1. (anonymous function)VM4180:13

    2. QWeb2.Engine.QWeb2.tools.extend._renderqweb2.js:340

    3. QWeb2.Engine.QWeb2.tools.extend.renderqweb2.js:332

    4. QWeb2.Engine.QWeb2.tools.extend._renderqweb2.js:362

    5. QWeb2.Engine.QWeb2.tools.extend.renderqweb2.js:332

    6. instance.web.Widget.instance.web.Controller.extend.renderElementcorelib.js:720

    7. module.OrderWidget.module.PoscBaseWidget.extend.renderElementposc_widgets.js:214

    8. prototype.(anonymous function)corelib.js:113

    9. instance.web.Widget.instance.web.Controller.extend.__widgetRenderAndInsertcorelib.js:691

    10. instance.web.Widget.instance.web.Controller.extend.replacecorelib.js:686

    11. module.PoscWidget.module.PoscBaseWidget.extend.build_widgetsposc_widgets.js:982

    12. (anonymous function)posc_widgets.js:879

    13. firejquery-1.8.3.js:974

    14. self.fireWithjquery-1.8.3.js:1084

    15. self.firejquery-1.8.3.js:1091

    16. (anonymous function)posc_models.js:67

    17. firejquery-1.8.3.js:974

    18. self.fireWithjquery-1.8.3.js:1084

    19. (anonymous function)jquery-1.8.3.js:1136

    20. firejquery-1.8.3.js:974

    21. self.fireWithjquery-1.8.3.js:1084

    22. self.firejquery-1.8.3.js:1091

    23. firejquery-1.8.3.js:974

    24. self.fireWithjquery-1.8.3.js:1084

    25. (anonymous function)jquery-1.8.3.js:1136

    26. firejquery-1.8.3.js:974

    27. self.fireWithjquery-1.8.3.js:1084

    28. self.firejquery-1.8.3.js:1091

    29. (anonymous function)corelib.js:1020

    30. (anonymous function)jquery-1.8.3.js:1129

    31. firejquery-1.8.3.js:974

    32. self.fireWithjquery-1.8.3.js:1084

    33. donejquery-1.8.3.js:7803

    34. callback

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 19
4909
1
Dec 24
126
2
Nov 24
84
1
Oct 24
264
0
Sep 24
213