Explaining the logic of price lookups in ERP5 Trade (needs review).
Table of Contents
Trade transaction (sale/purchase) is represented by a Movement which defines the
price charged. Price is obtained from the Movement by Movement.getPrice method.
The way the price is calculated works as follows:
In nearly all cases, it is sufficient to use either the first or the last point,
If you really need to apply your own logic, create a [PortalType]_getPriceCalculationOperandDict
method, either for a Movement or for a Resource ([PortalType]_getPrice is