Skip to content

Commit

Permalink
Always update SalesOrderLine.Price* (#10366)
Browse files Browse the repository at this point in the history
#10365
Signed-off-by: TheBestPessimist <cristian@tbp.land>
  • Loading branch information
TheBestPessimist committed Dec 8, 2020
1 parent 19deeea commit e9edcb6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,7 @@ protected boolean beforeSave(final boolean newRecord)
else
{
// Set Price if Actual = 0
if (getPriceActual().signum() == 0
&& getPriceList().signum() == 0)
if (getPriceList().signum() == 0)
{
setPrice();
}
Expand Down

0 comments on commit e9edcb6

Please sign in to comment.