<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/analytic/security/ir.model.access.csv, 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>[IMP] analytic: in-depth refactoring</title>
<updated>2018-01-31T14:53:04+00:00</updated>
<author>
<name>Joren Van Onder</name>
<email>jov@odoo.com</email>
</author>
<published>2018-01-31T14:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=079a13a349c942ab69ca704263bc5cb52c391d92'/>
<id>079a13a349c942ab69ca704263bc5cb52c391d92</id>
<content type='text'>
* analytic accounts can be shared among companies
* amount on analytic lines always refer to amount in company currency of which it belongs to
* add analytic groups (hierarchical way to classify analytic accounts)
* analytic tags:
- only present on analytic lines, not anymore on analytic accounts
- can be used to distribue/split an analytic lines among several analytic accounts
- enabled by a dedicated res.group
- added on several objects (vouchers, expenses, analytic defaults...) as well as in bank statement reconciliation widget (manual counterpart and account.reconcile.model)

* bunch of fixes made related to analytic

Was PR #22124. Was task 32386. Original work by tbe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* analytic accounts can be shared among companies
* amount on analytic lines always refer to amount in company currency of which it belongs to
* add analytic groups (hierarchical way to classify analytic accounts)
* analytic tags:
- only present on analytic lines, not anymore on analytic accounts
- can be used to distribue/split an analytic lines among several analytic accounts
- enabled by a dedicated res.group
- added on several objects (vouchers, expenses, analytic defaults...) as well as in bank statement reconciliation widget (manual counterpart and account.reconcile.model)

* bunch of fixes made related to analytic

Was PR #22124. Was task 32386. Original work by tbe.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] analytic: adaptation due to the new Sale module</title>
<updated>2015-08-27T16:10:18+00:00</updated>
<author>
<name>Nicolas Martinelli</name>
<email>nim@odoo.com</email>
</author>
<published>2015-08-27T09:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1dbccc8215d6efe70f3e455a52d04ddb06eba1e3'/>
<id>1dbccc8215d6efe70f3e455a52d04ddb06eba1e3</id>
<content type='text'>
Major changes:
- Remove reports
- Simplify models

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Major changes:
- Remove reports
- Simplify models

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account,analytic: move test from account to analytic</title>
<updated>2015-07-22T17:11:44+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2015-07-22T17:11:44+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3ea8d14d2b06643a87fa5bf794d3e16180a6e1af'/>
<id>3ea8d14d2b06643a87fa5bf794d3e16180a6e1af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>[IMP] Security Rule: removed duplicates due to inheritancies of groups</title>
<updated>2011-12-12T18:11:13+00:00</updated>
<author>
<name>Fabien Pinckaers</name>
<email>fp@tinyerp.com</email>
</author>
<published>2011-12-12T18:11:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f27318c8af85955ef23b709f5fe7f87ee0974bb3'/>
<id>f27318c8af85955ef23b709f5fe7f87ee0974bb3</id>
<content type='text'>
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp</pre>
</div>
</content>
</entry>
<entry>
<title>[REM] Analytic: Remove access rights from analytic group</title>
<updated>2010-10-04T11:18:01+00:00</updated>
<author>
<name>ARA (OpenERP)</name>
<email>ara@tinyerp.com</email>
</author>
<published>2010-10-04T11:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3a03070a9e7eefeea7b5492cab84f59e9984dcd2'/>
<id>3a03070a9e7eefeea7b5492cab84f59e9984dcd2</id>
<content type='text'>
bzr revid: ara@tinyerp.com-20101004111801-o8dw16eiiprukkou</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: ara@tinyerp.com-20101004111801-o8dw16eiiprukkou</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] account,analytic: shifted product related access rights for analytic group to account module.</title>
<updated>2010-09-14T12:24:38+00:00</updated>
<author>
<name>vra</name>
<email>vra@tinyerp.com</email>
</author>
<published>2010-09-14T12:24:38+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=364b82dc0929da22758dddc3f3d9a3596561f7ed'/>
<id>364b82dc0929da22758dddc3f3d9a3596561f7ed</id>
<content type='text'>
bzr revid: vra@tinyerp.com-20100914122438-npaqxmpfqiemufgv</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: vra@tinyerp.com-20100914122438-npaqxmpfqiemufgv</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account, analytic: shifted the account related access rights to account module.</title>
<updated>2010-09-14T11:29:46+00:00</updated>
<author>
<name>vra</name>
<email>vra@tinyerp.com</email>
</author>
<published>2010-09-14T11:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=82035f2ffa2fff230933ce0ba636383cf71c0630'/>
<id>82035f2ffa2fff230933ce0ba636383cf71c0630</id>
<content type='text'>
bzr revid: vra@tinyerp.com-20100914112946-6166xvm1lp1xy881</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: vra@tinyerp.com-20100914112946-6166xvm1lp1xy881</pre>
</div>
</content>
</entry>
<entry>
<title>[ADD] added access rights for Analytic Accounting group including menus. </title>
<updated>2010-09-07T11:57:28+00:00</updated>
<author>
<name>vra</name>
<email>vra@tinyerp.com</email>
</author>
<published>2010-09-07T11:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=039ef25d0da26ebdd88259486ce84ae1c14fb481'/>
<id>039ef25d0da26ebdd88259486ce84ae1c14fb481</id>
<content type='text'>
[REM] Extended group for analytic related menus.
[FIX] Analytic Entries date Order.
[FIX] Assigning sale price with proper sign in product_id onchange in analytic line.

bzr revid: vra@tinyerp.com-20100907115728-n09gkjycdr32ej77</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[REM] Extended group for analytic related menus.
[FIX] Analytic Entries date Order.
[FIX] Assigning sale price with proper sign in product_id onchange in analytic line.

bzr revid: vra@tinyerp.com-20100907115728-n09gkjycdr32ej77</pre>
</div>
</content>
</entry>
<entry>
<title>[ADD] Analytic: added Analytic group on analytic account and put that group on menus related to analytic accounting, removed access rules for anaytic accounting</title>
<updated>2010-09-03T12:44:03+00:00</updated>
<author>
<name>pap (openerp)</name>
<email>pap@tinyerp.co.in</email>
</author>
<published>2010-09-03T12:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=396d5c4a21c8a58861849bb4dc4ee51916ea3bab'/>
<id>396d5c4a21c8a58861849bb4dc4ee51916ea3bab</id>
<content type='text'>
bzr revid: pap@tinyerp.co.in-20100903124403-o1gbrd38nc047vhx</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: pap@tinyerp.co.in-20100903124403-o1gbrd38nc047vhx</pre>
</div>
</content>
</entry>
</feed>
