Not Saved DOCtype - Saudi Arabia shares same regional setup as UAE?

when i press New in those doctypes [Quotation , sales invoice , stock entry] it’s gives me Not Saved before i add anything .and of course if i add anything it’s not saved

and this what gives me in log
image

check error log inside erpnext.

after investigation i saw that error happened when i add taxes in taxes table ? but i can’t solve this problem
, and there is no coding related to taxes

this is where code stop
image

any help pls ?

What Muzzy advises is probably to refer to the logs on the server - for example here /home/frappe/frappe-bench/logs/.

These clues on your browser client point to that as your problem source:

404 ERR_HTTP_RESPONSE_CODE_FAILURE

500 INTERNAL SERVER ERROR

i checked it but no clue

i think this is error. any help ?

any update pls ?

This seems to be a regional UAE tax issue - you have set the country and tax template for the Company?

Perhaps copy and paste the actual traceback here - that will help folks search the forum and code to track down similar reports to resolve this.

no it’s saudi arabia
image

Someone familiar with regional setup may jump in to advise you

frappe@ubuntu:~/frappe-bench$ ls -al apps/erpnext/erpnext/regional/
total 60
drwxr-xr-x 14 frappe frappe 4096 Feb 12 07:21 .
drwxr-xr-x 44 frappe frappe 4096 Apr  2 08:58 ..
drwxr-xr-x  7 frappe frappe 4096 Feb 12 07:21 doctype
drwxr-xr-x  3 frappe frappe 4096 Feb 12 07:21 france
drwxrwxr-x  3 frappe frappe 4096 Feb 12 08:10 germany
drwxr-xr-x  3 frappe frappe 4096 Apr  2 08:58 india
-rw-rw-r--  1 frappe frappe  874 Feb 12 00:50 __init__.py
drwxrwxr-x  3 frappe frappe 4096 Feb 12 08:10 italy
drwxr-xr-x  8 frappe frappe 4096 Feb 12 07:21 print_format
drwxr-xr-x  2 frappe frappe 4096 Apr  2 09:00 __pycache__
drwxr-xr-x 16 frappe frappe 4096 Feb 12 07:21 report
drwxr-xr-x  3 frappe frappe 4096 Feb 12 07:21 saudi_arabia
drwxrwxr-x  3 frappe frappe 4096 Apr  2 08:58 turkey
drwxr-xr-x  3 frappe frappe 4096 Feb 12 07:21 united_arab_emirates
drwxrwxr-x  3 frappe frappe 4096 Feb 12 08:10 united_states
frappe@ubuntu:~/frappe-bench$ ls -al apps/erpnext/erpnext/regional/united_arab_emirates/
total 24
drwxr-xr-x  3 frappe frappe 4096 Feb 12 07:21 .
drwxr-xr-x 14 frappe frappe 4096 Feb 12 07:21 ..
-rw-r--r--  1 frappe frappe    0 Mar 15  2018 __init__.py
drwxrwxr-x  2 frappe frappe 4096 Apr  2 09:02 __pycache__
-rw-rw-r--  1 frappe frappe 4176 Jun 26  2019 setup.py
-rw-rw-r--  1 frappe frappe  655 Jun 26  2019 utils.py
frappe@ubuntu:~/frappe-bench$ ls -al apps/erpnext/erpnext/regional/saudi_arabia/
total 16
drwxr-xr-x  3 frappe frappe 4096 Feb 12 07:21 .
drwxr-xr-x 14 frappe frappe 4096 Feb 12 07:21 ..
-rw-r--r--  1 frappe frappe    0 Mar 15  2018 __init__.py
drwxrwxr-x  2 frappe frappe 4096 Apr  2 09:02 __pycache__
-rw-r--r--  1 frappe frappe  464 Mar 15  2018 setup.py
28drwxr-xr-x  3 frappe frappe 4096 Feb 12 07:21 united_arab_emirates

any update ,pls ?

problem solved

1 Like