Commit Graph

41 Commits

Author SHA1 Message Date
Jeremy Kersten e4030e2016 [FIX] google_calendar: write info on current user with superuser_id
If the user is not admin, it will synchronize always from start, because last_synchro_date cannot be write on res_users
2015-02-16 14:55:22 +01:00
Jeremy Kersten 9ffa3a5c15 [FIX] google_calendar: force google synchro to be without default notif 2015-02-13 16:11:51 +01:00
Jeremy Kersten aed865aa93 [IMP] google_calendar - synchronize OE alarm with google reminders 2015-02-13 13:51:00 +01:00
Denis Ledoux af8a6096c9 [FIX] google_calendar: typo, Google is not plural 2014-12-10 17:31:45 +01:00
Denis Ledoux ebca88defc [FIX] google_calendar: All exceptions types do not have read method 2014-12-10 17:31:45 +01:00
Denis Ledoux f9ad381c17 [FIX] google_calendar: deleted excluded recurring event
Do not try to delete an excluded recurrent event added in Google, but not yet syncrhonised in Odoo (immediately deleted for instance)
2014-12-09 17:13:26 +01:00
Denis Ledoux d4f91b3f98 [FIX] google_calendar: recurrent event syncrhonization
When an attendee is added exceptionnally in an instance of a recurrent event, do not try to sync the basic recurrent event in his calendar
2014-12-09 16:34:35 +01:00
Raphael Collet b8071bbaca [FIX] addons: incorrect new-api invocation of method write() with context
This fixes #3411.
2014-11-13 13:34:55 +01:00
Jeremy Kersten c04b0443b7 [FIX] google_calendar: add missing parameter to logger_info 2014-10-06 14:32:28 +02:00
Jeremy Kersten f3346223ac [IMP] Google calendar - add function to allow the cron to run google calendar synchronization 2014-10-03 17:52:31 +02:00
Jeremy Kersten 9696d76aec [FIX] google_calendar: browse user as SUPERUSER_ID to be able to write/update google_calendar info on user 2014-09-24 15:30:11 +02:00
cod-odoo 4f3db3ec04 [FIX] google_{account|calendar}: fix synchro
- no more tracebacks when trying to sync more than once with Google Calendar
- no more context hacks, explicit return of `ask_time`.

