Commit Graph
18 Commits
Author SHA1 Message Date
xmo-odoo fffaf735f5 [FIX] P3: list -> iterable builtins (#16811)
In Python 3:

* various builtins and dict methods were changed to return
  view/iterable objects rather than lists
* and the separate Python 2 view/iterable builtins and methods were
  removed altogether

This is problematic when using these items as list (which the happens
repeatedly in Odoo), but more viciously when iterating *multiple times*
over them (which also happens, which I've messed up multiple times while
writing this, and which is a pain to debug even when you've just created
the issue).

Convert all code using these to semantics-matching cross-version
helper functions to get the LCD behaviour between P2 and P3, and
forbid the builtins via lint.

issue #8530
2017-05-10 09:39:55 +02:00
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* 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&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
Jigar Patel 5f146ac42d [MIG] website_gengo: Migrate into new api 2016-07-14 11:01:09 +02:00
vbh-odoo 8acfb0d72d [FIX] website_gengo: fixed button click and translations
- Fixed linking issue after click on 'Translate' button.
- Controller added to post terms in gengo

opw-648546
2016-05-18 15:15:41 +02:00
Jeremy Kersten 8f006ed94e [FIX] Website_gengo: check API key with SUPERUSER_ID since private_key is really private 2014-09-03 11:55:00 +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
Fabien Pinckaers 80160ef79d [IMP] gengo fix in callback
bzr revid: fp@tinyerp.com-20140409221121-8iwng0wmcp3fjasd
2014-04-10 00:11:21 +02:00
Fabien Pinckaers d5599de606 [IMP] Gengo Fixes
bzr revid: fp@tinyerp.com-20140409214509-0ww46dnt3np66ncx
2014-04-09 23:45:09 +02:00
Parth Gajjar (Open ERP) b3c55f498f [IMP] added callback for gengo jobs,
- if any changes like acception of job,approval of job, comment by translator etc gengo will post that job to given callback url
- On otherside added a controller for '/website/gengo_callback' for handling callback.
so any chages on job will instantly reflected to openerp

bzr revid: pga@tinyerp.com-20140331121932-3u2usycyftdrqcrw
2014-03-31 17:49:32 +05:30
Parth Gajjar (Open ERP) ff1588a46d [IMP] added new supportable languages, bog solved in config dialog, improved count words dialog
bzr revid: pga@tinyerp.com-20140331070625-qtr7l45lnca5rfze
2014-03-31 12:36:25 +05:30
Parth Gajjar (Open ERP) 1ccbc213e7 [IMP] limit option in gengo manual request instead of20 reqests every time, post jobs on gengo at the time of website post without compromise speed
bzr revid: pga@tinyerp.com-20140328113715-5y14vtgcfnojk7bs
2014-03-28 17:07:15 +05:30
Parth Gajjar (Open ERP) 488111719c [IMP] improved config dialog if api key not set
bzr revid: pga@tinyerp.com-20140328063623-it6j2lptjoieik91
2014-03-28 12:06:23 +05:30
Parth Gajjar (Open ERP) daed4c8c41 [IMP] send user's company_id for link if api key not set
bzr revid: pga@tinyerp.com-20140326071057-fr76le4yr2yaiohq
2014-03-26 12:40:57 +05:30
Parth Gajjar (Open ERP) 744b4bb2b6 [IMP] opened dialog if api key not set, final total in dropdown, improved requests in base_gengo
bzr revid: pga@tinyerp.com-20140325141308-5h2rtlbm2ctytbt1
2014-03-25 19:43:08 +05:30
Parth Gajjar (Open ERP) bf0d35dbdd [IMP] merged gengo translator with main translator, removed 'Restart Job' from wizard,removed constraint from base_gengo
bzr revid: pga@tinyerp.com-20140324103631-j4cswrlk5huuibt5
2014-03-24 16:06:31 +05:30
Parth Gajjar (Open ERP) b7a68828ed [IMP] improved statistics, added sendbox options for testing, improved UI
bzr revid: pga@tinyerp.com-20140320071028-adyh8d89o7dij81o
2014-03-20 12:40:28 +05:30
Parth Gajjar (Open ERP) b8d87606f0 [IMP] added gengo statistics, displayed inprogress elements
bzr revid: pga@tinyerp.com-20140319133121-31umju0ea84sm93y
2014-03-19 19:01:21 +05:30
Parth Gajjar (Open ERP) c49befd59f [ADD] added website_gengo module
bzr revid: pga@tinyerp.com-20140318133036-j1hcrz7bybolw44u
2014-03-18 19:00:36 +05:30