mirror of
https://bitbucket.org/presik/presik_pos.git
synced 2023-12-14 06:03:00 +01:00
minor fix focus
This commit is contained in:
parent
1321d71bcb
commit
bd9becb0ce
1 changed files with 1 additions and 1 deletions
|
@ -1114,7 +1114,6 @@ class AppWindow(FrontWindow):
|
|||
self.set_amounts(res)
|
||||
self._sale['number'] = res['number']
|
||||
self.field_number.setText(self._sale['number'])
|
||||
print(self.default_journal, 'defaut journal')
|
||||
self.field_invoice_number.setText(res['invoice_number'])
|
||||
self.field_amount.setText('')
|
||||
self.set_state('payment')
|
||||
|
@ -1124,6 +1123,7 @@ class AppWindow(FrontWindow):
|
|||
self.create_new_sale()
|
||||
else:
|
||||
self.message_bar.set('enter_payment', self.default_journal['name'])
|
||||
self.field_amount.setFocus()
|
||||
|
||||
def check_delivery_party(self):
|
||||
kind = self.store.get('kind')
|
||||
|
|
Loading…
Reference in a new issue