minor fix remove button cancel
This commit is contained in:
parent
80a5cfb2a3
commit
4f19a7ed08
|
@ -120,13 +120,13 @@ class ButtonsFunction(QGridLayout):
|
|||
|
||||
self.values.extend([
|
||||
['button_party', 'CLIENTE', 'action_party'],
|
||||
['button_cancel', 'CANCELAR', 'action_cancel'],
|
||||
# ['button_cancel', 'CANCELAR', 'action_cancel'],
|
||||
['button_search_sale', 'BUSCAR ORDEN', 'action_search_sale'],
|
||||
['button_print_sale', 'IMPRIMIR', 'action_print_sale'],
|
||||
['button_delivery_party', 'DOMICILIARIO', 'action_delivery_party'],
|
||||
['button_position', 'POSICION', 'action_position'],
|
||||
['button_print_order', 'ENVIAR ORDEN', 'action_send_order'],
|
||||
# ['button_channel', 'CANALES', 'action_source'],
|
||||
['button_channel', 'CANALES', 'action_source'],
|
||||
['button_advance', 'ANTICIPO', 'action_add_advance'],
|
||||
])
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ _SALE_HISTORIC = [
|
|||
'total_amount_cache', 'lines'
|
||||
]
|
||||
|
||||
|
||||
class AppWindow(FrontWindow):
|
||||
|
||||
def __init__(self, connection, params, mode_conn):
|
||||
|
@ -2522,7 +2523,6 @@ class AppWindow(FrontWindow):
|
|||
self.field_invoice_number.setText('')
|
||||
self._clear_invoice_number = False
|
||||
self.grid_amounts.label_change.setText('PENDIENTE')
|
||||
print(record , 'record')
|
||||
product_id = None
|
||||
if record:
|
||||
product_id = record['id']
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "5.0.56"
|
||||
__version__ = "5.0.57"
|
||||
|
|
|
@ -67,8 +67,8 @@ if __name__ == '__main__':
|
|||
ctx_printing['tax_regime'] = 'none'
|
||||
|
||||
receipt = Receipt(ctx_printing)
|
||||
if 1: #try:
|
||||
try:
|
||||
receipt.config_printer(printer_test)
|
||||
receipt.test_printer()
|
||||
# except:
|
||||
# print('Printing failed...!')
|
||||
except:
|
||||
print('Printing failed...!')
|
||||
|
|
Loading…
Reference in New Issue