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

We have a tax item called, Incl VAT 10%, previously it was targeted to the wrong account called Product Sales, but later we changed it into a Tax Received account, and it is working fine now. But there are more records with the old setting, ie- taxes logged into the Product sales account. Is there a way to change all the existing accounts to the new Taxt received account available in the system?


One way is to go through all the records individually and do a reset to draft and then update the account. but this is a time-consuming one.


The issue comes when we took the ledger reports of the separate accounts, these tax data came inside the product sales report which is incorrect.


Any help is appreciated in advance. Thanks. 

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

Hi,

You can create a server action and execute a python script to perform this operation instead of doing one by one manually. Also you can check the modules like mass editing.

See: Add Contextual Action Using Server Action To Ease Your Work In Odoo


Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

created server action and worked, Thanks!!

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
1275
0
thg 5 25
619
UK VAT accounts Đã xử lý
1
thg 4 25
1793
1
thg 8 24
2137
0
thg 8 24
1251