I want to add new
@frappe.whitelist(allow_guest=True)
def get_item_attribute(doc):
print(‘startttttttttttttt’)
In sales invoice Item
May I know how to add in hooks.py
I Used this below code but its not working.
override_whitelisted_methods = {
“Sales Invoice”: “vvpaiint_erp.vvpaiint.custom.get_item_attribute”,
}
Can anyone please help me.
Thanks,
S.Kavitha.