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
Hitesh Trivedi
c38bd48532
[REF] company_id fields: replace selection widget by options = {'no_create': True} in all views
...
Originally, selection widget was used to prevent the creation of new
companies, but now, we have an option for that in m2o widgets.
2015-01-08 18:14:28 +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
qdp-odoo
d6e9abd8b8
[IMP] base, ir_sequence: removed ir.sequence.type object, added test for ir.sequence.date_range, refactored ir.sequence and ir.sequence.date_range implementation
2014-12-18 11:03:45 +01:00
Christophe Simonis
1d3f8eba87
[MERGE] forward port of branch 8.0 up to 591e329
2014-12-02 16:18:08 +01:00
qdp-odoo
b92c6b3101
[IMP] base, ir_sequence: added use_date_range field on ir.sequence, that allows to have several sequences running for the same one depending on date ranges (similar to what was existing previously on accounting with FY, which is now deprecated) + port to new API
2014-11-21 10:09:29 +01:00
Olivier Dony
a6d24db305
[I18N] Update translations from Launchpad 8.0 branches
2014-11-19 17:49:12 +01:00
Christophe Simonis
52fee2811d
[MERGE] forward port of branch 8.0 up to 2b192be
2014-10-16 16:04:39 +02:00
Olivier Dony
7439421ad2
[I18N] Update translations from Launchpad 8.0 branches
2014-10-08 17:52:25 +02:00
Christophe Simonis
709c9868de
[MERGE] forward port of branch 8.0 up to e883193
2014-10-01 19:18:14 +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
53aa92d3c9
[I18N] Update translations from Launchpad branches
2014-09-18 11:47:16 +02:00
Julien Legros
720e31d0fb
[FIX] analytic: contract manager_id defaults to the context value
2014-09-17 15:32:45 +02:00
Christophe Simonis
45cc064d59
[MERGE] forward port of branch 8.0 up to 780dd98
2014-09-15 15:09:32 +02:00
Olivier Dony
fac96241df
[I18N] Update 8.0 translations with latest changes from Launchpad
2014-09-08 19:04:25 +02:00
Christophe Simonis
31bf30d2d0
[MERGE] forward port of branch 8.0 up to ed1c173
2014-09-05 15:28:22 +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
Denis Ledoux
ae65be2b2a
[MERGE] forward port of branch saas-5 up to 0739bc4
2014-08-11 15:58:02 +02:00
Denis Ledoux
7c647ec876
[MERGE] forward port of branch saas-4 up to 0a1e4a0
2014-08-08 17:27:29 +02:00
Denis Ledoux
0a1e4a05b2
[MERGE] forward port of branch saas-3 up to 81a902a
2014-08-08 17:06:39 +02:00
Denis Ledoux
978fd47261
[MERGE] forward port of branch 7.0 up to 095be21
2014-08-06 13:06:20 +02:00
Anael Closson
70b246c3c7
[FIX] analytic: name_search on accounts
...
The name_search was hardcoding ilike operator while it could be different. This means that a name_search "name != Agrolait" would return accounts with agrolait.
A side effect of this was the impossibility to import account_analytic_account whose parent is a substring of another - opw 607315
2014-08-06 08:53:16 +02:00
cod-odoo
a301b4c7fc
[MOVE] account: moved account/project files to analytic or account, depending on which module the moved code belongs to. This allows to remove references to project in account module. Also added some improvements in project when deleting a project (delete account if void) or when deleting an account (delete project if void).
2014-08-04 13:23:46 +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
Jaydeep Barot
026e38b48f
[REM] Unnecessary size parameters on char fields
2014-06-25 17:13:43 +02:00
Fabien Meghazi
faa09da325
Removed version="7.0" from form views
2014-06-12 09:09:59 +02:00
Christophe Simonis
a756b82372
[MERGE] forward port of branch saas-4 up to revid bb26dea
2014-05-20 20:19:55 +02:00
Martin Trigaux
583fe74ba2
Forward-port of latest saas-3, up to revision 9455 (rev-id mat@openerp.com-20140514080416-m4t23y0rxx2ot7y6)
2014-05-14 10:37:54 +02:00
Martin Trigaux
8ea4f581ed
Forward-port of latest 7.0, up to rev. 10046 (rev-id: launchpad_translations_on_behalf_of_openerp-20140514062049-vjclnuxlkbto0tsj)
2014-05-14 10:04:16 +02:00
Martin Trigaux
3a0b63942e
[FIX] analytic: should not set mutable objects in method declaration (python gotcha)
...
bzr revid: mat@openerp.com-20140509093304-ao8ttky1trgz22ao
2014-05-09 11:33:04 +02:00
Launchpad Translations on behalf of openerp
fa60b90c1f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140422075247-nxfftok20ltlnea6
2014-04-22 07:52:47 +00:00
Launchpad Translations on behalf of openerp
e82fbf7d91
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412083153-3ona1js7o6z421vg
2014-04-12 08:31:53 +00:00
Launchpad Translations on behalf of openerp
16ce262c33
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140329073038-m7q4sxpb8tprh00r
bzr revid: launchpad_translations_on_behalf_of_openerp-20140330061549-r3t0pecngy76c2rw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140331064021-x3wjc8s4oa0ncq95
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401065325-w3viflz7c33n4uis
bzr revid: launchpad_translations_on_behalf_of_openerp-20140402064459-d7e3d8nwo8famjh6
2014-04-02 06:44:59 +00:00
Denis Ledoux
2695cacea4
[FIX] account_analytic_analysis, analytic, hr_timesheet: do not override existing data of analytic account on template on_change
...
bzr revid: dle@openerp.com-20140401123657-ozh4ycx36jojpg51
2014-04-01 14:36:57 +02:00
Launchpad Translations on behalf of openerp
51aa261b44
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140327073504-l0fydwct329jhirh
2014-03-27 07:35:04 +00:00
Launchpad Translations on behalf of openerp
87f5acb97b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140326071242-wi4c4p17bbhfp671
2014-03-26 07:12:42 +00:00
Launchpad Translations on behalf of openerp
9863dbe5c8
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304075238-yra39uwmwahmrnf3
2014-03-04 07:52:38 +00:00
Sanjay Gohel (OpenERP)
77581e2a06
[MERGE]sync with trunk
...
bzr revid: sgo@tinyerp.com-20140210052655-efiwytz5kllk7irx
2014-02-10 10:56:55 +05:30
Launchpad Translations on behalf of openerp
ffabcd257c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062321-j6cpns6xz3f81net
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062510-x502ahdwzezvea54
2014-02-06 06:25:10 +00:00
Launchpad Translations on behalf of openerp
2bebb9cd4d
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140201065304-8md3g4d14l1b51ii
bzr revid: launchpad_translations_on_behalf_of_openerp-20140202060105-bnt8nw1mcbg2c3m3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140203055609-uxdqgnistwilvo2v
bzr revid: launchpad_translations_on_behalf_of_openerp-20140204064835-qdcrcxldc5zsutio
2014-02-04 06:48:35 +00:00
Launchpad Translations on behalf of openerp
3ce5e01eca
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140128064139-6fjg3b236v5d790j
2014-01-28 06:41:39 +00:00
Launchpad Translations on behalf of openerp
d9cdc8564c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140122061252-9jm03vlbr13ofqo9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055652-0p71divui34v1c1q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140124062440-hx0z2e4sd6nz7exc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051449-rlunde7qysqsh1b1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140125064003-v340hiykcngjg9ue
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051541-9fnyw12nex5poeth
bzr revid: launchpad_translations_on_behalf_of_openerp-20140127054606-1jb6usf6pj7gy1xl
2014-01-27 05:46:06 +00:00
Christophe Simonis
c0117351a8
[MERGE] forward port of branch 7.0 up to revid 9735 mat@openerp.com-20140106153818-lsy030btlzminvw9
...
bzr revid: chs@openerp.com-20140107142554-lx0ls3fly7cxmahj
2014-01-07 15:25:54 +01:00
Martin Trigaux
389235221a
[IMP] analytic: rename the field 'date' from 'End Date' to 'Expiration Date'. The date field is considered as not included by the system but the name of the field was not explicit enough (opw 602619)
...
bzr revid: mat@openerp.com-20140106153818-lsy030btlzminvw9
2014-01-06 16:38:18 +01:00
Launchpad Translations on behalf of openerp
4fd98907ce
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130053134-6u83vcd1133xs8yf
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054550-w0k8alfqs2bigurx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055222-2u7o99e48254dceu
bzr revid: launchpad_translations_on_behalf_of_openerp-20131203061621-hyqqh11jt7g0ilqh
2013-12-03 06:16:21 +00:00