Skip to content

Fix/change email wizard

Gerard Funosas requested to merge fix/change-email-wizard into master

Commit 1: - Leave log notes when changing email

  • Inform of the change in both partner and contract pages involved.

Notes visible in the contract whose email has been changed: contract_email_changed

And also from the partner, where the wizard has been called: partner_email_change_in_contract

Commit 2: - Apply email changes to OC

  • Add contactInformation to crm_account_hierarchy to mantain the OC Customer contact information independently from the each billing account's information. (same example as next joint image) Selection_079

  • Pick email from contract instead from the one from its invoicing partner to apply it to the OC billing information ('contract information')

  • If we have multiple contract.email_ids, pick the first one and send the others as CC emails in the 'electronic billing' zone (see picture)

Result of one contract with 3 emails in OC:

Selection_078

Commit 3: - Update tests

Edited by Gerard Funosas

Merge request reports