projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test action
[kivitendo-erp.git]
/
SL
/
PriceSource
/
MasterData.pm
diff --git
a/SL/PriceSource/MasterData.pm
b/SL/PriceSource/MasterData.pm
index
14fe88f
..
bf22c99
100644
(file)
--- a/
SL/PriceSource/MasterData.pm
+++ b/
SL/PriceSource/MasterData.pm
@@
-31,6
+31,8
@@
sub price_from_source {
: do { die "unknown spec '$spec'" };
}
+sub discount_from_source { }
+
sub best_price {
$_[0]->record->is_sales
? $_[0]->make_sellprice
@@
-73,6
+75,7
@@
sub make_lastcost {
spec => 'lastcost',
description => t8('Lastcost'),
price_source => $self,
+ priority => 2,
);
}