<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/web/static/src/js/widgets/model_field_selector.js, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[IMP] *: update notifications to optional title</title>
<updated>2020-06-12T09:01:50+00:00</updated>
<author>
<name>Julien Mougenot</name>
<email>jum@odoo.com</email>
</author>
<published>2020-06-12T09:01:44+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c4786fccfd23360a02e442c48ae2fb9f1e70aa4c'/>
<id>c4786fccfd23360a02e442c48ae2fb9f1e70aa4c</id>
<content type='text'>
closes odoo/odoo#52826

Related: odoo/enterprise#11084
Signed-off-by: Aaron Bohy (aab) &lt;aab@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes odoo/odoo#52826

Related: odoo/enterprise#11084
Signed-off-by: Aaron Bohy (aab) &lt;aab@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: properly set page data in 'ModelFieldSelector' widget</title>
<updated>2020-03-09T16:46:20+00:00</updated>
<author>
<name>shreya thakrar</name>
<email>sht@odoo.com</email>
</author>
<published>2019-09-02T06:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b3ece2074a2cc40faf3b76d39fa86490239e8be0'/>
<id>b3ece2074a2cc40faf3b76d39fa86490239e8be0</id>
<content type='text'>
When passing a default field chain to ModelFieldSelector, the page data is
not set correctly for the relational field. To understand the issue :

- login to v11 enterprise all db branch in runbot (debug mode recommended)
- create a mass mailing, add subject, select 'Contact' in `Recipients` field
- click on domain selector and select 'Company' from ModelFieldSelector popover
- click somewhere else to close the popover
- again open domain selector and observe the popover

Current behavior : fields of  `Contact` are visible in the page even thogh
                   `Company` is selected in the ModelFieldSelector
Expected behavior : fields of `Company` should be visible

This commit fixes the issue by correctly pushing the page data
in ModelFieldSelector.

task - 2058702

closes odoo/odoo#47231

X-original-commit: 5746c2705c324b124445f38ead4f75624b3f99e3
Related: odoo/enterprise#9124
Signed-off-by: Damien Bouvy (dbo) &lt;dbo@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When passing a default field chain to ModelFieldSelector, the page data is
not set correctly for the relational field. To understand the issue :

- login to v11 enterprise all db branch in runbot (debug mode recommended)
- create a mass mailing, add subject, select 'Contact' in `Recipients` field
- click on domain selector and select 'Company' from ModelFieldSelector popover
- click somewhere else to close the popover
- again open domain selector and observe the popover

Current behavior : fields of  `Contact` are visible in the page even thogh
                   `Company` is selected in the ModelFieldSelector
Expected behavior : fields of `Company` should be visible

This commit fixes the issue by correctly pushing the page data
in ModelFieldSelector.

task - 2058702

closes odoo/odoo#47231

X-original-commit: 5746c2705c324b124445f38ead4f75624b3f99e3
Related: odoo/enterprise#9124
Signed-off-by: Damien Bouvy (dbo) &lt;dbo@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: add support for TRUE_LEAF and FALSE_LEAF in ModelFieldSelector</title>
<updated>2019-08-09T12:32:27+00:00</updated>
<author>
<name>Jinal Patel</name>
<email>jip@odoo.com</email>
</author>
<published>2019-08-09T05:09:01+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f0fdfbf44e1db97f9d9b1425be81b53138c01bd6'/>
<id>f0fdfbf44e1db97f9d9b1425be81b53138c01bd6</id>
<content type='text'>
before this commit, domain selector widget does not support
TRUE_LEAF and FALSE_LEAF i.e. [(1, '=', 1)] and [(0, '=', 1)] respectively,
the reason is the chain part of the domain i.e. field name has value 1/0 and
we don't have field name like 1 and 0 in domain and hence ModelFieldSelector
don't accept it

after this commit, domain selector can handle this special two domains which is
[(1, '=', 1)] and [(0, '=', 1)], add support for chain with 1/0 in ModelFieldSelector

task- 1998145

closes odoo/odoo#35603

Signed-off-by: Nicolas Martinelli (nim) &lt;nim@odoo.com&gt;


