<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/website_partner/data/website_partner_data.xml, 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] *: correctly read/write website_published</title>
<updated>2019-08-03T09:51:22+00:00</updated>
<author>
<name>Romain Derie</name>
<email>rde@odoo.com</email>
</author>
<published>2019-05-13T17:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cc1d78a80b518bd5eaec7eb70d7bc14ec4c31275'/>
<id>cc1d78a80b518bd5eaec7eb70d7bc14ec4c31275</id>
<content type='text'>
The `website_published` field from the website's mixins is basically a readonly
from `is_published` field.
On read, this field will simply read `is_published` and check if the record's
website_id is accessible (only for the multi mixin).
On write, it will always write on `is_published`.

This commit improves a few things:
- A lot of code was writting on website_published which was just then writting
  on is_published. Writting directly on is_published makes more sense.
- Some backend fields would still reference `website_published` instead of
  `is_published` which would just go through the related for no reason.
  Plus, using `is_published` will make the field tooltip more accurate as we
  are not in a website context ('Visible on current website' to 'Is Published')
- Filter and search on tree view were still using the `website_published`
  related field, which is just a readonly when we are not in a frontend
  context.
- Some create and write function would have security check on
  `website_published` value but that was wrong as the user could bypass that by
  simply writting on `is_published`. For the write method, check `is_published`
  is more accurate as it will cover both case since `website_published` will
  then call the write method on `is_published`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `website_published` field from the website's mixins is basically a readonly
from `is_published` field.
On read, this field will simply read `is_published` and check if the record's
website_id is accessible (only for the multi mixin).
On write, it will always write on `is_published`.

This commit improves a few things:
- A lot of code was writting on website_published which was just then writting
  on is_published. Writting directly on is_published makes more sense.
- Some backend fields would still reference `website_published` instead of
  `is_published` which would just go through the related for no reason.
  Plus, using `is_published` will make the field tooltip more accurate as we
  are not in a website context ('Visible on current website' to 'Is Published')
- Filter and search on tree view were still using the `website_published`
  related field, which is just a readonly when we are not in a frontend
  context.
- Some create and write function would have security check on
  `website_published` value but that was wrong as the user could bypass that by
  simply writting on `is_published`. For the write method, check `is_published`
  is more accurate as it will cover both case since `website_published` will
  then call the write method on `is_published`</pre>
</div>
</content>
</entry>
<entry>
<title>[REINDENT] website_partner: reindent</title>
<updated>2015-11-24T15:09:28+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2015-11-24T11:50:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=593f9c3052c63d5542455ae3ca973f62ad0747b8'/>
<id>593f9c3052c63d5542455ae3ca973f62ad0747b8</id>
<content type='text'>
Due to the use of odoo tag in xml files some reindenting is necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to the use of odoo tag in xml files some reindenting is necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MIG] website_partner: migrated into new api</title>
<updated>2015-11-24T15:09:28+00:00</updated>
<author>
<name>Srushti Patel</name>
<email>shp@odoo.com</email>
</author>
<published>2015-08-18T06:26:35+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=62cd76ed22dbd7f0f4f9d310188d6d4bced48000'/>
<id>62cd76ed22dbd7f0f4f9d310188d6d4bced48000</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MOV] website_partner: reorganize files</title>
<updated>2015-11-24T13:28:57+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2015-11-24T11:49:01+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f15bd6ee4119b8cb3760084f566fad6455a699c8'/>
<id>f15bd6ee4119b8cb3760084f566fad6455a699c8</id>
<content type='text'>
Follow the new API guidelines for naming files and conventions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow the new API guidelines for naming files and conventions.
</pre>
</div>
</content>
</entry>
</feed>
