Commit Graph

28 Commits

Author SHA1 Message Date
Olivier Dony 8d745f9f50 [FIX] account, mail, etc.: uniformize evaluated expressions
opw-626694
2015-05-21 15:26:35 +02:00
Christophe Simonis 12416eb35f [FIX] google_*: set a timeout when contacting google servers 2015-03-26 17:48:25 +01: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
ssh-odoo 6cc4bd4312 [Imp]:Improve configuration warning msg
[imp]:remove space

[rem]:remove code

[imp]:remove changes

[imp]:remove changes

[rem]:remove unused changes
2014-07-03 16:11:15 +05:30
Jeremy Kersten f337bcaa1d [IMP] ir.config.parameters: support group-based access control 2014-06-26 16:27:24 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Denis Ledoux 0306adbfe3 [FIX] *: using werkzeug.url_encode instead of urllib.urlencode because urliblib.encode does not accept unicode
bzr revid: dle@openerp.com-20140129121316-b5f5e4r6fz9l80kq
2014-01-29 13:13:16 +01:00
Denis Ledoux 1cfd7ec102 [FIX] google_drive: anyone with the link can now write
We used to give write access to the email address of the current user, but if the email is not a google account, there is no way for the current user to write on the data (except if the current email address is also the email which has done the oauth activation in the settings).

bzr revid: dle@openerp.com-20140115093528-ir39ppqrinjqyeta
2014-01-15 10:35:28 +01:00
Denis Ledoux 274b9c9503 [FIX]google_drive: using res.users has_group method to know if the user is admin, instead of reading groups_id of the user (and, also, fixed the read call with a string instead of an array for the fields to read)
bzr revid: dle@openerp.com-20131127142049-v9sr5ldc9g4cct98
2013-11-27 15:20:49 +01:00
Denis Ledoux 8bc3ffd234 [FIX]google_drive: permission granted for anyone with the link has been set to readonly, and add write permission to current user (email) only
bzr revid: dle@openerp.com-20131017142545-81ab6xbqi5nb6c06
2013-10-17 16:25:45 +02:00
Denis Ledoux af9b8590b5 [FIX]google_drive: when create a document in drive, add the permission 'writer' to 'anyone with the link'. Hence, anyone that can see the attachement, can edit the document
bzr revid: dle@openerp.com-20131017134744-nr9g21rhebtpkq4s
2013-10-17 15:47:44 +02:00
Olivier Dony d72ccec81a [FIX] google_drive: base.config.settings must be a TransientModel
Making it a real Model causes access right errors,
as it has no ACLs. 
+ cleanup other model declarations

bzr revid: odo@openerp.com-20131016164135-uf3gxe0p1i6h3xyq
2013-10-16 18:41:35 +02:00
Olivier Dony 23b209047b [FIX] google_drive, google_base_account: safer management of auth code, better usability
Persist the auth code in the settings to show
that it has already been set, even if it is not
technically used by the system.
Also fixed a variable referenced before assignment.

bzr revid: odo@openerp.com-20131016163908-9d05x85me3n30ala
2013-10-16 18:39:08 +02:00
Denis Ledoux f3e189698d [FIX]google_drive, google_spreadsheet: move of get_google_scope in google objects instead of config
bzr revid: dle@openerp.com-20130724153754-thj2l0b1t4lw136j
2013-07-24 17:37:54 +02:00
Denis Ledoux 54de4095ae [FIX]google_drive, google_spreadsheet: go to configuration panel only for group settings, spreadsheet attached to model without res_id
bzr revid: dle@openerp.com-20130724130534-axyvc0u0g1um07fg
2013-07-24 15:05:34 +02:00
Denis Ledoux 9ae6b18ded [FIX]google_spreadsheet: add active field on google drive template and handle when auth_crypt is installed
bzr revid: dle@openerp.com-20130723130453-0vns37b89v622kh0
2013-07-23 15:04:53 +02:00
Denis Ledoux 8fe619095b [ADD]google_spreadsheet: view (ir.attachement) in reporting, formula used in description of attachement
bzr revid: dle@openerp.com-20130722164508-1849vgrr6j0j6yhk
2013-07-22 18:45:08 +02:00
Denis Ledoux 5a1b08bfbd [FIX]google_spreadsheet: write formula once spreadsheet opened
bzr revid: dle@openerp.com-20130722143034-4tf8mr71ocf049ma
2013-07-22 16:30:34 +02:00
Denis Ledoux bf1163c99a [FIX]google_drive: resource_get func fields, ressource_id can have '_' in id, remove of refresh_token in data(useless), try except for various urllib calls
bzr revid: dle@openerp.com-20130627150145-4fruh3ysqoce7bcj
2013-06-27 17:01:45 +02:00
Denis Ledoux fa228290af [FIX]google_drive: refresh token from authorization code not anymore in on change method, google base account not inheriting from base setting
bzr revid: dle@openerp.com-20130627143713-lgqgi0px7qb18rup
2013-06-27 16:37:13 +02:00
Denis Ledoux 1d85a0648c [FIX]google_drive,google_base_account: back to httpllib
bzr revid: dle@openerp.com-20130626170035-rd4rzil801vbzxro
2013-06-26 19:00:35 +02:00
Denis Ledoux fab8c0682f [IMP]google_drive: ressource_id with regex
bzr revid: dle@openerp.com-20130626150719-ry3wdngld3wfmdrt
2013-06-26 17:07:19 +02:00
Denis Ledoux afa6ea8e4f [IMP]google_drive: cleanup
bzr revid: dle@openerp.com-20130626145213-37to2q3q9jh4lnsg
2013-06-26 16:52:13 +02:00
Denis Ledoux f694c37b83 tmp
bzr revid: dle@openerp.com-20130626133552-gtfhzvxsi1oj3pdm
2013-06-26 15:35:52 +02:00
Denis Ledoux 66520d9e8e [FLAKE8]
bzr revid: dle@openerp.com-20130626095736-0ni7i86wckc6coo5
2013-06-26 11:57:36 +02:00
Denis Ledoux 2da193d242 [FIX]base_setup,google_drive: res_config view correction for module google drive
bzr revid: dle@openerp.com-20130626095005-wx9x79pmqg8o2de7
2013-06-26 11:50:05 +02:00
Denis Ledoux c74517990f [RENAME]google_docs => google_drive
bzr revid: dle@openerp.com-20130626093019-krwt5eamagmd5amu
2013-06-26 11:30:19 +02:00