Skip to content

Fix management of contact phone and email fields in create lead from partner wizard

CHANGELOG:

### Fixed
- [#416](https://gitlab.com/coopdevs/odoo-somconnexio/-/merge_requests/416) Fix management of contact phone and email fields in create lead from partner wizard

Commit 1: Fix how email is assigned to crm_lead in the wizard

Commit 2: Update phone_contact treatment in wizard

  • Get it by default from partner (mobile or phone)
  • Only let it be editable if neither mobile nor phone exist in partner
  • If added, save it to partner mobile, which is what will be sent to OTRS as "TelefonContacte"

Commit 3: Remove countries in wizard tests (they are assigned to spain by default)

Commit 4: Save phone contract as phone in CRMLead

Edited by Pelayo García

Merge request reports

Loading