试图将一个模块从odoo 10迁移到odoo 12,但它向我显示了这个错误,似乎不存在stock_account。raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseErrorfound in the system: stock_account.view_picking_inherit_form2" while parsing /home
根据这个答案:what does attachment=True do odoo 13 当您执行self.env['ir.attachment'].search([])时,您不会获得设置了res_field当然,我需要获取设置了res_id字段的记录。有没有黑客可以通过ORM搜索做到这一点? 或者我必须改为执行SQL查询?我想你们中的许多人都需要这样做一次。尊重ORM有什么好主意吗?