Return to version 12 - Patch to Names

Hi,

Considering that it have a new way of treat Names, in version 13, and it is stucking me of using the version 13, I need a tip to get it back to version 12. (or a way to do some workaround!)

Related topic: Traceback: frappe.exceptions.InvalidNameError: - Can't Submit Purchase Order

this change will break a lot of uses, considering that a lot of companies uses in its names a lot of forbidden characters (like “,”; “/”; “%”…)

https://github.com/frappe/frappe/pull/10030

@xickomesquita

Hope you have the old backup of SQL.

Just remove V13 and reinstall V12 import the SQL backup.

  1. Go to you frappe-bench folder
  2. use the following command to import your sql backup.
    sudo bench --force --site [site_name] restore /path_to_sql_file

Hope this will get you going and help you return back.

cheers