Anyone faced the issue while submitting back date purchase receipt?

Anyone faced the issue while submitting back date purchase receipt?
For us system hangs with message on screen submitting.
Also API time out with bad gateway error (504 Gateway Time-out)

Hello Gitika,

This seems to be working fine in our test instances. Can you please share exact steps with screen shots for us to replicate the issue at our end.

Thanks Arundhati for quick response!
Please find the log file @ JSON Blob from https://jsonblob.com/ · GitHub

We have been using ERPnext’s Purchase and Selling module since last 2 months. Recently we’ve had a plan to scale the usage to multiple cities. For this, we created new customers and a lot of warehouses.

As a result of this, now on submitting purchase receipt or delivery note, transaction is taking a lot of time and its getting timed out (time out set to 120 seconds). During this 120 seconds, all other transactions (including browsing) are stuck. As a result of which all users have to wait for 120 seconds.