How to override the crm from custom app?

Hi all,
in this path : apps/crm/frontend/src/utils/index.js
here there is a function toLocaleString where the value “en-IN” has been hardcoded
so i changed this value to “en-SA” directly in the crm and run the cmd : nmp run build

These changes reflected in the browser but ideally the changes should be done via a custom app instead of directly changing the Frappe CRM app code.
Please suggest a way out for customizing the app.

can anyone suggest me a way for this ?

https://frappeframework.com/docs/user/en/tutorial/create-an-app

https://frappeframework.com/docs/user/en/python-api/hooks#javascript--css-assets

Hi @arunachalam:

Check how it was done …

Hope this helps.

2 Likes