minor fix
This commit is contained in:
parent
2649223f01
commit
5473b16566
|
@ -2544,6 +2544,7 @@ class AppWindow(FrontWindow):
|
|||
if hasattr(self, 'field_list_price'):
|
||||
ctx = {'price_list': self.field_list_price.get_id()}
|
||||
res = self.Sale.faster_add_product(data, ctx=ctx)
|
||||
res['sale'] = self._sale['id']
|
||||
self._sale_line = res
|
||||
self._current_line_id = res['id']
|
||||
self.add_sale_line(res)
|
||||
|
@ -3079,7 +3080,6 @@ class AppWindow(FrontWindow):
|
|||
self.sign_text_changed(value)
|
||||
|
||||
def key_backspace_pressed(self):
|
||||
print('backspace presed2222')
|
||||
if self._sign or self._state in ('checkout', 'payment'):
|
||||
self._amount_text = self._amount_text[:-1]
|
||||
self.amount_text_changed()
|
||||
|
|
Loading…
Reference in New Issue