Details
Assignee
UnassignedUnassignedReporter
Alan LescanoAlan LescanoLabels
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Alan Lescano
Alan LescanoLabels
Priority
Created March 8, 2014 at 2:29 PM
Updated August 22, 2020 at 1:13 PM
MOrderLine.afterSave() always calls ITaxProvider.recalculateTax() even when processing shipments/invoices (due to changes in reserved/delivered/invoiced fields). Althought being simple to work around this behavior (checking isProcessed in recalculateTax() and just returning), it not seems to be consistent this call to the method.
What about adding !isProcessed() before trying to recalculte taxes?
Attached is suggestion patch for MOrderLine/MInvoiceLine/MRMALine