IDEMPIERE-4597 : Make sure ConvertLead process generates an active BPartner (#464)

This commit is contained in:
Nicolas Micoud 2020-12-14 14:56:32 +01:00 committed by GitHub
parent 5e977d427c
commit d9f0c43af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ public class ConvertLead extends SvrProcess {
else
bp.setName(lead.getName());
bp.setIsActive(true);
bp.saveEx();
addBufferLog(bp.getC_BPartner_ID(), null, null, "@C_BPartner_ID@ @Created@", MBPartner.Table_ID, bp.getC_BPartner_ID());