Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1917 Переглядів

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? 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лют. 21
1569
1
вер. 20
4519
5
вер. 21
20496
1
черв. 20
3407
1
лип. 25
2398