minor fix
This commit is contained in:
parent
019ecd4ce2
commit
97b7d391dc
|
@ -678,6 +678,10 @@ class AppWindow(FrontWindow):
|
|||
self._process_quantity(self._amount_text)
|
||||
else:
|
||||
error = not(self._process_price(self._amount_text))
|
||||
sale_line, = self.SaleLine.find([
|
||||
('id', '=', self._sale_line['id'])
|
||||
])
|
||||
self.model_sale_lines.update_record(sale_line)
|
||||
elif self._state in ['add', 'cancel', 'accept']:
|
||||
self.clear_right_panel()
|
||||
self.add_product(code=self._input_text)
|
||||
|
|
Loading…
Reference in New Issue