From 49f71dbacb987abe0b14bb3895be269830b7aed9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 20 Mar 2017 15:43:35 +0100 Subject: [PATCH] PriceSource: editable Dokumentation --- SL/PriceSource.pm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/SL/PriceSource.pm b/SL/PriceSource.pm index ae0017c36..831f68ebc 100644 --- a/SL/PriceSource.pm +++ b/SL/PriceSource.pm @@ -149,8 +149,12 @@ and it is up to the user to change a price. =item 2. -If a price is set from a source, it is read only. A price edited manually is by -definition not a sourced price. +If a price is set from a source then the system will try to prevent the user +from messing it up. By default this means the price will be read-only. +Implementations can choose to make prices editable, but even then deviations +from the calculatied price will be marked. + +A that is not set from a source will not have any of this. =item 3. @@ -285,12 +289,6 @@ to be aware of units and price_factors. This is madness. =item * -A common complaint is that prices from certain vendors are always negotiated -and should use a default value but must be editable (like free prices) by -default. This should be orthogonal for all prices. - -=item * - The current implementation of lastcost is useless. Since it's one of the master_data prices it will always compete with listprice. But in real scenarios the listprice tends to go up, while lastcost stays the same, so lastcost -- 2.20.1