diff options
| author | Ronald Portier (Therp BV) <ronald@therp.nl> | 2016-05-27 15:04:20 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-05-30 15:02:20 +0200 |
| commit | d73648fe0dc1f571d08b76d8d6f7780dd20ed811 (patch) | |
| tree | 9b98cd964b8ef1c6d4127f20f379c3badaaeb854 /addons/website_google_map/static | |
| parent | 63ca2d1b9ffa1cacf4e8e4fefc24b404ac49fb57 (diff) | |
[FIX] crm,gamification: flexible reference to field
The field generation is most of the time following the pattern
`field_<table name>_<field name>`
but in case of name clash (e.g. res.partner.category - id and res.partner -
category_id), the id of ir.model.field is added at the end of the external id
during the field creation.
The more flexible way to link to an ir.model.field is to use the syntax
`search=[('model', '=', <model>), ('name', '=', <field name>)]`
to avoid errors as in #12192 when the "first" external id no longer exists.
Fixes #12192
Closes #12198
Diffstat (limited to 'addons/website_google_map/static')
0 files changed, 0 insertions, 0 deletions
