Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1999 Visualizações

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? 

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
fev. 21
1649
1
set. 20
4773
5
set. 21
20720
1
jun. 20
3558
1
jul. 25
2816