diff options
| author | Damien Bouvy <dbo@odoo.com> | 2020-01-30 15:31:19 +0000 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2020-01-31 12:06:46 +0000 |
| commit | eaccecd6cc2e21753240b44a42a2040d82de0fe1 (patch) | |
| tree | 8ef89894e878d45731c18f4aeaa872b8a62e041b /odoo/modules | |
| parent | d25fac7e8d5fdb89fc0ea5f83140150820f64882 (diff) | |
[IMP] base: correctly escape identifiers in reflection queries
When the db reflects the python models at startup, a query is generated
to update various `ir` models (models, fields, etc.). This query did not
properly escape identifiers, preventing the use of the 'order' field
name on ir.model because it is a reserved keyword in SQL and wasn't
escaped.
This commit introduces proper escaping for these reflection queries.
Co-Authored-By: Raphaƫl Collet <rco@odoo.com>
Diffstat (limited to 'odoo/modules')
0 files changed, 0 insertions, 0 deletions
