column crm_lead.opt_out does not exist

Bug #995986 reported by Raphael Collet (OpenERP)
14
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

Changed in openobject-addons:
status: Confirmed → Fix Committed
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

landed in trunk
revno: 6782 [merge]
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.