TypeError: argument of type 'NoneType' is not iterable.V-12

Getting Error= TypeError: argument of type ‘NoneType’ is not iterable
When Adding New Supplier or Customer.
Please let me know how to resolve it

way you have posted the query, no one can help you
Please give proper Detail like

  1. Have you done some customisation on this then please share the script
  2. If You are using Vanilla Setup Please mention Version steps to reproduce, console logs

Thanks for reply,
no customization, month ago upgraded from V-10 to V-12, installed on ubuntu-16.
no detail for error just showing msg
TypeError: argument of type ‘NoneType’ is not iterable

any solution !!

ok, this is the solution;

cd /home/frappe/frappe-bench/apps/frappe
git stash
cd /home/frappe/frappe-bench/apps/erpnext
git stash
cd /home/frappe/frappe-bench
bench update --reset
That should work.