I have a question. How is the printout for the Quotation doctype generated? I want to try and remove some aspects of the printout in the Quotation. Can someone point me to where the code for this is generated?
I know I can change the fields in the doctype, but I have some aspects of the Quotation that can’t be removed using the doctype list.
I already know a lot about the doctype and have gone through the documentation, but what I want to remove is the options in the create button. The Create button doesn’t appear in any of the doctypes so I can’t remove it through the front end.
I want to edit a feature on a default doctype. For example, I would like to remove an option from the Create button on the Default Quotation Doctype (I didn’t create this doctype on my own, it was already created when the app was installed).
Here’s a screenshot of what I want to edit/remove.
Sorry, I didn’t understand your problem.
That true if you want to remove option on this create button, you have to use frappe JS API.
Or may be with permissions and role, remove used permissions for your role. Like that the unwanted Doctype and his create button will no more be available.