[FIX] pos_restaurant: fix traceback when trashing a table just after creation. (was referencing not-yet-existing table on the server)
This commit is contained in:
committed by
Frédéric van der Essen
parent
9918c3ab34
commit
cd2c4a78a2
@@ -492,6 +492,7 @@ var FloorScreenWidget = screens.ScreenWidget.extend({
|
||||
'shape': 'square',
|
||||
'seats': 1,
|
||||
});
|
||||
tw.save_changes();
|
||||
this.select_table(tw);
|
||||
this.check_empty_floor();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user