Skip to content

Commit

Permalink
[IMP] move text replaces to new logic of rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-zanotti committed Dec 19, 2022
1 parent 211737b commit 7346d0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 1 addition & 8 deletions odoo_module_migrate/migration_scripts/migrate_150_160.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

from odoo_module_migrate.base_migration_script import BaseMigrationScript

_TEXT_REPLACES = {
".py": {
r"\.get_xml_id\(": ".get_external_id(",
r"\.fields_get_keys\(\)": "._fields",
},
}


class MigrationScript(BaseMigrationScript):
_TEXT_REPLACES = _TEXT_REPLACES
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.py:
\.get_xml_id\(: ".get_external_id("
\.fields_get_keys\(\): "._fields"

0 comments on commit 7346d0c

Please sign in to comment.