mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
Merge pull request #28489 from deepeshgarg007/ksa_print_format
fix: KSA Invoice print format for multicurrency invoices
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -82,4 +82,11 @@ def delete_qr_code_file(doc, method):
|
||||
'file_url': doc.get('qr_code')
|
||||
})
|
||||
if len(file_doc):
|
||||
frappe.delete_doc('File', file_doc[0].name)
|
||||
frappe.delete_doc('File', file_doc[0].name)
|
||||
|
||||
def delete_vat_settings_for_company(doc, method):
|
||||
if doc.country != 'Saudi Arabia':
|
||||
return
|
||||
|
||||
settings_doc = frappe.get_doc('KSA VAT Setting', {'company': doc.name})
|
||||
settings_doc.delete()
|
||||
Reference in New Issue
Block a user