POS interface greys out after 'Field pos_total_qty_ not found` message

Adding any item results in this error: Screenshot-2018-4-12 New Sales Invoice 1 - New Sales Invoice 1

I’m pretty lost.

Try with bench migrate.

If migrate won’t work then try

 bench --site site-name reload-doc accounts doctype sales_invoice

@saurabh6790, I’ve done both, none of them worked:

$ bench migrate
Migrating site1.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
$ bench --site site1.local reload-doc accounts doctype sales_invoice

Last command exited with no output, which I’m assuming is probably normal.

There’s also master and develop mismatch:Screenshot-2018-4-12 New Sales Invoice 1 - New Sales Invoice 1(1)

I’ve done this before, but this time it worked for whatever reason:

$ bench switch-to-master
Switching for frappe
INFO:bench.utils:git config --unset-all remote.upstream.fetch
INFO:bench.utils:git config --add remote.upstream.fetch '+refs/heads/*:refs/remotes/upstream/*'
INFO:bench.utils:git fetch upstream 
INFO:bench.utils:git checkout master
error: Your local changes to the following files would be overwritten by checkout:
	yarn.lock
Please, commit your changes or stash them before you can switch branches.
Aborting
Error switching to branch master for frappe
Switching for erpnext
INFO:bench.utils:git config --unset-all remote.upstream.fetch
INFO:bench.utils:git config --add remote.upstream.fetch '+refs/heads/*:refs/remotes/upstream/*'
INFO:bench.utils:git fetch upstream 
INFO:bench.utils:git checkout master
Checking out files: 100% (1673/1673), done.
Switched to branch 'master'
Your branch is up-to-date with 'upstream/master'.
INFO:bench.utils:git merge upstream/master
Already up-to-date.
Successfully switched branches for:
erpnext
()
Switched to master
Please run `bench update --patch` to be safe from any differences in database schema
$ bench version
erpnext 10.1.20
frappe 10.1.21
$ bench update --patch
Backing up sites...
Patching sites...
Migrating site1.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-workers:frappe-bench-frappe-schedule: stopped
frappe-bench-workers:frappe-bench-frappe-default-worker-0: stopped
frappe-bench-workers:frappe-bench-frappe-long-worker-0: stopped
frappe-bench-workers:frappe-bench-frappe-short-worker-0: stopped
frappe-bench-web:frappe-bench-node-socketio: stopped
frappe-bench-web:frappe-bench-frappe-web: stopped
frappe-bench-workers:frappe-bench-frappe-schedule: started
frappe-bench-workers:frappe-bench-frappe-default-worker-0: started
frappe-bench-workers:frappe-bench-frappe-long-worker-0: started
frappe-bench-workers:frappe-bench-frappe-short-worker-0: started
frappe-bench-web:frappe-bench-frappe-web: started
frappe-bench-web:frappe-bench-node-socketio: started
________________________________________________________________________________
Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
()