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())
|
||||
.setParameters(getC_Tax_ID())
|
||||
.setOnlyActiveRecords(true)
|
||||
.setClient_ID()
|
||||
.list();
|
||||
//red1 - end -
|
||||
if (list.size() > 0 && is_Immutable())
|
||||
|
|
|
@ -97,8 +97,6 @@ public class StandardTaxProvider implements ITaxProvider {
|
|||
}
|
||||
if (!oTax.delete(true, order.get_TrxName()))
|
||||
return false;
|
||||
if (!oTax.save(order.get_TrxName()))
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue