← Back to team overview

credativ team mailing list archive

[Bug 983731] Re: CRM module is not yet covered

 

About 6.1 -> 7.0, an error occured in migrate_partners [1], the
"crm.meeting" does not have a partner_id.

In 6.1, the model "crm.meeting" defined in the module "crm" owns:
partner_id (many2one)
partner_address_id (many2one)

In 7.0, the model "crm.meeting" defined in the module "base_calendar" owns:
partner_ids (many2many)

[1] fix_partner(cr, pool, 'crm.meeting', 'partner_id',
openupgrade.get_legacy_name('partner_address_id'))

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Addons.
https://bugs.launchpad.net/bugs/983731

Title:
  CRM module is not yet covered

Status in OpenUpgrade Addons:
  Fix Committed

Bug description:
  Hi

  after an upgrade we got the following issues on the crm :

  - the mail_message_id_seq sequence was missing
  - a domain using removed attribute "type" of crm_case_stage was still there
  - the corresponding "type" column was still there although the attribute did not exist

  I had to :

  CREATE SEQUENCE mail_message_id_seq MINVALUE 0;
  SELECT setval('mail_message_id_seq', (SELECT MAX(id) FROM mail_message)+1);
  alter table crm_case_stage drop column type;

  and I had to manually remove the domain and context in the "Stages"
  window_action

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


References