V12 Upgrade Issue: DocType Item Manufacturer not found

What do you see if you go to frappe-bench/apps/erpnext and do a git status? Does it show as version-12 or whatever was before master? master-hotfix, etc.

If it is master-hotfix, try this command from erpnext folder:

git config remote.upstream.fetch “+refs/heads/(star):refs/remotes/upstream/(star)”.

Now in this command, the technology behind this forum messes up the characters a bit, so if you didn’t realize that and correct it, that could be the problem:

Just run

git config --replace-all remote.upstream.fetch (quotes)+refs/heads/(star):refs/remotes/upstream/(star)(quotes). Where (quotes) is ". or if that gets messed up the Shift+’ which should look like ‘’.

Now:

bench switch-to-branch version-12 --upgrade
bench update --patch

And when the DocType Item Manufacturer not found shows up:

bench run-patch erpnext.patches.v12_0.make_item_manufacturer

if you have multiple sites you will have to do that for each. The default site will go through when you run it the first time, but for the others you will have to use the command

bench --site sitename run-patch erpnext.patches.v12_0.make_item_manufacturer

Hope that helps

Thanks

Jay

3 Likes