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

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? 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 21
1564
1
thg 9 20
4491
5
thg 9 21
20451
1
thg 6 20
3384
2
thg 7 25
2385