Migration script for odoo 12 modules up to odoo 13 and odoo 14
1 - Place your modules in the modules directory
2 - Run the up_to_14.py script from an IDE or use the following command in your Terminal { without the $ ofcourse :) }:
$ python up_to_14.py
This script migrates the code , not variable names or model names.
So, for naming issues you will have to fix them manually