← Back to team overview

openerp-community team mailing list archive

Re: About depreciation of audittrail. Survey.

 

If someone wants a version of auditrail working for v8 it would be much more productive to fix it than to complaint about it, make surveys and spam twitter.

The source code is on launchpad, i provided the guideline on how to fix it. Are you coders or whiners :) ?

I also think lp:server-env-tools would be a good project candidate to adopt this module.


On 04/29/2014 01:28 AM, Antony Lesuisse wrote:
The v8 release is nearing and we recently moved the auditrail module to an
extra addons repository.

We now have the _track_field mecanism and with base_action_rules you may
configure additional hooks to log events.

The trunk version version auditrail is not just buggy it doesnt work at all on
v8.

The main reason is that we now call the orm directly inside controllers and
templates, such calls dont pass anymore by the execute_cr layer. To fix
auditrail we would need to proxy the osv.Model object.

I think that _track_fields and base_action_rules are enough for most of the
needs but it doesnt offer the same level of reporting as auditrail.log and
auditrail.log.line.

If someone wants to fix auditrail i would recommend following:

- add a depends on base_action_rules
- override _wrap_create and _wrap_write to call check_rules
- remove the dirty monkey patching of execute below.

If read logging is really needed you would need to wrap read and read_group
aswell. One should be aware that read logging is not complete since v6.0 as it
doesnt log read_group.

https://code.launchpad.net/openerp-extra

I also moved project_long_term and document_* modules. For document_* i have
made a proof of concept document_fs module that should cover most of use case
of document_ftp/webdav.

https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-document-fs-al


On 04/28/2014 10:38 PM, Nhomar Hernández wrote:
Hello All.

We are so surprised about the exclusion of the features given by audittrail in
OpenERP.
Before make a public complain we exchange some comments with OpenERP and I
want share with you the conclusions, but before create an opinion matrix about
this change it is important for us answer this little survey
<https://es.surveymonkey.com/s/JJHCZRJ>[1] to make assumptions based on better
and real arguments.

Can you help us to help you?

Regards.

[1] https://es.surveymonkey.com/s/JJHCZRJ

--
--------------------
Saludos Cordiales

Nhomar G. Hernandez M.
+58-414-4110269
Skype: nhomar00
Web-Blog: http://geronimo.com.ve <http://geronimo.com.ve/>
Servicios IT: http://vauxoo.com <http://vauxoo.com/>
Linux-Counter: 467724
Correos:
nhomar@xxxxxxxxxxxxxx <mailto:nhomar@xxxxxxxxxxxxxx>
nhomar@xxxxxxxxxx <mailto:nhomar@xxxxxxxxxx>
twitter @nhomar


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


Follow ups

References