Hi,
I’ve followed the tutorial here : https://frappe.github.io/erpnext/user/manual/en/customize-erpnext/custom-field
I’ve added a custom field “tax-id” to sales_invoice doc.
Now when I run bench update I get
error: Your local changes to the following files would be overwritten by merge:
erpnext/accounts/doctype/sales_invoice/sales_invoice.json
what I did with the help of some discussions found here:
cd /frappe-bench/apps/erpnext
git stash
cd ../../
bench update
update worked but I have lost my custom field and data in all my invoices.
what should I do if I want my custom fields not to disapear in the next update?
so far, I’ve read somewhere I should create a custom app. Do I have to do that with erpnext v7?
I’m not sure I can do that without a step by step guide. Can you help?