longclaw icon indicating copy to clipboard operation
longclaw copied to clipboard

Fulfilled order price might change in time

Open dtwm opened this issue 5 years ago • 0 comments

  • longclaw version: 1

In current implementation order price is determent from current product price. https://github.com/JamesRamm/longclaw/blob/a041d3d505539f03dce4d0570f067ecc1eb4e7a9/longclaw/orders/models.py#L91-L93

Product price might change with time, value of paid (or accepted) orders shouldn't. This also will bite once sales and discounts will be introduced. btw, relation to product via on_change=DO_NOTHING might lead to unexpected results.

dtwm avatar Dec 24 '19 15:12 dtwm