Skip to Content

V.19 migration

odoo project

Security

  • Intermediate level res.groups.privilege is between ir.module.category and res.groups
  • res.groups field "users" is changed to "user_ids", so all security.xml files should be amended
  • res.users field "groups_id" is changed to "group_ids"
  • res.groups gets a new field "privilege_id"
  • Ir.actions.server, ir.actions.act_window, ir.ui.menu groups_id is renamed to group_ids

XML

  • ir.actions.act_window field "target" doesn't have "inline" value anymore
  • type="edit" is deprecated for kanban actions >> use type="open"
  • search_view_id should use ref instead of eval
  • group in search view should not contain "expand" or "string"

Check all res.config.settings XML views!

Python

  • auto_join - deprecated
  • from odoo.osv.expression import OR (AND) deprecated ==> from odoo.fields import Domain    Domain.OR; Domain.AND
  • @api.returns is not used anymore
  • self._cr is obsolete ==> self.env.cr