Skip to content

Commit

Permalink
fixup! squash! [FIX] Compatibilize web_widget_domain_v11 with web_adv…
Browse files Browse the repository at this point in the history
…anced_search_x2x
  • Loading branch information
yajo committed Jul 20, 2017
1 parent 294ff42 commit 7e06c5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Expand Up @@ -121,7 +121,7 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
/**
* Return the widget that should be used to render this proposition.
*
* If it returns `underinfed`, it means you should use a simple
* If it returns `undefined`, it means you should use a simple
* `<input type="text"/>`.
*/
x2x_widget_name: function () {
Expand Down
12 changes: 0 additions & 12 deletions web_widget_domain_v11/views/ir_filters.xml
Expand Up @@ -16,16 +16,4 @@
</field>
</record>

<record id="ir_filters_view_tree" model="ir.ui.view">
<field name="name">Use domain widget</field>
<field name="model">ir.filters</field>
<field name="inherit_id" ref="base.ir_filters_view_tree"/>
<field name="arch" type="xml">
<field name="domain" position="attributes">
<attribute name="widget">char_domain</attribute>
<attribute name="options">{'model_field': 'model_id'}</attribute>
</field>
</field>
</record>

</odoo>

0 comments on commit 7e06c5c

Please sign in to comment.