| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Was missing in the (old) list of fields
|
|
When evaluated, the translation function never finds a match if a variable is
integrated into the untranslated text.
SHAME! :bell: :raising_hand:
|
|
Do not hardcode the version in the search but use the current version of the
server.
Closes #9987, opw 658811
|
|
This is related to the revision 2e66c489e392d308bf8c384abe5bcd696ee18992
`xmlid_to_res_id` doesn't have a `context` argument,
trying to do a call with this `context` failed.
A simple attempt to anonymize the database raised the error.
opw-657858
|
|
courtesy of Jarmo Kortetjärvi
|
|
|
|
(leftover of migration). However this implies some fixes in the various calls
to models inheriting from mail.thread. Indeed giving positional instead of
keyword argument creates issues in the wrapper between the old and new
API.
In account_analytic_plan, useless override of fields_view_get has been removed.
|
|
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
automatically in all countries thanks to Berne Convention + WTO rules,
and a reference to the applicable license is clear enough.
|
|
|
|
opw-626694
|
|
|
|
Fixed #5476
|
|
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.
|
|
Let 2015 be a year without modelines!
cf #4174
|
|
|
|
bzr revid: bde@tinyerp.com-20130522095432-1sl1b6uu6ewod4md
bzr revid: amb@tinyerp.com-20130528091941-wak8fnembuvewwjf
|
|
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
|
|
bzr revid: vro@tinyerp.com-20130513054026-1wco2hzkm85nz2ik
|
|
bzr revid: ggh@tinyerp.com-20130429071557-vnxo5nni03vc886j
|
|
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
|
|
bzr revid: olt@tinyerp.com-20130123073005-398u252n7082k0qy
|
|
bzr revid: olt@tinyerp.com-20121221102534-e5hc07d2qq8qqith
|
|
bzr revid: olt@tinyerp.com-20121220112528-um4m3crn0enhcplj
|
|
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
|
|
bzr revid: fp@tinyerp.com-20121213131643-6mkrbfxqym4wla0l
|
|
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
|
|
bzr revid: odo@openerp.com-20121206153856-9y9v8ok6yxo6l5f0
|
|
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
|
|
bzr revid: mma@tinyerp.com-20121120102808-uj0p2sdhuipopcj9
|
|
bzr revid: mma@tinyerp.com-20121120091718-kkw841nzukzxuudp
|
|
bzr revid: olt@tinyerp.com-20121023072317-zkv1rbf8pt0qnh3g
|
|
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
|
|
bzr revid: olt@tinyerp.com-20120920090813-pxb25r4g1zo03jwu
|
|
bzr revid: olt@tinyerp.com-20120917081017-s15mm36ppvs4lfxc
|
|
bzr revid: pso@tinyerp.com-20120725113900-sx79bzkhh9812hib
|
|
bzr revid: pna@tinyerp.com-20120712124553-zg42ssi0hat181e3
|
|
bzr revid: apa@tinyerp.com-20120605061629-ulshs2cevdqm0hlf
|
|
bzr revid: ssu@tinyerp.com-20120504115748-2vd1dns7bxptg384
|
|
bzr revid: olt@tinyerp.com-20120425072617-1mw3kep9fa5813ib
|
|
[REF] coding style consistency
lp bug: https://launchpad.net/bugs/525808 fixed
bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
|
|
lp bug: https://launchpad.net/bugs/524279 fixed
bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
|
|
bzr revid: odo@openerp.com-20110922162538-x7xucux66zma5bp8
|
|
bzr revid: fp@tinyerp.com-20110918134116-2vvdelak2268j6pz
|
|
bzr revid: vmt@openerp.com-20110817084305-nk5cpfn338r1nsxj
|
|
Server revision 3495 odo@openerp.com-20110701232328-flgxulxva70vnyxr
removed the need for passing method=True to function fields,
so this is the equivalent addons fix, removing it everywhere.
Please be careful from now on, and do not pass it anymore!
bzr revid: odo@openerp.com-20110701234124-a61zl0idvdfz3hyb
|
|
Unfortunately, we cannot use bool(foobar) on xpath() results.
bzr revid: p_christ@hol.gr-20110306154856-ajg11p9ysee1t4e4
|
|
bzr revid: olt@tinyerp.com-20110218131150-87jc6cs04od5aeeq
|
|
bzr revid: sbh@tinyerp.com-20110111052710-yhvwofgbz4j110lb
|