Co-authored-by: Mohammed Shekha &lt;msh@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
before this commit, domain selector widget does not support
TRUE_LEAF and FALSE_LEAF i.e. [(1, '=', 1)] and [(0, '=', 1)] respectively,
the reason is the chain part of the domain i.e. field name has value 1/0 and
we don't have field name like 1 and 0 in domain and hence ModelFieldSelector
don't accept it

after this commit, domain selector can handle this special two domains which is
[(1, '=', 1)] and [(0, '=', 1)], add support for chain with 1/0 in ModelFieldSelector

task- 1998145

closes odoo/odoo#35603

Signed-off-by: Nicolas Martinelli (nim) &lt;nim@odoo.com&gt;


Co-authored-by: Mohammed Shekha &lt;msh@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] web: adapt code after jQuery update</title>
<updated>2019-03-06T19:07:17+00:00</updated>
<author>
<name>Vincent Schippefilt</name>
<email>vsc@odoo.com</email>
</author>
<published>2019-03-06T13:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ab56e637b7f97ddcdbcc9baea99ae097e342409c'/>
<id>ab56e637b7f97ddcdbcc9baea99ae097e342409c</id>
<content type='text'>
Part of task 1896658

Co-authored-by: Aaron Bohy &lt;aab@odoo.com&gt;
Co-authored-by: Christophe Matthieu &lt;chm@odoo.com&gt;
Co-authored-by: Mathieu Duckerts-Antoine &lt;dam@odoo.com&gt;
Co-authored-by: David Monjoie &lt;dmo@odoo.com&gt;
Co-authored-by: Martin Geubelle &lt;mge@odoo.com&gt;
Co-authored-by: svs-odoo &lt;svs@odoo.com&gt;
Co-authored-by: Vincent Schippefilt &lt;vsc@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of task 1896658

Co-authored-by: Aaron Bohy &lt;aab@odoo.com&gt;
Co-authored-by: Christophe Matthieu &lt;chm@odoo.com&gt;
Co-authored-by: Mathieu Duckerts-Antoine &lt;dam@odoo.com&gt;
Co-authored-by: David Monjoie &lt;dmo@odoo.com&gt;
Co-authored-by: Martin Geubelle &lt;mge@odoo.com&gt;
Co-authored-by: svs-odoo &lt;svs@odoo.com&gt;
Co-authored-by: Vincent Schippefilt &lt;vsc@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web: use `showSearchInput` in model field selector</title>
<updated>2019-01-08T13:46:01+00:00</updated>
<author>
<name>Martin Geubelle</name>
<email>mge@odoo.com</email>
</author>
<published>2019-01-07T12:27:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b4e9410f6a1922ff47ed9f2d38fe685ee4d57dbd'/>
<id>b4e9410f6a1922ff47ed9f2d38fe685ee4d57dbd</id>
<content type='text'>
The option `showSearchInput`, which is used on the model field selector to display a search
input that filters the displayed fields, is not set by default.

This includes the model field selector instantiated in the `domain` field widget.

closes odoo/odoo#29986</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The option `showSearchInput`, which is used on the model field selector to display a search
input that filters the displayed fields, is not set by default.

This includes the model field selector instantiated in the `domain` field widget.

closes odoo/odoo#29986</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web: add `showSearchInput` option on ModelFieldSelector</title>
<updated>2018-10-15T11:59:33+00:00</updated>
<author>
<name>Martin Geubelle</name>
<email>mge@odoo.com</email>
</author>
<published>2018-10-01T13:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=70560d1f11074f755a8cd67e56212a61e789deb9'/>
<id>70560d1f11074f755a8cd67e56212a61e789deb9</id>
<content type='text'>
The option `showSearchInput` has been added on the ModelFieldSelector to allow
the user to easily filter the displayed fields. An input is displayed in the
popover title.

The search method is fuzzy for optimal results.

closes odoo/odoo#27788</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The option `showSearchInput` has been added on the ModelFieldSelector to allow
the user to easily filter the displayed fields. An input is displayed in the
popover title.

