跳至内容
菜单
此问题已终结
1968 查看

I'm migrating data from erp 7 to Odoo 13. I've written migration scripts myself (on Postgres). However after migration runs, I keep getting this error 


psycopg2.ProgrammingError: column "type" of relation "ir_actions_todo" does not exist


when I try updating my module. 


The error stems from this line:
cr.execute('ALTER TABLE "{}" ALTER COLUMN "{}" DROP NOT NULL'.format(tablename, columnname))


And so my question becomes: Why was the type field deprecated in ir_actions_todo? 

形象
丢弃
相关帖文 回复 查看 活动
0
2月 21
1643
1
9月 20
4729
5
9月 21
20687
1
6月 20
3544
1
7月 25
2755