跳至内容
菜单
此问题已终结
2 回复
1775 查看

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?

形象
丢弃
编写者

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. 

最佳答案

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

形象
丢弃
编写者

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? 

编写者 最佳答案

I

形象
丢弃
相关帖文 回复 查看 活动
1
10月 24
3218
0
12月 23
1459
0
10月 23
3682
1
12月 23
1211
0
9月 23
1882