Oman VAT module - Management and reporting

We have published Oman VAT Simplified management and reporting, for all ERPNext users in Oman.

You can use this code if your country setting is Oman. Following are the steps required to install

bench get-app oman_vat https://github.com/ERPGulf/Oman_VAT.git

bench --site site1.local install-app oman_vat

bench --site site1.local migrate

If you face any issue with installation please send an email to support@ERPGulf.com

This is a minor tweak of E-invoing done by Ahmad ( https://github.com/ahmadpak/ksa_vat ). Full credit goes to Havenir Solutions which has done most of the coding.

4 Likes

Video tutorial on Oman VAT https://youtu.be/G3vo3oUaD2s

1 Like

We have published Bahrain VAT Simplified management and reporting, for all ERPNext users in Bahrain.

You can use this code if your country setting is Bahrain. Following are the steps required to install

@Support-at-ERPgulf would you like to push these on FC Marketplace as well?

Great to see it. But why isn’t it integrated with ERPNEXT? Any future possibility?

We have uploaded a video presentation on Bahrain Vat ( Simplified TAX management and reporting ) on ERPNext

Please watch and send you feedback

Getting error for OMAN VAT Report when opening the report.

Traceback (most recent call last):
File "apps/frappe/frappe/core/doctype/prepared_report/prepared_report.py", line 43, in run_background
result = generate_report_result(
File "apps/frappe/frappe/__init__.py", line 629, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File "apps/frappe/frappe/desk/query_report.py", line 86, in generate_report_result
res = get_report_result(report, filters) or []
File "apps/frappe/frappe/desk/query_report.py", line 70, in get_report_result
res = report.execute_script_report(filters)
File "apps/frappe/frappe/core/doctype/report/report.py", line 133, in execute_script_report
res = self.execute_module(filters)
File "apps/frappe/frappe/core/doctype/report/report.py", line 150, in execute_module
return frappe.get_attr(method_name)(frappe._dict(filters))
File "apps/oman_vat/oman_vat/oman_vat/report/oman_vat/oman_vat.py", line 13, in execute
data = get_data(filters)
File "apps/oman_vat/oman_vat/oman_vat/report/oman_vat/oman_vat.py", line 89, in get_data
for vat_setting in oman_vat_setting.BAHRAIN_vat_purchase_accounts:
AttributeError: 'OMANVATSetting' object has no attribute 'BAHRAIN_vat_purchase_accounts'

Hi Touseef , the error arose due to issue with
attribute naming . We have rectified the issue.