Skip to content

Commit

Permalink
Merge 0a91857 into 306c81a
Browse files Browse the repository at this point in the history
  • Loading branch information
flachica committed Aug 12, 2020
2 parents 306c81a + 0a91857 commit 7d4c93b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions odoo_module_migrate/migration_scripts/migrate_120_130.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
},
".xml": {
r"( |\t)*<field name=('|\")view_type('|\")>.*</field>\n": "",
r"src_model": "binding_model",
}
}
7 changes: 7 additions & 0 deletions tests/data_result/module_080_130/views/sale_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,11 @@
<field name="view_mode">tree,form</field>
<field name="domain">[('custom_field','=','d')]</field>
</record>

<act_window
id="act_window_example"
name="Example"
res_model="account.move.line"
binding_model="account.move"
view_mode="tree"/>
</odoo>
7 changes: 7 additions & 0 deletions tests/data_template/module_080/views/sale_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,12 @@
<field name="view_mode">tree,form</field>
<field name="domain">[('custom_field','=','d')]</field>
</record>

<act_window
id="act_window_example"
name="Example"
res_model="account.move.line"
src_model="account.move"
view_mode="tree"/>
</data>
</openerp>

0 comments on commit 7d4c93b

Please sign in to comment.