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

Greetings to all,

​I have Migrated my database from v15 to v16 Successfully and everything is working fine except account move line models data which is not showing in views but exist in migrated database as I verified it from postgres. so, Anyone who know the reason why it is not showing in views or there is some migrations script missing in Openupgrade?

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

this one is the migrated record where I added display_type manually inside views and as you can see there is a cost of goods in account_id but in account move model it still showing product not cogs and also this should not be shown in Invoice Lines as I duplicated this record and cost of goods sold is showing in Journal Items here is the result. 

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

It's seems some scripts are missing.
to check that, Open openupgrade-scripts folder --> scripts --> account
and check if these three files are exist [pre-migration.py, post-migration.py, end-migration.py ]

if not, You can get them from this link

https://github.com/ngochung207/OpenUpgrade/tree/16.0-mig-account

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

I have followed the same migration script and now account move line record 
is showing data in views but there is a problem with display_type (account move line).
there is a cost of goods in account_id but in account move model it still showing product not cogs and also this should not be shown in Invoice Lines as I duplicated this record and cost of goods sold is showing in Journal Items. have you faced this issue as well? 

Tác giả Câu trả lời hay nhất

I

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 24
3630
0
thg 12 23
1780
0
thg 10 23
4725
1
thg 12 23
1511
0
thg 9 23
2190