server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[16.0] auditlog: full log type is not working

Open rbellanova opened this issue 2 months ago • 6 comments

Hello, I noticed that after commit c6aedd0, writing logs with full type is no longer working. Regards

rbellanova avatar Oct 20 '25 08:10 rbellanova

Can you try with https://github.com/OCA/server-tools/pull/3409?

StefanRijnhart avatar Nov 07 '25 15:11 StefanRijnhart

Hello, also with #3409 is not working

rbellanova avatar Nov 11 '25 11:11 rbellanova

Thanks for checking. For my understanding, can you be more specific? Are no logs created at all, are log lines missing for modified fields, and if so, please name a concrete model and field where the problem occurs. Try to reproduce on the oca/16.0 branch' runbot if possible.

StefanRijnhart avatar Nov 11 '25 12:11 StefanRijnhart

Yes, I've tried on runbot.

I mean 'line_ids' of the model 'auditlog.log'.

I tried with 'title' field -> No log. ❌

I tried with 'mobile' field -> No log. ❌

I tried with 'name' field -> Log. ✔️

The rule is on 'res.partner' and the type is 'Full log' and no fields are excluded.

I've got the problem in a local installation with the model 'hr.employee'.

rbellanova avatar Nov 11 '25 15:11 rbellanova

I was able to replicate.

Steps: create a full log on crm.lead, no other configurations. CRUD some leads.

Expected behavior: Log should show all changes.

Actual behavior: logs are delayed, and sometimes never appear, for a variety of CRUD operations. (Update fields, unlink lead, etc.)

kpassapk avatar Nov 18 '25 02:11 kpassapk

Please review and test https://github.com/OCA/server-tools/pull/3449 as a solution for this issue.

StefanRijnhart avatar Nov 18 '25 08:11 StefanRijnhart