summaryrefslogtreecommitdiff
path: root/addons/account_analytic_plans/wizard/analytic_plan_create_model.py
AgeCommit message (Collapse)Author
2015-08-27[DEL] account_analytic_plans: deprecated moduleNicolas Martinelli
Reason: complete rewrite of the Sale module. Responsible: fp, dbo, nim
2015-08-24[FIX] manual reimplementations of ref/xmlid_to_\*Xavier Morel
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- 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.
2015-01-16[IMP] Cleanup and refactoring of exception handlingGoffin Simon
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.
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2013-04-15[REF] removed explicit model instanciations.Vo Minh Thu
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2012-12-06[IMP] use the openerp namespace.Vo Minh Thu
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-08-06[IMP] rephrase some error and warning messages in accountAntonin Bourguignon
remove exclamation marks at the end of messages remove first person usage ('I' and 'We') remove unjustified capital letters rephrase the clumsy form 'No <some attribute> is defined' bzr revid: abo@openerp.com-20120806154410-kbf9aai2uzq2b0c4
2012-07-25[IMP] Improved warning messages for account* modulesSaurang Suthar(OpenERP)
bzr revid: pso@tinyerp.com-20120725113900-sx79bzkhh9812hib
2012-07-12[IMP]account-warning-msgPinakin Nayi (OpenERP)
bzr revid: pna@tinyerp.com-20120712070631-tat4ke05u0unftfw
2010-12-28[FIX] account..l10n_ch: Pass return {'type': 'ir.actions.act_window_close'} ↵uco (OpenERP)
instead of return {} in osv_memory/normal wizards.(lp:691544) bzr revid: uco@tinyerp.com-20101228104445-h5q9jg8mq7dmdc51
2010-12-13[REF]: Added remaining context changes in _constraints. Removed unnecessary ↵uco (OpenERP)
checking for context from methods. bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-10-11[IMP] account_analytic_analysis, account_analytic_default, ↵psi (Open ERP)
account_analytic_plans: code cleaning bzr revid: psi@tinyerp.co.in-20101011112550-ygkqmzmuhu1j7dm3
2010-06-16[IMP][REF] Sql-injection changes, remove print statement, some space ↵vra
improvement. bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-04-27[ADD] Account_analytic_plan: create model => osv memorymra (Open ERP)
bzr revid: mra@tinyerp.com-20100427050053-2e0xma7y41moxdnc