IDEMPIERE-4621 Cross Tenant Parent Tax Error (#502)
* IDEMPIERE-4621 Cross Tenant Parent Tax Error * IDEMPIERE-4621 Add CLient Check on getTaxNodes
This commit is contained in:
parent
df47a79531
commit
afde8a0cf1
|
@ -243,6 +243,7 @@ public class MTax extends X_C_Tax implements ImmutablePOSupport
|
||||||
List<MTax> list = new Query(getCtx(), I_C_Tax.Table_Name, whereClause, get_TrxName())
|
List<MTax> list = new Query(getCtx(), I_C_Tax.Table_Name, whereClause, get_TrxName())
|
||||||
.setParameters(getC_Tax_ID())
|
.setParameters(getC_Tax_ID())
|
||||||
.setOnlyActiveRecords(true)
|
.setOnlyActiveRecords(true)
|
||||||
|
.setClient_ID()
|
||||||
.list();
|
.list();
|
||||||
//red1 - end -
|
//red1 - end -
|
||||||
if (list.size() > 0 && is_Immutable())
|
if (list.size() > 0 && is_Immutable())
|
||||||
|
|
|
@ -97,8 +97,6 @@ public class StandardTaxProvider implements ITaxProvider {
|
||||||
}
|
}
|
||||||
if (!oTax.delete(true, order.get_TrxName()))
|
if (!oTax.delete(true, order.get_TrxName()))
|
||||||
return false;
|
return false;
|
||||||
if (!oTax.save(order.get_TrxName()))
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue