<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/product, 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>[I18N] Update translation terms from Transifex</title>
<updated>2021-05-29T22:12:16+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-05-29T22:12:16+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1f1cf4029fde27eee7be75fc24fa9218cbfebd23'/>
<id>1f1cf4029fde27eee7be75fc24fa9218cbfebd23</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-05-22T22:12:59+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-05-22T22:12:59+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3780fa2af5d5f6cac91e419bcab69a253db280bd'/>
<id>3780fa2af5d5f6cac91e419bcab69a253db280bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-05-15T22:14:02+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-05-15T22:14:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=068bf17499ff00e4245cb1f471a16a06f0bdc903'/>
<id>068bf17499ff00e4245cb1f471a16a06f0bdc903</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] product: correctly consider context key for display_name</title>
<updated>2021-05-12T09:58:41+00:00</updated>
<author>
<name>Romain Derie</name>
<email>rde@odoo.com</email>
</author>
<published>2021-05-11T11:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=045c6ad3353bb0849d3f93d3488d8dcd8b8975b0'/>
<id>045c6ad3353bb0849d3f93d3488d8dcd8b8975b0</id>
<content type='text'>
Regarding of the `display_default_code` context value, `display_name` is
supposed to return the product code or not, eg:
&gt; product.display_name
&gt; '[FURN_6666] Acoustic Bloc Screens'
&gt; product.with_context(display_default_code=False).display_name
&gt; 'Acoustic Bloc Screens'

But since the context was not considered when accessing this field, it would
always return the cached value, which was set from the first time that field
was read, with the `display_default_code` value used at that time.

tl;dr: `display_name` was ignoring the context once cached.

One of the critical issue was that internal code were displayed on the eshop
cart (not the eshop itself), see `name_short`.

task-2517830

closes odoo/odoo#70727

X-original-commit: b5b4d38adf1f3960cda21b795a26e67b978b2901
Signed-off-by: Raphael Collet (rco) &lt;rco@openerp.com&gt;
Signed-off-by: Romain Derie &lt;rdeodoo@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regarding of the `display_default_code` context value, `display_name` is
supposed to return the product code or not, eg:
&gt; product.display_name
&gt; '[FURN_6666] Acoustic Bloc Screens'
&gt; product.with_context(display_default_code=False).display_name
&gt; 'Acoustic Bloc Screens'

But since the context was not considered when accessing this field, it would
always return the cached value, which was set from the first time that field
was read, with the `display_default_code` value used at that time.

tl;dr: `display_name` was ignoring the context once cached.

One of the critical issue was that internal code were displayed on the eshop
cart (not the eshop itself), see `name_short`.

task-2517830

closes odoo/odoo#70727

X-original-commit: b5b4d38adf1f3960cda21b795a26e67b978b2901
Signed-off-by: Raphael Collet (rco) &lt;rco@openerp.com&gt;
Signed-off-by: Romain Derie &lt;rdeodoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-05-08T22:14:37+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-05-08T22:14:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3b8e1e0e30e4d7ec0eb4b1a4b3c4c54132028748'/>
<id>3b8e1e0e30e4d7ec0eb4b1a4b3c4c54132028748</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] product: `_prepare_seller` reuse the orm cache</title>
<updated>2021-05-06T13:38:12+00:00</updated>
<author>
<name>Rémy Voet (ryv)</name>
<email>ryv@odoo.com</email>
</author>
<published>2021-02-02T11:15:46+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f91ba797469f4a132b145b907c056a1acd6805de'/>
<id>f91ba797469f4a132b145b907c056a1acd6805de</id>
<content type='text'>
Make `seller_ids` `depends_context` of company to
avoid shared cache with different company. The purpose
is to avoid making a SQL search for each `_prepare_seller` and use
the ORM cache (which depends of the company in env).
Also change the `_order` of `product.supplierinfo` to be
determinist and consistent with the `_prepare_seller`.

task-2439019</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make `seller_ids` `depends_context` of company to
avoid shared cache with different company. The purpose
is to avoid making a SQL search for each `_prepare_seller` and use
the ORM cache (which depends of the company in env).
Also change the `_order` of `product.supplierinfo` to be
determinist and consistent with the `_prepare_seller`.

task-2439019</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-05-01T22:14:29+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-05-01T22:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a7060b686e6888da9dd3fb9c46c5e037393a6844'/>
<id>a7060b686e6888da9dd3fb9c46c5e037393a6844</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-04-24T22:15:24+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-04-24T22:15:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=22cf05f652ceb1f0f2e17d160cdf8d0cc5a00a15'/>
<id>22cf05f652ceb1f0f2e17d160cdf8d0cc5a00a15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-04-17T22:15:56+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-04-17T22:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ae16e47944bdfaa5c044b6c76a1102f9f2f525a1'/>
<id>ae16e47944bdfaa5c044b6c76a1102f9f2f525a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-04-10T22:18:14+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-04-10T22:18:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6e9e26a92192b313cc899d1d4d8b23a00d30479d'/>
<id>6e9e26a92192b313cc899d1d4d8b23a00d30479d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
