[Mega Thread] Version 12 Release Bugs

Run the following before update. It seems patches are in the wrong order.

bench run-patch erpnext.patches.v12_0.make_item_manufacturer

1 Like

I have this bug in v12’s Dashboard Widget. I set a Role for this particular widget and when I hit “Save”, the role was cleared.

Another bug I found:

When I click on Chart of Accounts from this page:

I received this:

Your interface seems to be different. This is what i have on mine and everything is fine:

check to see if you’re on Version-12 as shown in this screenshot:

image

1 Like

Try this WrongOptionsDoctypeLinkError: Item: Options must be a valid DocType for field Manufacturers in row 130 - #3 by Deepika

Pull the changes from the version-12 branch and check again. This is working correctly for me:

Thank you, Worked like a charm.

bench run-patch erpnext.patches.v12_0.make_item_manufacturer

That fixed that error and then ran bench update --patch

I did run into a problem with the website couldn’t login, I think there was an issue with css js files

I rebooted and ran bench update again and everything seems fine now, will report any bugs or issues I come across

It worked fine but I had to install in develop first, then I setup the production.

sudo python install.py --develop --user frappe
sudo bench setup production --user frappe

Still testing the v12 features

Hi… I’m trying to install version 12 correctly…

Some issues:

  1. I can’t manage users permissions
  2. My Quality Management module seams to be broke:

Maye I had broked it, when I tried to fix the null issue on v12 (probably did a wrong git command…).

Somebody knows how to reinstall that module?

Pull the v12 branch again and then run migrate.

Hi, after version 12 upgrade, modules are hidden from the desk. What could be the problem? What did I do wrong?

Both frappe and erpnext needs to be on version 12. Can you please double check by running command bench version from frappe-bench folder.

Thanks & Regards,
Kalpit

This is not the standard feature (you may be running another dashboard in your custom app)

okay, it seems, it upgraded frappe, but not erpnext fully

Output

bench version
erpnext 11.1.48
frappe 12.0.0
fatal: not a git repository (or any of the parent directories): .gitPreformatted text

Thank you for your help… We have mixed it up with the previous dashboard app that we were exploring.

Run bench update again. Your ERPNext app should be on v12 for the modules to work.

Thank you kennethsequeira and @flexy2ky , both of you are correct. We had our ERPNext at v11.1.46. Problem is solved now

After bench update, it shows me that im already up to date

 sudo bench update
[sudo] password for vaditajs:
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up to date.
 master branch is renamed to version-11 and develop to version-12. Please switch to new branches to get future updates.

To switch to version 11, run the following commands: bench switch-to-branch version-11

How can I switch branch for erpnext to version-12?

sudo bench switch-to-branch version-12 erpnext
Branch version-12 does not exist in Upstream for erpnext
Switched to version-12
Please run `bench update --patch` to be safe from any differences in database schema
vaditajs@v65-6426-40:/home/erpnext/frappe-bench$ sudo bench update --patch
 master branch is renamed to version-11 and develop to version-12. Please switch to new branches to get future updates.

To switch to version 11, run the following commands: bench switch-to-branch version-11

Try this:

Cant move erpnext to v12 but frappe. ?

root@ip-172-31-33-103:/home/frappe/frappe-bench# bench switch-to-branch version-12 --upgrade
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 version-12
Already on ‘version-12’
Your branch is up-to-date with ‘upstream/version-12’.
INFO:bench.utils:git merge upstream/version-12
Already up-to-date.
Branch version-12 does not exist in Upstream for erpnext
Successfully switched branches for:
frappe
Switched to version-12
Please run bench update --patch to be safe from any differences in database schema
root@ip-172-31-33-103:/home/frappe/frappe-bench#

image

Regards.
Mark.