add workaround for customer service asset (not fixed assets)

This commit is contained in:
Owner.Owner-PC 2012-10-05 16:28:01 +07:00
parent 9a1add059d
commit 8b0d559ae5
1 changed files with 1 additions and 0 deletions

View File

@ -1482,6 +1482,7 @@ public class MInOut extends X_M_InOut implements DocAction
if (product != null
&& isSOTrx()
&& product.isCreateAsset()
&& !product.getM_Product_Category().getA_Asset_Group().isFixedAsset()
&& sLine.getMovementQty().signum() > 0
&& !isReversal())
{