Custom Doctype not appearing under modules

Dear all,

I have created a new doctype under the module Account, but it is not appearing under the accounts modules.

Note that I have not created a new app.

Any idea if this the reason why it is not appearing?

Best Regards,
Kartive.

Hello! @Kartive_lfc

For your new doctype to appear in Accounts Module. You need to edit accounting.py file and add your new doctype in the json format.

Path of file :- erpnext/config/accounting.py

Regards,
Kalpit Shah

Will this retain the changes after new bench update?

Hi
this may be helpful for you

Hello @Mohammad_Ahmad_Zulfi

Sorry, I’m not sure about this.
It will not retain, mostly!

Regards,
Kalpit Shah