mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-28 02:58:30 +00:00
Update erpnext/regional/saudi_arabia/setup.py
Method name updated Co-authored-by: Saqib <nextchamp.saqib@gmail.com>
This commit is contained in:
@@ -13,8 +13,7 @@ def setup(company=None, patch=True):
|
||||
add_print_formats()
|
||||
add_permissions()
|
||||
create_ksa_vat_setting(company)
|
||||
make_custom_fields()
|
||||
|
||||
make_qrcode_field()
|
||||
|
||||
def add_permissions():
|
||||
"""Add Permissions for KSA VAT Setting."""
|
||||
@@ -27,7 +26,7 @@ def add_permissions():
|
||||
"""Enable KSA VAT Report"""
|
||||
frappe.db.set_value('Report', 'KSA VAT', 'disabled', 0)
|
||||
|
||||
def make_custom_fields():
|
||||
def make_qrcode_field():
|
||||
qr_code_field = dict(
|
||||
fieldname='qr_code',
|
||||
label='QR Code',
|
||||
|
||||
Reference in New Issue
Block a user