summaryrefslogtreecommitdiff
path: root/SECURITY.md
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-05-23 10:56:31 +0000
committerNans Lefebvre <len@odoo.com>2019-05-23 13:35:03 +0000
commit345a5a4aa816c146a30fe0bd07446eb9ee351a45 (patch)
tree8a3fe6248507f1d1ab67ec0d4530c5f322fec8ec /SECURITY.md
parent0c50fb516c3556b2ac0d2fabe804feaa7f0cd227 (diff)
[FIX] crm: set the email_from from the kanban quick create
When setting the partner of a lead, on the form view the email_from is automatically populated by the onchange on the partner_id. This is not the case when created programmatically, and this is not even the case when created from the kanban view. This can lead to an unexpected failure to send emails down the line. We apply the onchange in the create to fill all values consistently in all cases. In case the values were already set, this simply won't change anything. Note that we need to adapt the test from website_crm_partner_assign. It uses demo data that makes little sense. The opportunity crm.crm_case_21 is set in the UK, with a partner base.res_partner_4 in the US, in the state Escuintla of Guatemala. With the change from above, all the address fields on the opportunity are populated by the onchange, from the partner. opw 2000241 closes odoo/odoo#33622 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions