Skip to content

Commit

Permalink
feat: custom loyatly programs hooks are added
Browse files Browse the repository at this point in the history
  • Loading branch information
zulfi007 committed Apr 25, 2024
1 parent cd79c27 commit 427224d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions erpnext/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,15 @@
"erpnext.regional.italy.utils.sales_invoice_on_submit",
"erpnext.regional.saudi_arabia.utils.create_qr_code",
"erpnext.erpnext_integrations.taxjar_integration.create_transaction",
"erpnext.accounts.doctype.sales_invoice.custom_loyalty_points.make_loyalty_point_entry",

],
"on_cancel": [
"erpnext.regional.italy.utils.sales_invoice_on_cancel",
"erpnext.erpnext_integrations.taxjar_integration.delete_transaction",
"erpnext.regional.saudi_arabia.utils.delete_qr_code_file",
"erpnext.accounts.doctype.sales_invoice.custom_loyalty_points.cancel_loyalty_point_entry",

],
"on_trash": "erpnext.regional.check_deletion_permission",
},
Expand Down

0 comments on commit 427224d

Please sign in to comment.