Author: |
Eezee-It |
License: |
no license |
Branch: |
rva/epl-1767 |
Repository: |
eezee-it/noviat-apps |
Dependencies: |
web |
Languages: |
JavaScript (44, 57.9%),
Markdown (8, 10.5%),
Python (16, 21.1%),
and
XML (8, 10.5%) |
<h1>Domain Field Selectable</h1>
<p>On Odoo 11.0 we can't select record on a char field with the widget "domain", with this module if you added the option "'selectable': 1" to the widget, you can select records to add to the filter.</p>
<h2>Exemple of use</h2>
<p><code>xml
<field name="mailing_domain" widget="domain" attrs="{'invisible': [('mailing_model_name', '=', 'mail.mass_mailing.list')]}" options="{'model': 'mailing_model_real', 'selectable':1}" context="{'search_default_not_opt_out':1}"/>
</code></p>
<h2>Improvement</h2>
<ul>
<li>On Odoo 10.0 and before if you make a search on the domain pop-up, the "domain" field received this domain, whith this module each ids of search is added to the domain.</li>
</ul>