audit trail "view log" should only show logs of the current object

Bug #435557 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Jay Vora (Serpent Consulting Services)

Bug Description

enhancement
* currently the complete log table is shown,
* the Object is identified by its readable name,
* the resource by id - not userfriendly
* the id is not selectable making the list hardly usable if someone wants to track changes

I suggest
* to show only the logs of the current resource if the action is started from a resource
* to show the "name" in addition to the id

Related branches

Changed in openobject-addons:
status: New → Confirmed
assignee: nobody → Jay (Open ERP) (jvo-openerp)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you a lot for reporting this issue.

It has been fixed with revision 2416 <email address hidden>.

Kindly check it.

Changed in openobject-addons:
status: In Progress → Fix Released
Revision history for this message
Ferdinand (office-chricar) wrote :

is this fixed only in trunk (what I assume) ?

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Its solved on both, stable and trunk.

Revision history for this message
Ferdinand (office-chricar) wrote :

branch-server 1889
branch-addons official 2470

I do not understand why I get this (see image) when I start "View Log" from partner
(these are "historical" data, nothing I have done after updating audittrail to r2470)

Does the patch work only for "new" changes?

Changed in openobject-addons:
status: Fix Released → New
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Yes absolutely,

The new domain is applied when the rule is subscribed.

Old act_window link View Logs have their domain written as old one.

You may unsubscribe the old rules, and subscribe again.

New code adds domain (object_id=something).

Thank you.

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Ferdinand (office-chricar) wrote :

make the diffs visually copmparable - especially trailing blanks

ToDo: display the "name" of the object id.

Revision history for this message
Ferdinand (office-chricar) wrote :

@Jay
Can you think of a procedure how to inform people (db-admins) reliable that they have to unsubscripe and subscribe again.

Hint:
* create a request during update?
at least we would have somthing - although updating the db from the commandline and not logging in will not inform the admin.
and I believe the request will not be read
* may be an email to openerp user ?

Changed in openobject-addons:
status: Fix Released → Incomplete
Revision history for this message
Ferdinand (office-chricar) wrote :

or just unscubscribe+subscribe automatically

Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

Ferdinand @ ChriCar seems to say right folks.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello,

We cannot fire any procedure to subscribe+unsubscribe automatically, you may change the domian of view log action.
Thanks.

Changed in openobject-addons:
milestone: none → 5.0.11
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.