fix:Change QR Code Triggerr event
This fixes the bug if the user changes the date after insertion it will show the wrong values
diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index 2a277ee..4f00ef8 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -248,10 +248,10 @@
"validate": "erpnext.regional.india.utils.validate_tax_category"
},
"Sales Invoice": {
- "after_insert": "erpnext.regional.saudi_arabia.utils.create_qr_code",
"on_submit": [
"erpnext.regional.create_transaction_log",
"erpnext.regional.italy.utils.sales_invoice_on_submit",
+ "erpnext.regional.saudi_arabia.utils.create_qr_code",
"erpnext.erpnext_integrations.taxjar_integration.create_transaction"
],
"on_cancel": [