[6.1][POS] No product appears when accessing POS menu

Bug #925436 reported by Carlos Ch.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Invalid
High
OpenERP R&D Web Team

Bug Description

I am trying to test the 6.1 new POS interface.
The installation is working, I installed the point_of_sale module, then I go to "Point of sale" menu and get an empty screen.
I created 2 test products with images, and assigned to them POS categories.

The server log doesn't show errors
the web-cleint log:
DEBUG:web.common.http:Dispatching to /web/menu <web.controllers.main.Menu object at 0xa1a43ec> action
DEBUG:web.common.http:--> Menu.action
{'id': 'r887',
 'jsonrpc': '2.0',
 'method': 'call',
 'params': {'menu_id': 298, 'session_id': '34d372a9cd444b11b7b17a1f09b137de'}}
DEBUG:web.common.openerplib.main.object.ir.values:('action', 'tree_but_open', [('ir.ui.menu', 298)], False, {'lang': 'en_US', 'tz': False, 'uid': 1})
DEBUG:web.common.openerplib.main.service.object:method: 'execute_kw'
DEBUG:web.common.openerplib.main.service.object:args: ('v61_test', 1, 'admin', 'ir.values', 'get', ('action', 'tree_but_open', [('ir.ui.menu', 298)], False, {'lang': 'en_US', 'tz': False, 'uid': 1}), {})
DEBUG:web.common.openerplib.main.service.object:result: [[291, 'Menuitem', {'name': 'Start Point of Sale', 'params_store': False, 'tag': 'pos.ui', 'params': False, 'usage': False, 'type': 'ir.actions.client', 'id': 424}]]
DEBUG:web.common.openerplib.main.object.ir.values:result: [[291, 'Menuitem', {'name': 'Start Point of Sale', 'params_store': False, 'tag': 'pos.ui', 'params': False, 'usage': False, 'type': 'ir.actions.client', 'id': 424}]]
DEBUG:web.common.http:<--
{'id': 'r887',
 'jsonrpc': '2.0',
 'result': {'action': [(291,
                        'Menuitem',
                        {'flags': {},
                         'id': 424,
                         'name': 'Start Point of Sale',
                         'params': False,
                         'params_store': False,
                         'tag': 'pos.ui',
                         'type': 'ir.actions.client',
                         'usage': False})]}}
INFO:werkzeug:127.0.0.1 - - [02/Feb/2012 12:17:32] "POST /web/menu/action HTTP/1.1" 200

REMARK: I SEE A BUG WITH FIREBUG THAT SAYS:
"uncaught exception: The key pos.ui was not found"

I attached a screen capture of the aspect of the screen and the bug

thanx

Revision history for this message
Carlos Ch. (solracch) wrote :
affects: openobject-addons → openerp-web
Changed in openerp-web:
status: New → Confirmed
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → High
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

This is a well know problem that occurs because you launch the server and the web client separately. To run the pos you need to run the web client in embedded mode (like for most web modules).

Changed in openerp-web:
status: Confirmed → Invalid
Revision history for this message
Carlos Ch. (solracch) wrote :

Hi,

can you please give me more information about this embedded mode?
I've never heard of it, and I've been working with OpenERP for some years now

thanx

Revision history for this message
Denis Barbot (dbarbot) wrote :

You just have to:
- make sure [path-to-web]/addons is in the addons_path variable in the server configuration file,
- connect from your browser to the server on port 8069 (http://localhost:8069) and ignore the client (no need to run it).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.