<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/google_account/controllers, 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] google_calendar: Refactor synchronisation</title>
<updated>2020-04-09T08:59:33+00:00</updated>
<author>
<name>Lucas Lefèvre</name>
<email>lul@odoo.com</email>
</author>
<published>2020-01-15T13:59:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ae3d37c201bb1e5064096c6fc13e9db18e566611'/>
<id>ae3d37c201bb1e5064096c6fc13e9db18e566611</id>
<content type='text'>
This commit refactors calendar synchronization between Odoo and Google after the
main calendar application refactoring.

This refactoring takes advantage of two new features from the Google API:

- New way of synchronizing resources efficiently[1]
Incremental sync is performed repeatedly and updates Odoo with all the changes that
happened ever since the previous sync. Each time, Odoo provides the previous sync
token it obtained from Google and stores the new sync token from the response.

- Event metadata[2]
Ability to set hidden key-value pairs with an event, called extended properties.
These extended properties are used to store the related odoo event id and the Odoo
owner id (see known limitations)

Known limitations
=================
- Let A and B be two new users (no tokens available). A creates an event in Odoo and
invites B. A is the owner of the event (user_id). Now B authenticates to his Google Calendar
account and synchronizes his calendar. We cannot send the event to A's calendar since we
don't have any access to his Google Calendar. Hence the event his sent to B's calendar.
This leads to data de-synchronisation: The owner is A in Odoo but B in Google.
The "real" owner (user A) is stored in the Google event's metadata to be able to
reconcile the owner for following synchronizations.

- Let A and B be two users of Odoo and Google Calendar. And let the Google Calendar of B
be private (e.g. if A creates an event in Google Calendar and invites B, B won't see the
event in his calendar). If A creates an event in Odoo and invites B. The event is synced
to Google Calendar of A. Now B can see the event in Odoo but he can't see it in his
Google Calendar.

Task 2126717
PR #42031
PR Enterprise odoo/enterprise#8006

[1] https://developers.google.com/calendar/v3/sync
[2] https://developers.google.com/calendar/extended-properties
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit refactors calendar synchronization between Odoo and Google after the
main calendar application refactoring.

This refactoring takes advantage of two new features from the Google API:

- New way of synchronizing resources efficiently[1]
Incremental sync is performed repeatedly and updates Odoo with all the changes that
happened ever since the previous sync. Each time, Odoo provides the previous sync
token it obtained from Google and stores the new sync token from the response.

- Event metadata[2]
Ability to set hidden key-value pairs with an event, called extended properties.
These extended properties are used to store the related odoo event id and the Odoo
owner id (see known limitations)

Known limitations
=================
- Let A and B be two new users (no tokens available). A creates an event in Odoo and
invites B. A is the owner of the event (user_id). Now B authenticates to his Google Calendar
account and synchronizes his calendar. We cannot send the event to A's calendar since we
don't have any access to his Google Calendar. Hence the event his sent to B's calendar.
This leads to data de-synchronisation: The owner is A in Odoo but B in Google.
The "real" owner (user A) is stored in the Google event's metadata to be able to
reconcile the owner for following synchronizations.

- Let A and B be two users of Odoo and Google Calendar. And let the Google Calendar of B
be private (e.g. if A creates an event in Google Calendar and invites B, B won't see the
event in his calendar). If A creates an event in Odoo and invites B. The event is synced
to Google Calendar of A. Now B can see the event in Odoo but he can't see it in his
Google Calendar.

Task 2126717
PR #42031
PR Enterprise odoo/enterprise#8006

