Xavier Morel
01e3514147
[FIX] P3: urllib, urllib2 and urlparse
...
In Python 3, all of these were "consolidated" under urllib(.request,
.parse, .errors) which is inconvenient.
Since we already have hard dependencies on requests and
werkzeug(.urls, which is a backport of Python 3's unicode-aware
urllib.parse) migrate *everything* to that.
A sticking point is urllib2.URLError, those were (mostly) replaced by
the slightly more general IOError which URLError extends.
2017-05-15 12:26:30 +02:00
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
Odoo Translation Bot
a4e88793ea
[I18N] Update translation terms from Transifex
2017-03-08 16:37:08 +01:00
Christophe Simonis
85368d7f86
[MERGE] forward port branch 10.0 up to 387b2acfcb
2017-02-23 20:15:38 +01:00
Christophe Simonis
387b2acfcb
[MERGE] forward port branch saas-11 up to 1730dca101
2017-02-23 19:40:03 +01:00
Christophe Simonis
1730dca101
[MERGE] forward port branch 9.0 up to f3491a27a5
2017-02-23 16:51:40 +01:00
Denis Ledoux
b7dffb59ff
[FIX] link_tracker: convert link with ampersand
...
Links containing HTML escaped characters,
such as the ampersand
`&` escaped `&`
were not shortened correctly:
Their redirecting URL contained the escaped value
(e.g. `&`) instead of the actual character,
leading to the wrong redirected URL.
e.g. creating a mass-mailing with a link
contains as query string
?test1=1&test2=2 were shortened
with as redirect link
?test1=1&test2=2
opw-708272
2017-02-21 12:26:02 +01:00
Odoo Translation Bot
2ab080bcae
[I18N] Update translation terms from Transifex
2017-02-19 04:30:24 +01:00
Martin Trigaux
9a0aaa9e88
[I18N] export saas-14 source terms
2017-02-15 11:40:28 +01:00
Odoo Translation Bot
4669c103cc
[I18N] Update translation terms from Transifex
2017-02-12 04:30:17 +01:00
Odoo Translation Bot
17f3185994
[I18N] Update translation terms from Transifex
...
after API rate limit reached
2017-02-07 17:01:49 +01:00
Odoo Translation Bot
9dc96091f3
[I18N] Update translation terms from Transifex
2017-02-05 00:31:18 +01:00
Odoo Translation Bot
6a7c05112b
[I18N] Update translation terms from Transifex
2017-01-29 04:30:19 +01:00
Odoo Translation Bot
1eb9dc79f5
[I18N] Update translation terms from Transifex
2017-01-29 00:30:57 +01:00
Martin Trigaux
b7bad9dbc4
[I18N] followup of 5284c43be5
...
Previous commit was cleaning the orphan and fuzzy translations of all main translations.
This commit does the same for all regional languages (that are not on Transifex).
To keep these files small, keep only the translated strings.
Fixes #14937
2017-01-06 10:40:39 +01:00
Martin Trigaux
5284c43be5
[I18N] generate and clean orphan translations
...
Some languages were published on Transifex in v9 but no longer in v10.
These languages were still using the outdated .po files
In some of these po, there were some fuzzy translations that were incorrect
(e.g. 'POS Order %s' - 'Kassa ostud', missing '%s')
These were not erased as still using the old translations.
Regenerate a correct .po file based on the new .pot and remove fuzzy
translations.
Fixes similar issue than raised at #14937
2017-01-05 12:01:27 +01:00
Raphael Collet
d0ca2d115e
[REF] ir_config_parameter: remove group_ids and simplify
...
Add `sudo()` to call `get_param` where necessary, and make the web client use a
controller instead of directly accessing parameters.
2017-01-03 16:52:49 +01:00
Martin Trigaux
19fce206ac
[I18N] port of 44a6366b to master
2017-01-03 16:39:22 +01:00
Odoo Translation Bot
e8b0c1db69
[I18N] Update translation terms from Transifex
2017-01-01 04:42:12 +01:00
Odoo Translation Bot
072906795c
[I18N] Update translation terms from Transifex
2017-01-01 00:30:05 +01:00
Odoo Translation Bot
b21d1ae98e
[I18N] Update translation terms from Transifex
2016-12-25 04:42:15 +01:00
Odoo Translation Bot
c484abf7af
[I18N] Update translation terms from Transifex
2016-12-25 00:30:02 +01:00
Odoo Translation Bot
f5adc1ade0
[I18N] Update translation terms from Transifex
2016-12-11 03:43:27 +01:00
Odoo Translation Bot
5b39b8b1db
[I18N] Update translation terms from Transifex
2016-12-11 00:33:19 +01:00
Moisés López
44a6366ba4
[REM] all: Remove es_MX.po files
...
- Previous information:
- `es_MX` language is not published to [transifex](https://www.transifex.com/odoo/odoo-10/languages/ ) this is a official announce from thread [Regional languages and Spanish (Latin America) translations](https://www.odoo.com/es_ES/groups/community-translators-63/community-translators-20325962?mode=thread&date_begin=&date_end= ) by @mart-e
- Currently we have the files `es_MX.po` with terms translations outdated or wrong translation.
- [Example wrong translation es_MX.po](https://github.com/odoo/odoo/blob/8de795291/addons/account/i18n/es_MX.po#L7788 ) should be [es.po correct translation](https://github.com/odoo/odoo/blob/8de795291/addons/account/i18n/es.po#L7975 )
- Now to change a `es_MX.po` a PR is required.
- `es.po` terms translations and the most terms are fine for México too. (Not regional translation is required for most cases)
Then our regional translation process should be:
| step | If accepted | If not accepted |
|------|-----|-------|
| Create a proposal to original language `es.po` from transifex | good and finish! | Create a new PR to odoo/odoo adding just that special term to `es_MX.PO` |
This PR reset the `es_MX.po` terms in order to fix many wrong terms using the good `es.po`.
Closes #14555
2016-12-05 09:11:13 +01:00
Odoo Translation Bot
260a3da768
[I18N] Update translation terms from Transifex
2016-12-04 03:44:39 +01:00
Odoo Translation Bot
4e4d431eba
[I18N] Update translation terms from Transifex
2016-12-04 00:32:08 +01:00
Martin Trigaux
2e960afd37
[I18N] update saas-11 translations by merging 9.0 and 10.0
2016-12-01 13:52:01 +01:00
Odoo Translation Bot
8de795291a
[I18N] Update translation terms from Transifex
2016-11-27 03:41:40 +01:00
Odoo Translation Bot
d2b4f0e786
[I18N] Update translation terms from Transifex
2016-11-27 00:32:17 +01:00
Odoo Translation Bot
9ab572fa4c
[I18N] Update translation terms from Transifex
2016-11-23 13:50:32 +01:00
Odoo Translation Bot
bad26aae2e
[I18N] Update translation terms from Transifex
2016-11-20 03:37:19 +01:00
Odoo Translation Bot
6b55032e1a
[I18N] Update translation terms from Transifex
2016-11-20 00:39:36 +01:00
Odoo Translation Bot
eed11c57bb
[I18N] fetch es_AR terms
...
The translations have been removed but was not fetch due to --minimum-perc argument
2016-11-18 12:54:21 +01:00
Odoo Translation Bot
7a800427df
[I18N] Update translation terms from Transifex
2016-11-13 03:42:40 +01:00
Odoo Translation Bot
9da2f44587
[I18N] Update translation terms from Transifex
2016-11-06 03:41:11 +01:00
Odoo Translation Bot
e45d402396
[I18N] Update translation terms from Transifex
2016-10-23 03:38:54 +02:00
Odoo Translation Bot
f74ea276cd
[I18N] Update translation terms from Transifex
2016-10-23 00:35:59 +02:00
Odoo Translation Bot
a40c3bf792
[I18N] Update translation terms from Transifex
2016-10-18 11:50:34 +02:00
Odoo Translation Bot
2ce7679032
[I18N] Update translation terms from Transifex
2016-10-16 00:34:35 +02:00
Odoo Translation Bot
7185ae4f67
[I18N] Update translation terms from Transifex
2016-10-09 00:34:56 +02:00
Odoo Translation Bot
2a893606ae
[I18N] Update translation terms from Transifex
2016-09-25 00:40:39 +02:00
Christophe Simonis
63c7517126
[MERGE] forward port branch saas-13 up to 25f271c
2016-09-14 13:00:33 +02:00
Christophe Simonis
298e2032ea
[MERGE] forward port branch saas-12 up to 9f28139
2016-09-09 18:13:31 +02:00
Christophe Simonis
7a02b90e17
[MERGE] forward port branch saas-11 up to dc4d6b6
2016-09-09 15:43:06 +02:00
Christophe Simonis
dc4d6b6a7a
[MERGE] forward port branch saas-10 up to e1bd405
2016-09-09 15:14:39 +02:00
Christophe Simonis
e1bd405d8c
[MERGE] forward port branch 9.0 up to af87c57
2016-09-09 11:49:48 +02:00
Martin Trigaux
fb74fec3f5
[I18N] export 10.0 source terms
2016-09-07 11:08:42 +02:00
Martin Trigaux
05d91ea4e9
[I18N] update saas-11 translations by merging 9.0 and master
...
Without fuzzy-matching that is too flexible and error prone.
Was matching on wrong source and got translation without '%s'
2016-09-07 09:40:37 +02:00