I want to add a couple of extra fields to Supplier DocType…
However, if I update ERPNext using bench update, will my Supplier DocType get overwritten? Will it get overwritten on version upgrades? Is it better to create a new supplier docytype (such as Supplier2) and add the existing fields and then just use that form for new suppliers?
The best way to add new fields and customizations is through “Customize Form”.
If you plan to update your production server then you can maintain those changes using fixtures.
Currently, in test phase while I document everything. What do you mean by “fixtures”?
I assume on the next iterations ERPNext, I can simply “Bench Update” and everything should come across? including these custom fields? I don’t intent to touch any lines of code.
I was also under the impression my backup (via ERPNext/Cronjob) contains all these extra fields (I will test this)??
@brian_pond you missed adding “custom fields” @rodrigo.giacobelli mentioned. I have added a couple of fields in Supplier and the import template sees theses fields so its a big win!
I don’t require anything special with Supplier, just a couple of extra fields so I am not sure if Supplier2 is the way forward really? Does that not duplicate data?
I require extra fields in other areas (BOM, Customer etc) and custom fields will do the trick.