<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/document/content_index.py, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[REM] document directories</title>
<updated>2015-07-12T11:52:08+00:00</updated>
<author>
<name>Antony Lesuisse</name>
<email>al@openerp.com</email>
</author>
<published>2015-07-12T00:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3ced0ff61bd5b48e8846c30dc8a972a81f1688f4'/>
<id>3ced0ff61bd5b48e8846c30dc8a972a81f1688f4</id>
<content type='text'>
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
</pre>
</div>
</content>
</entry>
<entry>
<title>[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text</title>
<updated>2015-06-02T01:16:04+00:00</updated>
<author>
<name>Olivier Dony</name>
<email>odo@openerp.com</email>
</author>
<published>2015-06-01T22:39:30+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0bd454534818941bc3216025ebe3dcac3d78c19d'/>
<id>0bd454534818941bc3216025ebe3dcac3d78c19d</id>
<content type='text'>
- 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] Cleanup and refactoring of exception handling</title>
<updated>2015-01-16T16:15:18+00:00</updated>
<author>
<name>Goffin Simon</name>
<email>simon.goffin@outlook.com</email>
</author>
<published>2014-12-18T15:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0fd773a486fbc1aeef7f00ec5eab3eaf0e4c6a9d'/>
<id>0fd773a486fbc1aeef7f00ec5eab3eaf0e4c6a9d</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] remove vim modelines and resulting trailing blank lines</title>
<updated>2014-12-31T14:52:13+00:00</updated>
<author>
<name>Leonardo Donelli</name>
<email>learts92@gmail.com</email>
</author>
<published>2014-12-31T23:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4a0b13ed92311032ec4236a71b5a07592df79b0f'/>
<id>4a0b13ed92311032ec4236a71b5a07592df79b0f</id>
<content type='text'>
Let 2015 be a year without modelines!
cf #4174
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let 2015 be a year without modelines!
cf #4174
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] Document: Does no longer generate an error when trying to send a quotation by email when pdftotext is not available. This case is handled more gracefully (a warning in the log). Also changes the default return when generating the index using antiword to be more consistent.</title>
<updated>2013-03-07T08:55:05+00:00</updated>
<author>
<name>Chris Biersbach</name>
<email>cbi@openerp.com</email>
</author>
<published>2013-03-07T08:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2a8d7548f78795d1fd807aa924cf1e9646c33a0a'/>
<id>2a8d7548f78795d1fd807aa924cf1e9646c33a0a</id>
<content type='text'>
lp bug: https://launchpad.net/bugs/1094423 fixed

bzr revid: cbi@openerp.com-20130307085505-v9vwo788ios8244u</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lp bug: https://launchpad.net/bugs/1094423 fixed

bzr revid: cbi@openerp.com-20130307085505-v9vwo788ios8244u</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] trunk</title>
<updated>2012-10-02T10:29:15+00:00</updated>
<author>
<name>Antonin Bourguignon</name>
<email>abo@openerp.com</email>
</author>
<published>2012-10-02T10:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=165333208000e7f8b2a61fd99c0a5b1f1d242976'/>
<id>165333208000e7f8b2a61fd99c0a5b1f1d242976</id>
<content type='text'>
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] rephrase some error and warning messages in document, edi, google_base_account, mrp and mrp_repair</title>
<updated>2012-08-06T17:08:41+00:00</updated>
<author>
<name>Antonin Bourguignon</name>
<email>abo@openerp.com</email>
</author>
<published>2012-08-06T17:08:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a52eeef5194b5fdab2b1d659f383c7589a2ebb98'/>
<id>a52eeef5194b5fdab2b1d659f383c7589a2ebb98</id>
<content type='text'>
remove exclamation marks at the end of messages
remove unjustified capital letters

bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
remove exclamation marks at the end of messages
remove unjustified capital letters

bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] Improved warning messages for document module</title>
<updated>2012-07-25T10:33:34+00:00</updated>
<author>
<name>Saurang Suthar(OpenERP)</name>
<email></email>
</author>
<published>2012-07-25T10:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d3f30baa8169bec1db40bb2e582931b623acb142'/>
<id>d3f30baa8169bec1db40bb2e582931b623acb142</id>
<content type='text'>
bzr revid: pso@tinyerp.com-20120725103334-rx24b2aojluvxuap</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: pso@tinyerp.com-20120725103334-rx24b2aojluvxuap</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP]Document : Warning Messages are changed</title>
<updated>2012-07-12T10:17:47+00:00</updated>
<author>
<name>Hardik</name>
<email>hsa@tinyerp.com</email>
</author>
<published>2012-07-12T10:17:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a710d7b11c5b01b53e10555f00b32b75b7c8cade'/>
<id>a710d7b11c5b01b53e10555f00b32b75b7c8cade</id>
<content type='text'>
bzr revid: hsa@tinyerp.com-20120712101747-h5uhion81908cczy</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: hsa@tinyerp.com-20120712101747-h5uhion81908cczy</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] Add logging at the top of python files</title>
<updated>2012-06-22T06:48:39+00:00</updated>
<author>
<name>Foram Katharotiya (OpenERP)</name>
<email>fka@tinyerp.com</email>
</author>
<published>2012-06-22T06:48:39+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0c374a66bc3de5cdf48eb66b2078c0946aa045db'/>
<id>0c374a66bc3de5cdf48eb66b2078c0946aa045db</id>
<content type='text'>
bzr revid: fka@tinyerp.com-20120622064839-llitm8szgikxznwr</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: fka@tinyerp.com-20120622064839-llitm8szgikxznwr</pre>
</div>
</content>
</entry>
</feed>
