sde1000 / quicktill

Figure out where all the money and stock went to
GNU General Public License v3.0
43 stars 8 forks source link

Issue deleting stocktype through tillweb #260

Closed sde1000 closed 1 year ago

sde1000 commented 1 year ago

Tillweb doesn't check whether a stock type is referenced by a stock line before attempting to delete it.

sde1000 commented 1 year ago

More detail: deleting a stocktype tries to set the stocktype to null in the stocklines table, but this isn't permitted for continuous or display stock lines.