From e2125f148da0214a42c8bb27655e4fbaaa65497b Mon Sep 17 00:00:00 2001 From: Frederic van der Essen Date: Tue, 30 Sep 2014 20:46:01 +0200 Subject: [PATCH] [FIX] pos_restaurant: correctly set the floor on new tables --- addons/pos_restaurant/static/src/js/floors.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/pos_restaurant/static/src/js/floors.js b/addons/pos_restaurant/static/src/js/floors.js index 6819e3fc6cd..e563fb8a37f 100644 --- a/addons/pos_restaurant/static/src/js/floors.js +++ b/addons/pos_restaurant/static/src/js/floors.js @@ -405,6 +405,7 @@ function openerp_restaurant_floors(instance,module){ delete table['id']; table.floor_id = [this.floor.id,'']; + table.floor = this.floor; this.floor.tables.push(table); var tw = new module.TableWidget(this,{table: table});