minor fix
This commit is contained in:
parent
577c813cb0
commit
418ad7c600
|
@ -1637,6 +1637,8 @@ class AppWindow(FrontWindow):
|
|||
def action_send_order(self, sale_id=None, reversion=False, init_view=True):
|
||||
if self.model_sale_lines.rowCount() == 0:
|
||||
return
|
||||
if not self.device['shop']['order_copies'] and self.enviroment != 'restaurant':
|
||||
return
|
||||
res = self.dialog_order.exec_()
|
||||
if res == DIALOG_REPLY_NO:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue