odoo 变更字段类型

当字段类型变更时,在某些情况下是 升级是有报错信息的
所以这种情况下,可以直接操作数据库

select name,* from ir_model_fields where name='type' and model ='approval.order'
delete from ir_model_fields where name='type' and model ='approval.order'

你可能感兴趣的:(数据库,oracle)