IDEMPIERE-3669 Drop shipment - Accounting processor posts customer shipment before MR resulting in posting error / addDocsPostProcess

This commit is contained in:
Carlos Ruiz 2019-05-08 11:04:45 +02:00
parent 93c4356c65
commit d6120e2f80
1 changed files with 2 additions and 0 deletions

View File

@ -1681,6 +1681,8 @@ public class MInOut extends X_M_InOut implements DocAction
MInOut dropShipment = createDropShipment();
if (dropShipment != null)
info.append(" - @DropShipment@: @M_InOut_ID@=").append(dropShipment.getDocumentNo());
if (dropShipment != null)
addDocsPostProcess(dropShipment);
// User Validation
String valid = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_COMPLETE);
if (valid != null)