Olivier Dony
af4a60b941
[MERGE] Forward-port 8.0 up to rev. 26d0fe6d9f
2015-09-30 02:53:59 +02:00
Arnaud Pineux
44bfb2bf44
[FIX] base_import_module: special chars in error messages
...
use ustr() instead of str() to avoid traceback with translations
Closes #4272
2015-09-28 15:21:24 +02:00
Odoo Translation Bot
c764b703ca
[I18N] Update translation terms from Transifex
2015-09-27 01:58:59 +02:00
Odoo Translation Bot
7ed58916df
[I18N] Update translation terms from Transifex
2015-09-13 01:55:09 +02:00
Odoo Translation Bot
101540b491
[I18N] Update translation terms from Transifex
...
Fetch the translations with the option --all to fetch missing languages
and use --minimum-perc 10 to avoid empty files
Fixes #8423
2015-09-08 17:07:59 +02:00
Martin Trigaux
f8daf6fb31
[I18N] synchronise Basque and Ecuador translations
...
They were new languages, needed a manual fetching.
Fixes #8363
2015-09-07 12:26:51 +02:00
Odoo Translation Bot
4fcc756ef9
[I18N] Update translation terms from Transifex
2015-08-09 02:00:12 +02:00
Odoo Translation Bot
218ffc1a5a
[I18N] Update translation terms from Transifex
2015-08-02 01:59:36 +02:00
Odoo Translation Bot
0871f423a3
[I18N] Update translation terms from Transifex
2015-07-19 02:01:00 +02:00
Odoo Translation Bot
99a7d530e0
[I18N] Update translation terms from Transifex
2015-07-12 01:51:44 +02:00
Odoo Translation Bot
fe3835faff
[I18N] Update translation terms from Transifex
2015-07-05 01:52:32 +02:00
Odoo Translation Bot
acc1b525fa
[I18N] Update translation terms from Transifex
2015-06-29 08:42:08 +02:00
Odoo Translation Bot
35b2463324
[I18N] Update translation terms from Transifex
2015-06-22 13:21:18 +02:00
Odoo Translation Bot
e2c9699cfc
[I18N] Update translation terms from Transifex
2015-06-08 14:03:50 +02:00
Martin Trigaux
4528ccf148
[I18N] First sync of translations from Transifex
...
Translation is that which transforms everything so that nothing changes.
-- Grass Günter
2015-05-29 21:58:20 +02:00
Olivier Dony
1cea0dc4e9
[I18N] Final sync + cleanup of Launchpad Translations, moving to Transifex
...
See https://github.com/odoo/odoo/wiki/Translations
2015-05-29 10:55:06 +02:00
Olivier Dony
ebb5ddcd65
[I18N] Sync latest translations from Launchpad (not the final one)
2015-05-21 14:42:20 +02:00
Olivier Dony
622e00baa5
[I18N] Sync 8.0 translations from Launchpad
2015-04-28 09:45:53 +02:00
Olivier Dony
91d4b947f6
[I18N] Update translations from Launchpad 8.0 branches
2015-02-18 11:51:07 +01:00
Olivier Dony
8e03852fd4
[I18N] Update translations from Launchpad 8.0 branches
2015-01-26 16:36:51 +01:00
Christophe Simonis
6f841038f3
[MERGE] forward port of branch 8.0 up to 3735394
2015-01-22 18:47:13 +01:00
Olivier Dony
495ec92251
[I18N] Update translations from Launchpad 8.0 branches
2015-01-21 15:36:54 +01:00
Olivier Dony
39f00b3637
[I18N] Update translation templates with latest terms
...
Total new terms: 270
Total deleted terms: 82
Total identical terms: 19653
Old total number of terms: 19735
New total number of terms: 19923
2015-01-21 15:31:22 +01:00
Goffin Simon
0fd773a486
[IMP] Cleanup and refactoring of exception handling
...
Unify and refactor exception handling in framework and addons.
The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes:
- `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration.
- `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights.
- `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request.
- `MissingError`: raised when an operation is attempted on a record that does not exist.
- `ValidationError`: raised when an operation violates a SQL or Python constraint.
- All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback.
All exceptions take a single message argument.
The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions.
A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages.
This commit introduces a more consistent policy for logging errors and warnings:
- All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations.
- All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention.
- All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2015-01-16 17:15:18 +01:00
Leonardo Donelli
4a0b13ed92
[REF] remove vim modelines and resulting trailing blank lines
...
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Olivier Dony
a6d24db305
[I18N] Update translations from Launchpad 8.0 branches
2014-11-19 17:49:12 +01:00
Olivier Dony
7439421ad2
[I18N] Update translations from Launchpad 8.0 branches
2014-10-08 17:52:25 +02:00
Olivier Dony
b74d830eb2
[I18N] Update translation templates with latest term changes
2014-09-23 19:13:50 +02:00
Olivier Dony
1c5b5e4290
[I18N] Update translations from Launchpad 8.0 branches
...
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-20140923072744-tkfs0yinu8msjh09
addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-20140923072715-5j7qvnuvmmb1zzy1
web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-20140923072757-jvh9l6r2x0vfcyhb
2014-09-23 13:42:05 +02:00
Olivier Dony
fac96241df
[I18N] Update 8.0 translations with latest changes from Launchpad
2014-09-08 19:04:25 +02:00
Fabien Meghazi
ed1c173971
[FIX] Some fixes for base_import_module
...
- Properly check unmet dependencies
- Set imported module's state to 'installed'
- Fix bad translation usage
2014-09-05 12:32:11 +02:00
Fabien Pinckaers
8aca457e34
[IMP] Updated website urls on modules and info page
2014-08-26 21:40:18 +02:00
Olivier Dony
50ef63881a
[I18N] Update 8.0 translation with latest source code
2014-08-14 17:01:54 +02:00
Fabien Meghazi
faa09da325
Removed version="7.0" from form views
2014-06-12 09:09:59 +02:00
Fabien Meghazi
c1e6e70870
Added --force to odoo deploy
...
Will force --init mode even if module is already installed
2014-06-11 09:55:17 +02:00
Fabien Meghazi
dec8172866
[ADD] odoo deploy
2014-05-27 14:22:28 +02:00
Fabien Meghazi
fc9d0d9ab0
[FIX] typo
2014-05-26 17:26:19 +02:00
tpa-odoo
15e0662200
[IMP] improved sequence of menu
2014-05-22 17:12:57 +05:30
tpa-odoo
8fa3a17c39
[IMP] improved code to show import result in wizard and improved typo
2014-05-22 17:09:52 +05:30
tpa-odoo
41147025b8
[ADD] add wizard to import zipped module
2014-05-22 15:51:51 +05:30
Fabien Meghazi
9ca54d43ca
[ADD] base_import_module test module, static asset in backend bundle
...
bzr revid: fme@openerp.com-20140505145816-jz7e4byh1imrkaek
2014-05-05 16:58:16 +02:00
Fabien Meghazi
c304c5a80b
[REM] useless manifest declaration
...
bzr revid: fme@openerp.com-20140424094155-2iatlo8twy5dcb3f
2014-04-24 11:41:55 +02:00
Fabien Meghazi
3861a93bd9
[IMP] Test module
...
bzr revid: fme@openerp.com-20140327105023-x3r7mjmptjxpzkqc
2014-03-27 11:50:23 +01:00
Fabien Meghazi
e49b8f5ae3
[FIX] /login is not webservice friendly, base_import_module uses it's own
...
Exceptions in /base_import_module/* will generate 500 pages with a short message
bzr revid: fme@openerp.com-20140326215709-esc4zkpfp8uzuww1
2014-03-26 22:57:09 +01:00
Fabien Meghazi
a0bbbf75c3
[IMP] Allow to disable ssl check
...
bzr revid: fme@openerp.com-20140326153458-6yzhkipn9njcuxyc
2014-03-26 16:34:58 +01:00
Fabien Meghazi
0195f0d817
[ADD] Test module
...
Test suite is still todo
bzr revid: fme@openerp.com-20140326151411-moo1yuozvpgro1mh
2014-03-26 16:14:11 +01:00
Fabien Meghazi
62a5632aec
[IMP] Use requests for http requests. python does not provide multipart encoding
...
bzr revid: fme@openerp.com-20140326150842-h33yuiwsnrm8gmbk
2014-03-26 16:08:42 +01:00
Fabien Meghazi
0dd65c6af8
[ADD] deploy script
...
bzr revid: fme@openerp.com-20140326133319-sp8lcvujq7uy55zd
2014-03-26 14:33:19 +01:00
Fabien Meghazi
5e484ae892
[IMP] Properly import files
...
bzr revid: fme@openerp.com-20140324151711-89mfg14573dpnh0p
2014-03-24 16:17:11 +01:00
Fabien Meghazi
5d107cfaa0
[IMP] static file injected in ir.attachment
...
bzr revid: fme@openerp.com-20140320143346-nimxg7c61lm1253x
2014-03-20 15:33:46 +01:00