minor fix mark commanded
This commit is contained in:
parent
e62689830e
commit
e3663085e8
|
@ -160,7 +160,7 @@ class ButtonsFunction(QGridLayout):
|
||||||
self.values.extend([
|
self.values.extend([
|
||||||
['button_product_info', 'INFO. PRODUCTO', 'action_info_product'],
|
['button_product_info', 'INFO. PRODUCTO', 'action_info_product'],
|
||||||
['button_change_salesman', 'CAMBIO VENDEDOR', 'action_change_salesman'],
|
['button_change_salesman', 'CAMBIO VENDEDOR', 'action_change_salesman'],
|
||||||
])
|
])
|
||||||
pos_user = self.parent.type_pos_user
|
pos_user = self.parent.type_pos_user
|
||||||
if pos_user in ('order' ,'salesman'):
|
if pos_user in ('order' ,'salesman'):
|
||||||
self.values.extend([
|
self.values.extend([
|
||||||
|
|
|
@ -1772,6 +1772,8 @@ class AppWindow(FrontWindow):
|
||||||
orders,
|
orders,
|
||||||
reversion,
|
reversion,
|
||||||
kind)
|
kind)
|
||||||
|
if result:
|
||||||
|
self.Sale.mark_commanded({'sale_id': sale_id})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e, 'error')
|
print(e, 'error')
|
||||||
logging.error('Printing order fail!')
|
logging.error('Printing order fail!')
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = "6.0.18"
|
__version__ = "6.0.19"
|
||||||
|
|
Loading…
Reference in New Issue