minor fix mark commanded

This commit is contained in:
Wilson Gomez 2023-08-29 13:27:40 -05:00
parent e62689830e
commit e3663085e8
3 changed files with 4 additions and 2 deletions

View File

@ -160,7 +160,7 @@ class ButtonsFunction(QGridLayout):
self.values.extend([
['button_product_info', 'INFO. PRODUCTO', 'action_info_product'],
['button_change_salesman', 'CAMBIO VENDEDOR', 'action_change_salesman'],
])
])
pos_user = self.parent.type_pos_user
if pos_user in ('order' ,'salesman'):
self.values.extend([

View File

@ -1772,6 +1772,8 @@ class AppWindow(FrontWindow):
orders,
reversion,
kind)
if result:
self.Sale.mark_commanded({'sale_id': sale_id})
except Exception as e:
print(e, 'error')
logging.error('Printing order fail!')

View File

@ -1 +1 @@
__version__ = "6.0.18"
__version__ = "6.0.19"