So to Summarise (especially for UAE instances) following steps are required:
bench --site your-site-name console
In [1]: frappe.reload_doc(‘accounts’, ‘doctype’, ‘pos_invoice’)
Out[1]: True
In [1]: frappe.reload_doc(‘accounts’, ‘doctype’, ‘pos_invoice_item’)
Out[1]: True
For UAE Variant
In [1]: frappe.reload_doc(‘regional’, ‘doctype’, ‘uae_vat_settings’)
Out[1]: True
In [1]: frappe.reload_doc(‘regional’, ‘doctype’, ‘uae_vat_account’)
Out[1]: True
In [1]: frappe.db.commit()
Please advise when we have Pyhton 2.7 then what should be the method from upgrading from ERPNext: v12.19.0 (version-12), Frappe Framework: v12.16.3 (version-12)
There is not a must to use this or other programs.
There is a must to contribute to make it better.
The complain at least must be equal with contribution.
Not all reported bugs means real failure, but people always relay to it, try to get immediate attention as getting used to it on differ platforms.
Better to understand how this program builds up + understand the environment around it, then search a little bit and then find the solution, it moves things forward.
Not only the program works the environment must work around it.
frappe.exceptions.ValidationError: City/Town is an invalid Data field.
Only Options allowed for Data field are:
Email
Name
Phone</ul
I could remember i have enabled some default options for City in the address doctype. However this did not work. I forgot to remove them from the customisation. Looks like this customisation is causing trouble during the upgrade.
Strangly - did not need the “commit” for the previous errors! Just did the “reload” command.
But - everything works fine and I can access the desk and many functionalities. Not finding issues internally.
Additional Feedback:
Now, I receive the below after running:
bench build
The errors/warnings:
Building erpnext assets...
✔ Built js/erpnext-web.min.js
UNRESOLVED_IMPORT : 'vue/dist/vue.js' is imported by ../erpnext/erpnext/public/js/hub/marketplace.js, but could not be resolved – treating it as an external dependency
Cannot find some dependencies. You may have to run "bench setup requirements" to install them.
UNRESOLVED_IMPORT : 'vue/dist/vue.js' is imported by ../erpnext/erpnext/public/js/hub/vue-plugins.js, but could not be resolved – treating it as an external dependency
Cannot find some dependencies. You may have to run "bench setup requirements" to install them.
MISSING_GLOBAL_NAME : No name was provided for external module 'vue/dist/vue.js' in output.globals – guessing 'Vue'
UNRESOLVED_IMPORT : ‘vue/dist/vue.js’ is imported by …/erpnext/erpnext/public/js/hub/marketplace.js, but could not be resolved – treating it as an external dependency
Cannot find some dependencies. You may have to run “bench setup requirements” to install them.
UNRESOLVED_IMPORT : ‘vue/dist/vue.js’ is imported by …/erpnext/erpnext/public/js/hub/vue-plugins.js, but could not be resolved – treating it as an external dependency
Cannot find some dependencies. You may have to run “bench setup requirements” to install them.
MISSING_GLOBAL_NAME : No name was provided for external module ‘vue/dist/vue.js’ in output.globals – guessing ‘Vue’
Hi all, thanks for the good work, really impressive so far.
I seem to have come across a bug, the drop down menu in Item Variant Settings comes up empty, there are no fields available for selection:
I have two instances. One the live instance and another one(VM-V13) spun from the snapshot of live instance. Trying to upgrade the VM-V13. Got the above error.
made the adjustments in the live system. ie. removed the default values in the address doctype. 2. Took a backup
restored the site in VM-V13 with the new backup from file