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});