Files
openfoodnetwork/lib
Pau Perez fc5882686a Add unit tests to VariantStock
This also replaces the after_save callback to after_update.

We enforce a stock_item exists when modifying the variant and the
stock_item gets created on variant's after_create. This means it's not
possible to use any of the VariantStock's setters before the variant is
persisted so executing the callback on creation is pointless.
2018-09-06 13:20:52 +02:00
..
2012-03-27 10:10:26 +11:00
2017-12-01 13:37:30 +11:00