Plz see…
[Wed Jun 03 17:58:06 2026] INFO:root:=====---------------------------------- returning is ret sale: False
[Wed Jun 03 17:58:06 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:06] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:06 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:06] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:07 2026] INFO:trytond.wsgi:<JSONRequest 354@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] wizard.health.proc.sale.payment.wizard.execute>
[Wed Jun 03 17:58:07 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:07] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:07 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:07] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:07 2026] INFO:trytond.wsgi:<JSONRequest 354@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.health.proc.confirm.pos.payment.start.fields_view_get>
[Wed Jun 03 17:58:07 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.healthprofessional.search_read>
[Wed Jun 03 17:58:07 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:07] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:07 2026] INFO:trytond.wsgi:<JSONRequest 354@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.health.proc.confirm.pos.payment.start.on_change>
[Wed Jun 03 17:58:07 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:07] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:07 2026] INFO:trytond.wsgi:<JSONRequest 249@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.lab.test_type.search_read>
[Wed Jun 03 17:58:07 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:07] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:08 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.healthprofessional.search_read>
[Wed Jun 03 17:58:08 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:08] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:08 2026] INFO:trytond.wsgi:<JSONRequest 577@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] wizard.gnuhealth.request.lab_test.fast.wizard.execute>
[Wed Jun 03 17:58:08 2026] INFO:trytond.wsgi:<JSONRequest 249@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.patient.lab.test.request.start.on_change_tests>
[Wed Jun 03 17:58:08 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:08] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:08 2026] INFO:trytond.wsgi:<JSONRequest 249@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.lab.test_type.read>
[Wed Jun 03 17:58:08 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:08] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:09 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:09] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:09 2026] INFO:root:{“success”:“false”,“results”:[{“error”:“No Any Whats APP Account Available At The Moment To Handle This Request!”}]}
[Wed Jun 03 17:58:09 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:09] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:10 2026] INFO:trytond.wsgi:<JSONRequest 577@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.health.proc.confirm.pos.payment.start.on_change>
[Wed Jun 03 17:58:10 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:10] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:10 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.anth.proc.hp_services.search_read>
[Wed Jun 03 17:58:10 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:10] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:12 2026] INFO:trytond.wsgi:<JSONRequest 249@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.lab.test_type.search_read>
[Wed Jun 03 17:58:12 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:12] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:12 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.product.product.search_read>
[Wed Jun 03 17:58:12 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:12] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:13 2026] INFO:trytond.wsgi:<JSONRequest 249@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.patient.lab.test.request.start.on_change_tests>
[Wed Jun 03 17:58:13 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:13] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:13 2026] INFO:trytond.wsgi:<JSONRequest 249@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.gnuhealth.lab.test_type.read>
[Wed Jun 03 17:58:13 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:13] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:13 2026] INFO:trytond.wsgi:<JSONRequest 354@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] wizard.health.proc.sale.payment.wizard.execute>
[Wed Jun 03 17:58:14 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:14 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:15 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] wizard.gnuhealth.request.lab_test.fast.wizard.execute>
[Wed Jun 03 17:58:16 2026] INFO:root:{“success”:“false”,“results”:[{“error”:“No Any Whats APP Account Available At The Moment To Handle This Request!”}]}
[Wed Jun 03 17:58:16 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:16] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:17 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] model.health.proc.confirm.pos.payment.start.on_change>
[Wed Jun 03 17:58:17 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:17] “e[37mPOST /cbr_hmis_db/ HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:17 2026] INFO:trytond.wsgi:<JSONRequest 56@127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/’ [POST] wizard.gnuhealth.request.lab_test.fast.wizard.execute>
[Wed Jun 03 17:58:18 2026] INFO:root:Doctor 624: next OPD counter=1
[Wed Jun 03 17:58:18 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:18 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:18 2026] INFO:root:Doctor 624: next OPD counter=1
[Wed Jun 03 17:58:18 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:19 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:19 2026] INFO:root:Doctor 624: next OPD counter=1
[Wed Jun 03 17:58:19 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:19 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:20 2026] INFO:trytond.wsgi:<JSONRequest 127.0.0.1 ‘http://172.27.35.21:8000/cbr_hmis_db/lis_apis/results_lis_upload’ [POST]>
[Wed Jun 03 17:58:20 2026] INFO:root:Doctor 624: next OPD counter=1
[Wed Jun 03 17:58:20 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Lymphocyte Count: name ‘lymph’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Monocyte Count: name ‘mono’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Eosinophil Count: name ‘eos’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Basophil Count: name ‘baso’ is not defined
[Wed Jun 03 17:58:20 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Lymphocyte Count: name ‘lymph’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Monocyte Count: name ‘mono’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Eosinophil Count: name ‘eos’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Lymphocyte Count: name ‘lymph’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Monocyte Count: name ‘mono’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Monocyte Count: name ‘mono’ is not defined
[Wed Jun 03 17:58:20 2026] INFO:root:Doctor 624: next OPD counter=1
[Wed Jun 03 17:58:20 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:20 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] INFO:root:Doctor 624: next OPD counter=1
[Wed Jun 03 17:58:21 2026] INFO:root:Pre-payment checks passed — calling super().transition_pay_()
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:21 2026] INFO:root:super().transition_pay_() returned state=end
[Wed Jun 03 17:58:21 2026] ERROR:root:Formula calculation failed for Absolute Neutrophil Count: name ‘neut’ is not defined
[Wed Jun 03 17:58:22 2026] INFO:werkzeug:127.0.0.1 - - [03/Jun/2026 17:58:22] “e[37mPOST /cbr_hmis_db/lis_apis/results_lis_upload HTTP/1.1e[0m” 200 -
[Wed Jun 03 17:58:22 2026] ERROR:trytond.protocols.dispatcher:<class ‘trytond.modules.health_proc.wizard.wizard_request_lab_test_fast.RequestLabTestFastWizard’>.execute(*(3538933, {‘confirm_payment’: {‘account_paymenttype’: None, ‘cashamount’: Decimal(‘550.00’), ‘device’: 34, ‘net_amount’: Decimal(‘550.00’), ‘otheramount’: Decimal(‘0.00’), ‘sale’: 1148670, ‘total_amount’: Decimal(‘550.00’), ‘user’: 56, ‘welfare’: None, ‘welfare_discount’: Decimal(‘0’), ‘id’: -78}}, ‘pay_now’, {‘client’: ‘7fa8f300-945b-43d1-abdd-a4d0de7bbb30’, ‘lab_department’: , ‘locations’: [1], ‘health_center’: 1, ‘health_center.rec_name’: ‘Raazi Islamabad’, ‘shops’: [1], ‘shop’: 1, ‘shop.rec_name’: 'AKHF Main ‘, ‘warehouse’: 32, ‘warehouse.rec_name’: ‘Raazi Warehouse’, ‘company_filter’: ‘one’, ‘company’: 1, ‘company.rec_name’: ‘Raazi Islamabad’, ‘language’: ‘en’, ‘language_direction’: ‘ltr’, ‘groups’: [66, 55, 68, 64, 58, 59, 8, 97, 61, 6, 62, 38, 39], ‘locale’: {‘date’: ‘%m/%d/%Y’, ‘grouping’: [3, 3, 0], ‘decimal_point’: ‘.’, ‘thousands_sep’: ‘,’}, ‘active_id’: 432, ‘active_ids’: None, ‘active_model’: ‘ir.ui.menu’, ‘action_id’: 514}), **{}) from m.nadeem@127.0.0.1/cbr_hmis_db/
Traceback (most recent call last):
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/protocols/dispatcher.py”, line 180, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/wizard/wizard.py”, line 313, in execute
return wizard._execute(state_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/wizard/wizard.py”, line 344, in _execute
result = self.execute(transition())
^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/modules/health_proc/wizard/wizard_request_lab_test_fast.py”, line 333, in transition_pay_now
SalePaymentWizard.execute(session_id, {‘start’: fields}, 'pay’)
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/wizard/wizard.py”, line 313, in execute
return wizard._execute(state_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/wizard/wizard.py”, line 344, in _execute
result = self.execute(transition())
^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/modules/sale_pos/sale.py”, line 397, in transition_pay
Sale.print_ticket([sale])
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/model/modelview.py”, line 789, in wrapper
value = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/model/modelview.py”, line 775, in wrapper
return func(cls, records, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/modules/sale_pos/sale.py”, line 160, in print_ticket
sale.ticket_number = config.pos_sequence.get()
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/ir/sequence.py”, line 394, in get
return super().get(_lock=True)
^^^^^^^^^^^^^^^^^^^^^^^
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/ir/sequence.py”, line 378, in get
cursor.execute(*query)
File “/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.28/trytond/backend/postgresql/database.py”, line 74, in execute
cursor.execute(self, sql, args)
psycopg2.errors.LockNotAvailable: could not obtain lock on row in relation “ir_sequence_strict”