Skip to content

Commit

Permalink
do not call pricematrix on existing order/invoice, fixes ledgersmb#1954
Browse files Browse the repository at this point in the history
  • Loading branch information
einhverfr authored and ylavoie committed Aug 6, 2016
1 parent 839a003 commit 8f16199
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/LedgerSMB/PriceMatrix.pm
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Updates $ref with the price matrix outcomes given $transdate and $form.

sub price_matrix {
my ( $pmh, $ref, $transdate, $decimalplaces, $form, $myconfig) = @_;
return if $form->{id};
my $customerprice;
my $pricegroupprice;
my $sellprice;
Expand Down

0 comments on commit 8f16199

Please sign in to comment.