Skip to content

Commit

Permalink
[FIX] compatibility with pos_restaurant OCA#339 cortesy @carlosDomatix
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Jul 15, 2019
1 parent 199a7c1 commit aed6476
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pos_order_mgmt/static/src/js/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ odoo.define('pos_order_mgmt.widgets', function (require) {
},

order_action: function (order_data, action) {
this.gui.back();
if (this.old_order !== null) {
this.gui.back();
}
this['action_' + action](order_data);
},

Expand Down

0 comments on commit aed6476

Please sign in to comment.