IDEMPIERE-4597 : Make sure ConvertLead process generates an active BPartner (#464)
This commit is contained in:
parent
5e977d427c
commit
d9f0c43af8
|
@ -70,6 +70,7 @@ public class ConvertLead extends SvrProcess {
|
||||||
else
|
else
|
||||||
bp.setName(lead.getName());
|
bp.setName(lead.getName());
|
||||||
|
|
||||||
|
bp.setIsActive(true);
|
||||||
bp.saveEx();
|
bp.saveEx();
|
||||||
addBufferLog(bp.getC_BPartner_ID(), null, null, "@C_BPartner_ID@ @Created@", MBPartner.Table_ID, bp.getC_BPartner_ID());
|
addBufferLog(bp.getC_BPartner_ID(), null, null, "@C_BPartner_ID@ @Created@", MBPartner.Table_ID, bp.getC_BPartner_ID());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue