Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
2230 Lượt xem

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:



Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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....

Ảnh đại diện
Huỷ bỏ

you can't disable it because you have entries

Have you manged to disable it Yonas?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
42
1
thg 8 25
862
1
thg 7 25
809
1
thg 7 25
856
0
thg 7 25
1604