Revision d770b5b3
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/PriceSource.pm | ||
---|---|---|
157 | 157 |
L<SL::PriceSource::Price>, |
158 | 158 |
L<SL::PriceSource::ALL> |
159 | 159 |
|
160 |
=head1 BUGS |
|
160 |
=head1 BUGS AND CAVEATS
|
|
161 | 161 |
|
162 |
None yet. :) |
|
162 |
=over 4 |
|
163 |
|
|
164 |
=item * |
|
165 |
|
|
166 |
The current simple model of price sources providing a simple value in simple |
|
167 |
cases doesn't work well in situations where prices are modified by other |
|
168 |
properties. The same problem also causes headaches when trying to use price |
|
169 |
sources to compute positions in assemblies. |
|
170 |
|
|
171 |
The solution should be to split price sources in simple ones, which do not |
|
172 |
manage their interactions with record_items, but can be used in contexts |
|
173 |
without record_items, and complex ones which do, but have to be fed a dummy |
|
174 |
record_item. For the former there should be a wrapper that handles interactions |
|
175 |
with units, price_factors etc.. |
|
176 |
|
|
177 |
=item * |
|
178 |
|
|
179 |
Currently it is only possible to provide additional prices, but not to restrict |
|
180 |
prices. Potential scenarios include credit limit customers which do not receive |
|
181 |
benefits from sales, or general ALLOW, DENY order calculation. |
|
182 |
|
|
183 |
=back |
|
163 | 184 |
|
164 | 185 |
=head1 AUTHOR |
165 | 186 |
|
Auch abrufbar als: Unified diff
PriceSource: Probleme dokumentiert