From fc6c61d5e834d65b1b8d05057cb236b6d88c2b90 Mon Sep 17 00:00:00 2001 From: anothingguy Date: Thu, 14 Nov 2024 15:18:55 +0700 Subject: [PATCH] [IMP] remove string attribute in tree view Co-authored-by: Do Anh Duy --- .../migrate_allways/string_attribute_in_tree_view.yaml | 2 ++ tests/data_template/module_160/views/res_partner.xml | 2 +- tests/data_template/module_170/views/res_partner.xml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 odoo_module_migrate/migration_scripts/text_replaces/migrate_allways/string_attribute_in_tree_view.yaml diff --git a/odoo_module_migrate/migration_scripts/text_replaces/migrate_allways/string_attribute_in_tree_view.yaml b/odoo_module_migrate/migration_scripts/text_replaces/migrate_allways/string_attribute_in_tree_view.yaml new file mode 100644 index 0000000..8d4afb0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_replaces/migrate_allways/string_attribute_in_tree_view.yaml @@ -0,0 +1,2 @@ +.xml: + (]*?)\s+string="[^"]*": \1 diff --git a/tests/data_template/module_160/views/res_partner.xml b/tests/data_template/module_160/views/res_partner.xml index 510c407..af4a40d 100644 --- a/tests/data_template/module_160/views/res_partner.xml +++ b/tests/data_template/module_160/views/res_partner.xml @@ -7,7 +7,7 @@ - +