with postgres DB and psycopg 3 driver, occurs randomly when creating entity or vendor etc.:
Request Method: POST
Request URL: http://localhost:8000/ledger/customer/simevo-pqr0mwbu/create/
Django Version: 4.2.8
Exception Type: RuntimeError
Exception Value:
A durable atomic block cannot be nested within another atomic block.
Exception Location: /usr/local/lib/python3.11/site-packages/django/db/transaction.py, line 190, in __enter__
Raised during: django_ledger.views.customer.CustomerModelCreateView
Python Executable: /usr/local/bin/python3
Python Version: 3.11.6
Python Path:
['/app',
'/usr/local/lib/python311.zip',
'/usr/local/lib/python3.11',
'/usr/local/lib/python3.11/lib-dynload',
'/usr/local/lib/python3.11/site-packages']
Server time: Tue, 05 Dec 2023 13:23:52 +0000
Describe the bug
with postgres DB and psycopg 3 driver, occurs randomly when creating entity or vendor etc.:
To Reproduce
Entity NameandAddress Line 1hit "Create"Expected behavior
it should create the entity
Screenshots
