minor fix
This commit is contained in:
parent
473fdc0696
commit
4dd0b4193a
|
@ -709,7 +709,6 @@ class AppWindow(FrontWindow):
|
||||||
def change_view_to(self, to_view):
|
def change_view_to(self, to_view):
|
||||||
self.field_salesman_code_ask.setText('')
|
self.field_salesman_code_ask.setText('')
|
||||||
if to_view == 'start_front':
|
if to_view == 'start_front':
|
||||||
self.clear_right_panel()
|
|
||||||
self.print_no_commanded()
|
self.print_no_commanded()
|
||||||
self.salesman = {}
|
self.salesman = {}
|
||||||
self.order_front.hide()
|
self.order_front.hide()
|
||||||
|
@ -2309,6 +2308,7 @@ class AppWindow(FrontWindow):
|
||||||
self.input_text_changed('')
|
self.input_text_changed('')
|
||||||
self.amount_text_changed('0')
|
self.amount_text_changed('0')
|
||||||
self.clear_sign()
|
self.clear_sign()
|
||||||
|
self.clear_right_panel()
|
||||||
self.show_right_panel(True)
|
self.show_right_panel(True)
|
||||||
self.payment_ctx = {}
|
self.payment_ctx = {}
|
||||||
self.table_sale_lines.setEnabled(True)
|
self.table_sale_lines.setEnabled(True)
|
||||||
|
|
Loading…
Reference in New Issue