Vishmita Jadeja (openerp) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1066288-vja into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1066288 in OpenERP Web: "[trunk] 7.0 Problem with Point of Sale - Can't
Close Uncaught TypeError"
https://bugs.launchpad.net/openerp-web/+bug/1066288
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1066288-vja/+merge/130028
When try to close point of sale it gives error.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1066288-vja/+merge/130028
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1066288-vja.
=== modified file 'point_of_sale/static/src/js/widgets.js'
--- point_of_sale/static/src/js/widgets.js 2012-09-18 13:37:32 +0000
+++ point_of_sale/static/src/js/widgets.js 2012-10-17 05:33:21 +0000
@@ -1056,7 +1056,7 @@
return new instance.web.Model("ir.model.data").get_func("search_read")([['name', '=', 'action_client_pos_menu']], ['res_id']).pipe(
_.bind(function(res) {
return this.rpc('/web/action/load', {'action_id': res[0]['res_id']}).pipe(_.bind(function(result) {
- var action = result.result;
+ var action = result;
action.context = _.extend(action.context || {}, {'cancel_action': {type: 'ir.actions.client', tag: 'reload'}});
//self.destroy();
this.do_action(action);
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp