Commit Graph
10 Commits
Author SHA1 Message Date
Raphael Collet 97392bcf19 [FIX] base_gengo: method get_gengo_key not aimed at being public 2019-07-08 13:51:35 +00:00
Raphael Collet caf900e89e [FIX] *: use auth='public' in controllers that use request.env
The following trick used to work, because `sudo()` was actually making
an environment for the superuser to operate upon:

request.env[...].sudo().method(...)

It no longer works in general, since `sudo()` now makes an environment
in superuser mode but with `uid=None`!  It may still work by accident
for operations that never use `env.uid`, but is broken in general.

Using `auth='public'` fixes the problem by using the public user when no
user is available.

closes odoo/odoo#34297

Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2019-07-04 11:32:22 +00: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
Yannick Tivisse 651caf0f59 [MIG] base_gengo: Migrated to new API 2016-07-13 16:46:29 +02:00
Yannick Tivisse 9fd3c9e7f0 [MOV] base_gengo: Reorganized File Structure 2016-07-13 15:36:50 +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 fd0c52550a base_gengo: [FIX] change http status code for gengo_callback because status 100 make response very slow
[FIX] Cron for gengo was always in mode 'do missed' what we don't want, replace 0 by False
[FIX] Remove unused regexp to find view_id from js which was breaking the count words
2014-07-16 14:59:22 +02:00
Jeremy Kersten 18bb52ee88 [FIX] Gengo - Update modoel ir_translation for gengo and make it working. Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order. 2014-06-20 17:33:09 +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