<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/openerp/tools/image.py, 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>[REF] openerp: move `openerp` to `odoo`</title>
<updated>2016-09-02T15:28:12+00:00</updated>
<author>
<name>Raphael Collet</name>
<email>rco@openerp.com</email>
</author>
<published>2016-09-02T13:58:39+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=9e64f9f9514194d74e166b032add8511182f2677'/>
<id>9e64f9f9514194d74e166b032add8511182f2677</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] *: do not use computed fields for resizing images</title>
<updated>2016-04-01T22:47:57+00:00</updated>
<author>
<name>Raphael Collet</name>
<email>rco@openerp.com</email>
</author>
<published>2016-03-29T08:52:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7a483a85d46a7298b0b3d27efeefbcd2a11772c4'/>
<id>7a483a85d46a7298b0b3d27efeefbcd2a11772c4</id>
<content type='text'>
Otherwise recomputation may fail with "record does not exist or has been
deleted" when creating records with a value directly set for e.g.
'image_mediun' on a new product.

The issue comes from the storage of the images.  When creating a product, the
creation of an attachment for storing the field `image_medium` triggers the
recomputation of that field before its dependency `image` is set.  As `image`
is initially null, `image_medium` is recomputed as null, and this deletes the
attachment just created before the latter has completed its creation!  As a
consequence, some code at the end of `create` for the attachment crashes
because the record has been deleted.

The following models have been fixed: `fleet.vehicle.model.brand`,
`hr.employee`, `im_livechat.channel`, `mail.channel`, `payment.acquirer`,
`pos.category`, `product.template`, `product.public.category`, `res.partner`.

opw 666330
Closes #11516
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise recomputation may fail with "record does not exist or has been
deleted" when creating records with a value directly set for e.g.
'image_mediun' on a new product.

The issue comes from the storage of the images.  When creating a product, the
creation of an attachment for storing the field `image_medium` triggers the
recomputation of that field before its dependency `image` is set.  As `image`
is initially null, `image_medium` is recomputed as null, and this deletes the
attachment just created before the latter has completed its creation!  As a
consequence, some code at the end of `create` for the attachment crashes
because the record has been deleted.

The following models have been fixed: `fleet.vehicle.model.brand`,
`hr.employee`, `im_livechat.channel`, `mail.channel`, `payment.acquirer`,
`pos.category`, `product.template`, `product.public.category`, `res.partner`.

opw 666330
Closes #11516
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX][IMP] base: partner image</title>
<updated>2016-01-11T16:47:44+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2016-01-11T15:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=929e060c07bd6dfeb8bcbd6323e70c08f96e9c84'/>
<id>929e060c07bd6dfeb8bcbd6323e70c08f96e9c84</id>
<content type='text'>
Do not compute the partner default image when being in testing or install mode.
For example when importing a huge list of contacts there is no need to compute
a default image for every contact.

Moreover the random colorize is more limited. There is no need to explore the
whole space of rgb. It is now limited by steps in the rgb random, leading to
less different images being possible. There are currently 512 possible
combinaisons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not compute the partner default image when being in testing or install mode.
For example when importing a huge list of contacts there is no need to compute
a default image for every contact.

Moreover the random colorize is more limited. There is no need to explore the
whole space of rgb. It is now limited by steps in the rgb random, leading to
less different images being possible. There are currently 512 possible
combinaisons.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port of branch saas-6 up to 63e92cb</title>
<updated>2015-07-22T14:17:54+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2015-07-22T14:17:54+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2cf91d16a5f844a2a3d5d22c025c180a6615bab8'/>
<id>2cf91d16a5f844a2a3d5d22c025c180a6615bab8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port of branch 8.0 up to 7d01029</title>
<updated>2015-06-30T13:29:03+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2015-06-30T13:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b16fd16e9038a50ae68ed700afc42b9b205f8c49'/>
<id>b16fd16e9038a50ae68ed700afc42b9b205f8c49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] tools: add support for transparency of PNG images</title>
<updated>2015-06-25T16:56:54+00:00</updated>
<author>
<name>Developer Team</name>
<email>info@cubicerp.com</email>
</author>
<published>2015-04-10T11:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b0ff033d695ed7da2ae5c6c08735ed09da70324e'/>
<id>b0ff033d695ed7da2ae5c6c08735ed09da70324e</id>
<content type='text'>
Fixes #2569
Closes #6260
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2569
Closes #6260
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] tools: add support for transparency of PNG images</title>
<updated>2015-06-25T16:51:03+00:00</updated>
<author>
<name>Developer Team</name>
<email>info@cubicerp.com</email>
</author>
<published>2015-04-10T11:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bf0630e4278088517bc4b81c796d8aa4ebf7fa7a'/>
<id>bf0630e4278088517bc4b81c796d8aa4ebf7fa7a</id>
<content type='text'>
Fixes #2569
Closes #6260
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2569
Closes #6260
</pre>
</div>
</content>
</entry>
<entry>
<title>[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text</title>
<updated>2015-06-02T01:16:04+00:00</updated>
<author>
<name>Olivier Dony</name>
<email>odo@openerp.com</email>
</author>
<published>2015-06-01T22:39:30+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0bd454534818941bc3216025ebe3dcac3d78c19d'/>
<id>0bd454534818941bc3216025ebe3dcac3d78c19d</id>
<content type='text'>
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] website: need to keep transparency when upload a png image on the website</title>
<updated>2015-04-19T12:00:00+00:00</updated>
<author>
<name>Christophe Matthieu</name>
<email>chm@odoo.com</email>
</author>
<published>2015-04-19T12:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=63e1d3628341df97345bba144a0b897af51d739b'/>
<id>63e1d3628341df97345bba144a0b897af51d739b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port of branch 8.0 up to 18a0ba3</title>
<updated>2015-04-17T13:23:43+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2015-04-17T13:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e941c0f77c868c89273ebf9897414e2930496e48'/>
<id>e941c0f77c868c89273ebf9897414e2930496e48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