[1] https://developers.google.com/calendar/v3/sync
[2] https://developers.google.com/calendar/extended-properties
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] Various P3-related import changes</title>
<updated>2017-04-28T07:06:53+00:00</updated>
<author>
<name>xmo-odoo</name>
<email>xmo@odoo.com</email>
</author>
<published>2017-04-28T07:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b4429c2a91889bf60b56e0c7909c844d357363f7'/>
<id>b4429c2a91889bf60b56e0c7909c844d357363f7</id>
<content type='text'>
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&amp;keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&amp;keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] google_account : code cleaning</title>
<updated>2016-04-27T14:35:45+00:00</updated>
<author>
<name>Jérome Maes</name>
<email>jem@openerp.com</email>
</author>
<published>2016-04-21T09:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c5baaa3bdca7fb66dafb09e53cce1fe88365e817'/>
<id>c5baaa3bdca7fb66dafb09e53cce1fe88365e817</id>
<content type='text'>
- remove unused helpers
- add command in case of deeper refactoring one day ...
- better variable naming
- use contants for Google services urls
- add docstrings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- remove unused helpers
- add command in case of deeper refactoring one day ...
- better variable naming
- use contants for Google services urls
- add docstrings
</pre>
</div>
</content>
</entry>
<entry>
<title>[MIG] google_account: migrate into new API</title>
<updated>2016-04-27T14:35:45+00:00</updated>
<author>
<name>Deep Bundela</name>
<email>dbu@odoo.com</email>
</author>
<published>2015-08-17T12:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3e1fb87e93692a11b03e1bd815a0a04d7416b4c4'/>
<id>3e1fb87e93692a11b03e1bd815a0a04d7416b4c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] replace simplejson with stdlib json</title>
<updated>2015-09-28T08:53:32+00:00</updated>
<author>
<name>Leonardo Rochael Almeida</name>
<email>leorochael@gmail.com</email>
</author>
<published>2015-06-03T03:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=60af7cac02fc7e74510fc988367832b631d00196'/>
<id>60af7cac02fc7e74510fc988367832b631d00196</id>
<content type='text'>
The stdlib version of the json library is more recent than the 3.5.3
version we are pinning in `requirements.txt`

There is no reason to use it.

Closes #6940
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stdlib version of the json library is more recent than the 3.5.3
version we are pinning in `requirements.txt`

There is no reason to use it.

Closes #6940
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] new v8 api by rco</title>
<updated>2014-07-06T15:05:41+00:00</updated>
<author>
<name>Raphael Collet</name>
<email>rco@openerp.com</email>
</author>
<published>2014-07-06T14:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cbe2dbb672a6c55d86f2e515f9d1cdfee426ef80'/>
<id>cbe2dbb672a6c55d86f2e515f9d1cdfee426ef80</id>
<content type='text'>
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] Refactoring according to CHS and AL review</title>
<updated>2014-01-13T17:41:57+00:00</updated>
<author>
<name>jke-openerp</name>
<email>jke@openerp.com</email>
</author>
<published>2014-01-13T17:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c5791441c4e071f47e5002832cbb904c9d30730f'/>
<id>c5791441c4e071f47e5002832cbb904c9d30730f</id>
<content type='text'>
bzr revid: jke@openerp.com-20140113174157-ins4vf57g0p6v82u</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: jke@openerp.com-20140113174157-ins4vf57g0p6v82u</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] Redo tuto to get api key, because Google have changed console UI during the dev</title>
<updated>2013-12-19T17:45:36+00:00</updated>
<author>
<name>jke-openerp</name>
<email>jke@openerp.com</email>
</author>
<published>2013-12-19T17:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4a1208b39bdb5866ea8fcc1419969bdb7255e199'/>
<id>4a1208b39bdb5866ea8fcc1419969bdb7255e199</id>
<content type='text'>
bzr revid: jke@openerp.com-20131219174536-msjd005fxhxgl9qq</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: jke@openerp.com-20131219174536-msjd005fxhxgl9qq</pre>
</div>
</content>
</entry>
<entry>
<title>[TYPO] Rename google_base_account into google_account</title>
<updated>2013-12-19T14:25:14+00:00</updated>
<author>
<name>jke-openerp</name>
<email>jke@openerp.com</email>
</author>
<published>2013-12-19T14:25:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3d04737ab1827879071a3e988394314d849f3948'/>
<id>3d04737ab1827879071a3e988394314d849f3948</id>
<content type='text'>
bzr revid: jke@openerp.com-20131219142514-8epaqnt0mb16xd4n</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: jke@openerp.com-20131219142514-8epaqnt0mb16xd4n</pre>
</div>
</content>
</entry>
</feed>