(Closes #1588)
2014-08-14 15:48:05 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
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
2014-07-06 17:05:41 +02:00
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
Jeremy Kersten 0c627438cc [FIX] Google Calendar - Split the last underscore because Google uses sometimes '_' in their own google_id. Retrieve the parent event_id to exclude when the exlusion has been done in google 2014-06-13 17:57:01 +02:00
Kersten Jeremy 02be7aa65c [IMP] Improve Calendar synchronization
- Use the new fields from calendar (renamed in 9398.1.7 trunk-cal-v8-jke)
    - Manage some google excpetions about token expiration
    - Manage some google excpetions about token revokation
    - Manage some google excpetions about 410 - Gone from google
    - Detect / Allow user to change the calendar and remove all old reference.
    - Use by default the since_modified for synchronization and not always a full (updatedTime in google)
    - Add some key for ir_parameters : 
             'calendar.week_synchro' : number of week to synchornize when we are in full mode
             'calendar.block_synchro_attendee' : need to synchronize the attendees between google and openerp (creation of partner)
             'calendar.block_since_synchro' : Always use the full synchro. (Can be forced in "one time" removing the last synchro from res_users form)
             'calendar.debug_print' : _logger is more verbose
    - Pep 8
    - Change behaviour of do_request to return a tuple with status raquest and response
    - Add field from token and synchro date in res_users view form
2014-05-14 10:28:10 +02:00
Kersten Jeremy d9c3c175bd [REF] Calendar refactoring - Manage allday in date field and not datetime.
bzr revid: jke@openerp.com-20140430093613-3tdn2tfiwshcahbz
2014-04-30 11:36:13 +02:00
Kersten Jeremy 2907c8dd66 [TYPO] PEP7 - Module calendar (no E501)
bzr revid: jke@openerp.com-20140224220222-dp26lvbv2bfljxvt
2014-02-24 23:02:22 +01:00
jke-openerp 629daccd56 [FIX] calendar, google_calendar: multiple fixes with timezones, filters, google sync and dashboards
bzr revid: odo@openerp.com-20140218171508-6li402027u57ltrx
2014-02-18 18:15:08 +01:00
jke-openerp ce28079010 [FIX] Fix bug with synchro google for recurrent event excluded
bzr revid: jke@openerp.com-20140218135009-vtuplqdhsx3qe03l
2014-02-18 14:50:09 +01:00
jke-openerp 46b0c7aa00 [REF] Rename model crm.meeting into calendar.event
Remove 2 unsused field from calendar.event model (dir,sequence)

bzr revid: jke@openerp.com-20140115093805-1g1j1oymyxsb6kgh
2014-01-15 10:38:05 +01:00
jke-openerp 53264da08a [REF] Add order fix on calendar list view, flake google_calendar, undelete function get_sequence needed for google synchro
bzr revid: jke@openerp.com-20140114133736-cvvftr4hmaa3w3ad
2014-01-14 14:37:36 +01:00
jke-openerp c5791441c4 [REF] Refactoring according to CHS and AL review
bzr revid: jke@openerp.com-20140113174157-ins4vf57g0p6v82u
2014-01-13 18:41:57 +01:00
jke-openerp c274b28f4a [TYPO] cleaning
bzr revid: jke@openerp.com-20131220160818-56skpmvbzub6mn1r
2013-12-20 17:08:18 +01:00
jke-openerp 6bb986a2e5 [FIX] Fix according to APR's Review
- Access Right too restrictif for user
- Bug UI between Firefox and Chrome
- Bug UI many2many_tag cursor on bullet
- Temp Fix on email_template to manage partner_to
- Manage attendee from hr_holidays 
- Manage avatar_model in sidebar_items for filter (res.partner was hard coded)
- Remove quick add from HR-holiday, because some field (as day) is calculated on event "onchange"

bzr revid: jke@openerp.com-20131220141855-mbhxtr07fn0sroe0
2013-12-20 15:18:55 +01:00
jke-openerp 5564d4e23e [IMP] Improve perf of google synchro to avoid a duplicate update, we use now a key in context "NewMeeting" to avoid to update the meeting oe_update, when we create the attendee for the first time, so we dont make a synchro from OE to GG when an new event form GG is created the last synchro
bzr revid: jke@openerp.com-20131220095720-lpl2hn2890wbeu6v
2013-12-20 10:57:20 +01:00
jke-openerp 6473e55ea3 [IMP] Remove constraint on google_internal_event_id on attendee because google share them ID between the attendees
bzr revid: jke@openerp.com-20131219210628-3sza94f02z2lj3zn
2013-12-19 22:06:28 +01:00
jke-openerp 59c932477e [IMP] Redirect admin to configurations page for Google Calendar API when trying synchro but not still configured
bzr revid: jke@openerp.com-20131219165011-xgy18qcr1n1q4jz1
2013-12-19 17:50:11 +01:00
jke-openerp 3d04737ab1 [TYPO] Rename google_base_account into google_account
bzr revid: jke@openerp.com-20131219142514-8epaqnt0mb16xd4n
2013-12-19 15:25:14 +01:00
jke-openerp dc7660414a [FIX] Use superuser to upate users token from google_calendar.set_all_token
bzr revid: jke@openerp.com-20131218174931-q0nz4xji5metspoz
2013-12-18 18:49:31 +01:00
jke-openerp 6a0b69a7e7 [IMP] Add Demo data, Test on Event, Test en recurrence + [FIX] google_event__internal_id size changed, because more than 128 char for some users
bzr revid: jke@openerp.com-20131218110418-wdubheq1by0j0daf
2013-12-18 12:04:18 +01:00
jke-openerp affb77ed71 [IMP] Improve perf of google calendar synchro, add demo data for Calendar
bzr revid: jke@openerp.com-20131217204238-sat6h8jc600d1n69
2013-12-17 21:42:38 +01:00
jke-openerp 04182723fa [FIX] Move old uniq constraint of google_id from crm_meeting to calendar.attendee
bzr revid: jke@openerp.com-20131213172500-nclgwxrldbf9nyxu
2013-12-13 18:25:00 +01:00
jke-openerp c4dfc941e6 [IMP] Move google Id from event to attendee to allow to an event to be on several google calendars
bzr revid: jke@openerp.com-20131213162752-q6z3v7yplj3m8p7b
2013-12-13 17:27:52 +01:00
jke-openerp 332b8df1fb [REF] Cleaning old code, remove commented code, ...
bzr revid: jke@openerp.com-20131213103517-ynzu2ti596dh3zm4
2013-12-13 11:35:17 +01:00
jke-openerp 5c53b9ac00 [IMP] Add description on Google Calendar module
bzr revid: jke@openerp.com-20131212110550-kf8mgq605v7ddben
2013-12-12 12:05:50 +01:00
jke-openerp ce8a4968de [REF] Ref to remove warning about missing user_id in calendar.attendee
bzr revid: jke@openerp.com-20131211130635-hjrb306zrph4dcg5
2013-12-11 14:06:35 +01:00
jke-openerp aa996f008e [REF] Refactoring complete of synchro calendar with pre-processing
bzr revid: jke@openerp.com-20131210164525-y8z6yhandea7x0ry
2013-12-10 17:45:25 +01:00
jke-openerp 9134c79175 [REF] Synchro method create-delete-update, to replace with always active=False and pre-processing
bzr revid: jke@openerp.com-20131209140819-v0njlfjvl2biep2m
2013-12-09 15:08:19 +01:00
jke-openerp 27a42cc6eb [IMP] google oAuth2 + start synchro calendar (insert ok, bug with recurrent)
bzr revid: jke@openerp.com-20131202143133-u6vi1xw1oa9w8qpf
2013-12-02 15:31:33 +01:00