summaryrefslogtreecommitdiff
path: root/addons/pos_restaurant/static/src/js/splitbill.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pos_restaurant/static/src/js/splitbill.js')
-rw-r--r--addons/pos_restaurant/static/src/js/splitbill.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/pos_restaurant/static/src/js/splitbill.js b/addons/pos_restaurant/static/src/js/splitbill.js
index 06d03705d5f..70714418430 100644
--- a/addons/pos_restaurant/static/src/js/splitbill.js
+++ b/addons/pos_restaurant/static/src/js/splitbill.js
@@ -1,4 +1,4 @@
-function openerp_restaurant_splitbill(instance, module){
+openerp.pos_restaurant.load_splitbill = function(instance, module){
var QWeb = instance.web.qweb;
module.SplitbillScreenWidget = module.ScreenWidget.extend({
@@ -179,4 +179,5 @@ function openerp_restaurant_splitbill(instance, module){
return this.pos.config.iface_splitbill;
},
});
-}
+};
+