The search method is fuzzy for optimal results.

closes odoo/odoo#27788</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: can focus out then focus in when currently being selected</title>
<updated>2018-08-13T15:09:28+00:00</updated>
<author>
<name>Christophe Matthieu</name>
<email>chm@odoo.com</email>
</author>
<published>2018-07-31T09:16:25+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=9eef25ae0ab557f333ae5c6ff0f5699981f0bd00'/>
<id>9eef25ae0ab557f333ae5c6ff0f5699981f0bd00</id>
<content type='text'>
Before this fix, in studio when the user select the field then focus out
then focus in and selected a child field, an exception is triggered because
the last page is visible but the data are removed.
A test in enterprise (web_studio) is added with this commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this fix, in studio when the user select the field then focus out
then focus in and selected a child field, an exception is triggered because
the last page is visible but the data are removed.
A test in enterprise (web_studio) is added with this commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web: add more filtering and sorting options on ModelFieldSelector</title>
<updated>2018-08-13T15:09:28+00:00</updated>
<author>
<name>Christophe Matthieu</name>
<email>chm@odoo.com</email>
</author>
<published>2018-07-25T09:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=061175e598939ff30c992bf606f5c9e200854072'/>
<id>061175e598939ff30c992bf606f5c9e200854072</id>
<content type='text'>
A new `filter` option has been added to filter fields with an optional function.
A new `order` option has been added to sort displayed fields.

The `followRelations` options have also been extended to take a function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A new `filter` option has been added to filter fields with an optional function.
A new `order` option has been added to sort displayed fields.

The `followRelations` options have also been extended to take a function.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, adapt display classes</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-04-24T15:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7f10b55a5035bd3cab48ba58a519510a25b94f60'/>
<id>7f10b55a5035bd3cab48ba58a519510a25b94f60</id>
<content type='text'>
The system completely changed. I also had to adapt classes to new
screen breakpoints.

hidden/hide -&gt; d-none
show -&gt; d-block
hidden-xs -&gt; d-none d-md-(block/inline/...)
hidden-sm -&gt; d-md-none d-lg-(block/inline/...)
hidden-md -&gt; d-lg-none d-xl-(block/inline/...)
hidden-lg -&gt; d-xl-none
visible-xs-* -&gt; d-* d-md-none
visible-sm-* -&gt; d-none d-md-* d-lg-none
visible-md-* -&gt; d-none d-lg-* d-xl-none
visible-lg-* -&gt; d-none d-xl-*
hidden-print -&gt; d-print-none
visible-print-* -&gt; d-none d-print-*
...
and all possible combination of those had to be handled too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The system completely changed. I also had to adapt classes to new
screen breakpoints.

hidden/hide -&gt; d-none
show -&gt; d-block
hidden-xs -&gt; d-none d-md-(block/inline/...)
hidden-sm -&gt; d-md-none d-lg-(block/inline/...)
hidden-md -&gt; d-lg-none d-xl-(block/inline/...)
hidden-lg -&gt; d-xl-none
visible-xs-* -&gt; d-* d-md-none
visible-sm-* -&gt; d-none d-md-* d-lg-none
visible-md-* -&gt; d-none d-lg-* d-xl-none
visible-lg-* -&gt; d-none d-xl-*
hidden-print -&gt; d-print-none
visible-print-* -&gt; d-none d-print-*
...
and all possible combination of those had to be handled too.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: FieldSelector: add model in field attributes</title>
<updated>2017-11-02T15:02:11+00:00</updated>
<author>
<name>Martin Geubelle</name>
<email>mge@odoo.com</email>
</author>
<published>2017-11-02T12:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3e63f01cf1c3acab24221f1033d5d6ae6b33303f'/>
<id>3e63f01cf1c3acab24221f1033d5d6ae6b33303f</id>
<content type='text'>
The key `model` was missing in the FieldSelector selected fields.
The model can be useful for example to create a one2many related field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The key `model` was missing in the FieldSelector selected fields.
The model can be useful for example to create a one2many related field.
</pre>
</div>
</content>
</entry>
</feed>
