TKOaly / rv-backend

RV backend
MIT License
1 stars 0 forks source link

When a product stock count is edited the stock of the correct price batched should be modified #134

Open Jokauppi opened 8 months ago

Jokauppi commented 8 months ago

Related to

When the stock of a product is manually edited up, that product's latest price row's stock should be increased by the given value. This assumes the price is what its currently set at.

When products are manually removed it is usually removing lost products. In this case by default the saldos of the oldest price batches should be decreased first. This way the lost products lead in to the least losses as product were usually cheaper in the past.

Should there also be an option to remove products from the latest batches first? If the admin accidentally buy in too many products they should be able to remove products from the latest batch.

Jokauppi commented 8 months ago

It was chosen to not implement multiple simultaneous prices. Issue will be updated or rejected.