column crm_lead.opt_out does not exist
Bug #995986 reported by
Raphael Collet (OpenERP)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Raphael Collet (OpenERP) |
Bug Description
Using trunk (2012-05-07), you can reproduce it as follows:
- install module crm
- install module email_template
- restart your server
- from the menu, go to a view of leads or opportunities
The problem comes from the module email_template adding a field 'opt_out' to the model res.partner. When the server restarts, if email_template is loaded *before* crm, the model crm.lead has a field 'opt_out' (by inheritance), while this field does not exist in the db table.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-995986-rco
- Olivier Dony (Odoo): Approve
-
Diff: 485 lines (+45/-45)34 files modifiedcrm/crm_lead.py (+6/-6)
crm/crm_lead_view.xml (+4/-4)
crm/test/ui/crm_demo.yml (+2/-2)
email_template/i18n/ar.po (+1/-1)
email_template/i18n/bg.po (+1/-1)
email_template/i18n/ca.po (+1/-1)
email_template/i18n/da.po (+1/-1)
email_template/i18n/de.po (+1/-1)
email_template/i18n/email_template.pot (+1/-1)
email_template/i18n/es.po (+1/-1)
email_template/i18n/es_CR.po (+1/-1)
email_template/i18n/es_EC.po (+1/-1)
email_template/i18n/et.po (+1/-1)
email_template/i18n/fi.po (+1/-1)
email_template/i18n/fr.po (+1/-1)
email_template/i18n/hr.po (+1/-1)
email_template/i18n/hu.po (+1/-1)
email_template/i18n/it.po (+1/-1)
email_template/i18n/ja.po (+1/-1)
email_template/i18n/mn.po (+1/-1)
email_template/i18n/nb.po (+1/-1)
email_template/i18n/nl.po (+2/-2)
email_template/i18n/pl.po (+1/-1)
email_template/i18n/pt.po (+1/-1)
email_template/i18n/pt_BR.po (+1/-1)
email_template/i18n/ro.po (+1/-1)
email_template/i18n/ru.po (+1/-1)
email_template/i18n/sr.po (+1/-1)
email_template/i18n/sr@latin.po (+1/-1)
email_template/i18n/sv.po (+1/-1)
email_template/i18n/tr.po (+1/-1)
email_template/i18n/zh_CN.po (+2/-2)
email_template/res_partner.py (+1/-1)
import_sugarcrm/import_sugarcrm.py (+1/-1)
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
landed in trunk
revno: 6782 [merge]
revision-id: <email address hidden>