← Back to team overview

openerp-india team mailing list archive

[Bug 996838] Re: Modules instalation order affect fields in crm.lead

 

Hello Damián,

First of all, I want to say nice bug report.

This things also generated a bug (traceback) on 6.1, If you install
first crm then base_contact then contact_id 's error will be generated
like "Programming error: column crm_lead.contact_id does not exist"
which is same as a lp:982751 ( which is for location_id
(res.partner.location), I will add contact_id(res.partner.contact) error
there also ).

base_contact are already removed from trunk so this is a bocking point
for 6.1, So this need to be fix for stable6.1.

But you have posted this as a manner of framework, So would you please check lp:996816 (which consider same problem).
So I will make this as a duplicate of lp:996816
Don't worry about contact_id field because I will add a comment( update a bug) lp:982751 for contact_id also cause both problem fix same way with same file.

Thank you very much!

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/996838

Title:
  Modules instalation order affect fields in crm.lead

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  In OpenERP v6.1, if I install first the module 'base_contact' and then
  'crm' everything works fine, I can see the field 'contact_id' in a
  crm.lead in the database.

  But if I install 'crm' first and then 'base_contact' the field
  'contact_id' is not present in the database. This may be because of
  the way crm.lead inherits from res.partner.address and they way the
  fields of res.partner.address are taken to create the crm.lead table
  (which I imagine is on instalation of the module crm).

  This is causing me problems if I want to add fields to
  res.partner.address that are replicated in crm.lead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/996838/+subscriptions


References