[FIX] pos_restaurant: correctly set the floor on new tables

This commit is contained in:
Frederic van der Essen
2014-11-25 19:14:40 +01:00
committed by Frédéric van der Essen
parent 02471200f6
commit e2125f148d
@@ -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});