Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Modules affected

ModuleAction
api_clickatelInstall if required
api_repayInstall if required
assign_mixinUpgrade
base_bankUninstall
base_cityUpgrade
base_countryUpgrade
base_partnerUpgrade
callUpgrade
campaignUpgrade
credit_reportUpgrade
crm_partnerUpgrade
debit_orderUpgrade
debit_order_inteconUpgrade
debit_order_paym8Upgrade
debit_order_repayInstall if required
helpdeskUpgrade
l10n_us_baseInstall if required
l10n_us_crmInstall if required
l10n_za_baseInstall if required
l10n_za_crmInstall if required
loanUpgrade
loan_debit_orderUpgrade
mail_vaderInstall
project_partnerUpgrade
report_unoconvUpgrade
socialInstall if required
social_facebook_messangerInstall if required
social_whatsapp_clickatellInstall if required
statusUpgrade
web_flowUpgrade
web_flow_loanInstall

Post-Migrations

Code Block
languagesql
[base_bank]

ALTER TABLE res_bank DROP COLUMN website;
ALTER TABLE res_bank DROP COLUMN routing_number;
UPDATE res_partner_bank SET acc_type='bank' WHERE account_type='current';
UPDATE res_partner_bank SET acc_type='bank' WHERE account_type='checking';
UPDATE res_partner_bank SET acc_type='savings' WHERE account_type='savings';
ALTER TABLE res_partner_bank DROP COLUMN account_type;

[base_country]

UPDATE res_country SET active=TRUE;

[base_partner]

ALTER TABLE res_partner DROP COLUMN passport_number;
ALTER TABLE res_partner DROP COLUMN passport_number_valid;

[call]

UPDATE call_pbx SET account_code='TSK' WHERE account_code IS NULL;

[credit_report]

ALTER TABLE res_partner DROP COLUMN id_type;

[helpdesk]

ALTER TABLE helpdesk_helpdesk DROP COLUMN contact_create;
ALTER TABLE helpdesk_helpdesk DROP COLUMN cc_contacts_create;


Code Block
languagepy
# Correct promissory that were in incorrect state
for p in env['res.promissory'].search([('state', 'in', ['active', 'error'])]):
    p.instalment_ids[0]._check_if_complete()