odoo/addons/gamification_sale_crm
Ronald Portier (Therp BV) d73648fe0d
[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
2016-05-30 15:02:20 +02:00
..
i18n [I18N] Update translation terms from Transifex 2016-05-29 02:58:42 +02:00
__init__.py [IMP] gamification: licency stuff 2013-12-17 11:48:13 +01:00
__openerp__.py [IMP] Updated website urls on modules and info page 2014-08-26 21:40:18 +02:00
sale_crm_goals.xml [FIX] crm,gamification: flexible reference to field 2016-05-30 15:02:20 +02:00
sale_crm_goals_demo.xml [FIX] gamification: remove useless data from demo data 2014-04-25 15:31:26 +02:00