<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/fetchmail/models/mail_mail.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>[IMP] *: remove usage of `oldname` attribute</title>
<updated>2019-08-05T09:36:41+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2019-08-05T09:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=886eca0131716e137e60a1e398a9fc3996dfa425'/>
<id>886eca0131716e137e60a1e398a9fc3996dfa425</id>
<content type='text'>
This attribute is misleading as it is insufficient to correctly upgrade
the database. It only renames the column in the database, but other
operations are needed, like updating the corresponding `ir.model.fields`
record (and its xmlid). The default values and the translations are also
lost during the upgrade.

Moreover, this feature was misused. It was:
 - left on fields during multiple versions.
 - used on reports (SQL views). This would be ok if the feature was
   complete, but, as is, it was useless.
 - kept unchanged after a second renaming of the field (which can happen
   versions later the first rename).
 - used, even when the meaning of the field changed. i.e. the field
   `archived` has been renamed to the classic `active`, but the value
   in the database should be switched.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This attribute is misleading as it is insufficient to correctly upgrade
the database. It only renames the column in the database, but other
operations are needed, like updating the corresponding `ir.model.fields`
record (and its xmlid). The default values and the translations are also
lost during the upgrade.

Moreover, this feature was misused. It was:
 - left on fields during multiple versions.
 - used on reports (SQL views). This would be ok if the feature was
   complete, but, as is, it was useless.
 - kept unchanged after a second renaming of the field (which can happen
   versions later the first rename).
 - used, even when the meaning of the field changed. i.e. the field
   `archived` has been renamed to the classic `active`, but the value
   in the database should be switched.</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] fetchmail: clean and remove unnecessary code about mail.mail</title>
<updated>2019-04-26T10:01:25+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@odoo.com</email>
</author>
<published>2019-03-29T12:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c87b351855b4e2f2c42be8a73ea468d6b1006e57'/>
<id>c87b351855b4e2f2c42be8a73ea468d6b1006e57</id>
<content type='text'>
Purpose: small cleaning of code linked to mail.mail model in order to
avoid unnecessary overrides

  * create mail: default_fetchmail_server_id in context should be sufficient
    as it is the base mechanism of default_get;
  * write: unused in codebase. Anyway we should not write on mail and if it
    is the case giving fetchmail_server_id directly should be the correct
    way of doing it;

In case of a clean_context use we might loose default_fetchmail_server_id
key. It is used notably for tracking message generation. In that case
this information could be lost. However the whole concept of propagating
a fetrchmail_server-id from incoming mail server to outgoing emails (as
mail.mail is used only for sending email) is strange and does not require
so much specific code.

Sub-part of task 1853147 (pre-cleaning before implementing mail gateway
improvements)
Linked to PR #32974</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose: small cleaning of code linked to mail.mail model in order to
avoid unnecessary overrides

  * create mail: default_fetchmail_server_id in context should be sufficient
    as it is the base mechanism of default_get;
  * write: unused in codebase. Anyway we should not write on mail and if it
    is the case giving fetchmail_server_id directly should be the correct
    way of doing it;

In case of a clean_context use we might loose default_fetchmail_server_id
key. It is used notably for tracking message generation. In that case
this information could be lost. However the whole concept of propagating
a fetrchmail_server-id from incoming mail server to outgoing emails (as
mail.mail is used only for sending email) is strange and does not require
so much specific code.

Sub-part of task 1853147 (pre-cleaning before implementing mail gateway
improvements)
Linked to PR #32974</pre>
</div>
</content>
</entry>
<entry>
<title>[MIGR] fetchmail : migrate to new api</title>
<updated>2016-04-14T11:23:17+00:00</updated>
<author>
<name>Keyur Gajjar</name>
<email>kga@odoo.com</email>
</author>
<published>2016-03-30T08:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=20a7ba1b1458cc8e76bcc35bb2e309edfca342cf'/>
<id>20a7ba1b1458cc8e76bcc35bb2e309edfca342cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MOV] fetchmail: splitted models and views through spearated files</title>
<updated>2016-04-14T11:23:16+00:00</updated>
<author>
<name>Keyur Gajjar</name>
<email>kga@odoo.com</email>
</author>
<published>2015-08-13T06:56:04+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=17b7a2045f401d7ee8fb99361864dc992fff6bcc'/>
<id>17b7a2045f401d7ee8fb99361864dc992fff6bcc</id>
<content type='text'>
- splitted the models/mail_mail.py from models/fetchmail.py.
- splitted the views/mail_mail_views.xml from views/fetchmail_views.xml
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- splitted the models/mail_mail.py from models/fetchmail.py.
- splitted the views/mail_mail_views.xml from views/fetchmail_views.xml
</pre>
</div>
</content>
</entry>
</feed>
