Remove restriction state
This commit is contained in:
parent
eae3d027d0
commit
98b678a169
File diff suppressed because it is too large
Load Diff
|
@ -1378,7 +1378,8 @@ class MainWindow(FrontWindow):
|
||||||
self.dialog_search_products.show()
|
self.dialog_search_products.show()
|
||||||
|
|
||||||
def action_search_sale(self):
|
def action_search_sale(self):
|
||||||
if self._state in ['accept', 'cash']:
|
print('self._state >>> ', self._state)
|
||||||
|
if self._state in ['accept']:
|
||||||
return
|
return
|
||||||
delta = str(datetime.now() - timedelta(4))
|
delta = str(datetime.now() - timedelta(4))
|
||||||
if self.type_pos_user == 'cashier':
|
if self.type_pos_user == 'cashier':
|
||||||
|
|
Loading…
Reference in New Issue