Skip to content

Commit

Permalink
Update migrate-odoo-12-to-13.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Yelizariev committed Oct 7, 2019
1 parent 783b74e commit b9ffe24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/migration/migrate-odoo-12-to-13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ New API
# https://github.com/odoo/odoo/commit/a8767716cfd14abc7f87204d4d180811f663b648
find . -type f -name '*.py' | xargs perl -i -pe 's/ \@api.multi\n//g'
# view_type is deleted:
# https://github.com/odoo/odoo/commit/3cd7ed07a29c89ddf193796c20a812b9bf21e284
find . -type f -name '*.xml' | xargs perl -i -pe 's/\s*\<field name="view_type"\>form\<\/field\>\n//g'
# TODO: script for python files
# serialize_exception was move from odoo/http.py
# https://github.com/odoo/odoo/commit/0d1407a715901ea06e9a7211c0e3dbe09fadb785
# Following command fixes only partly. You need to do manually:
Expand Down

0 comments on commit b9ffe24

Please sign in to comment.