Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
1200 Näkymät

Hello,


In Odoo18, I Enabled The Audit Trail Ticket In Accounting's Setting.



Now I Want Disable But When I Save The Settings, This Messages Appears:



Avatar
Hylkää

What kind of Audit Trail would it be if you could disable it after it was activated and was in use?

Bah justement, 

Comment le desactiver, car on en veut plus

Je l'ai activé juste pour voir ce que ça fait, mais là je peux plus supprimer d'écritures ni de sociétés,

Nous sommes un cabinet d'expertise comptable

Paras vastaus

Hi,

In Odoo, there is a function called "_check_audit_trail_records" that ensures the Audit Trial feature cannot be disabled if there are entries for the company.


Hope it helps

Avatar
Hylkää
Paras vastaus

I had the same problem. I am using Odoo Mates Accounting app. You can turn Audit Tracking off by running this query:

UPDATE res_company
SET check_account_audit_trail = FALSE
WHERE check_account_audit_trail IS TRUE;

This will hide the Accounting Audit Report and allow editing of accounts records that can't be edited with it on. It doesn't delete the Accounts Audit records though. If you want to clean them up use:

delete from mail_message where model like 'account%';

or to see them

select * from mail_message where model like 'account%';

All chatter lives in the mail_message table so deleting all of those records will remove all chatter and log notes etc.

I didn't seem to have any problems when I deleted the Accounts audit records. Interestingly, even after deleting every record in the mail_message table I still could not disable Audit Tracking setting via the UI. I had to do it via SQL.

I used the Execute Query app by Miftahussalam to run my queries.


Avatar
Hylkää
Paras vastaus

I turned it on and some changes were made. We really don't want this feaure and I have been trying to delete rows to get it to uninstall. What rows do I have to delete for it to uninstall please?

I am running sql code against the database....

Avatar
Hylkää

you can't disable it because you have entries

Have you manged to disable it Yonas?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
toukok. 25
464
0
huhtik. 25
266
0
huhtik. 25
339
0
maalisk. 25
364
0
maalisk. 25
401