[FIX] pos_restaurant: correctly set the floor on new tables
This commit is contained in:
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});
|
||||
|
||||
Reference in New Issue
Block a user