#5995 (Move check_virgin() from SITE to lino.utils.dbhash)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
Children
Kommentaarid
- 1 aasta, 7 kuud ago by Luc Saffre about #5995 (Move check_virgin() from SITE to lino.utils.dbhash) : It took me some time to realize that dbhash.check_virgin() can't tidy up in peppol/documents.rst because there we also update existing database rows. The dbhash ignores these changes, it considers only the primary keys per model.
- 1 aasta, 7 kuud ago by Luc Saffre about #5995 (Move check_virgin() from SITE to lino.utils.dbhash) : Oops but I see now that I checked in too quickly: django.db.models.deletion.ProtectedError: ("Cannot delete some instances of model 'Voucher' because they are referenced through protected foreign keys: 'VatAccountInvoice.voucher_ptr'.", {VatAccountInvoice #221 ('INB 1/2014')})
- 1 aasta, 7 kuud ago by Luc Saffre about #5995 (Move check_virgin() from SITE to lino.utils.dbhash) : After our meeting I had this idea and I thought that it's a quick win...
- 1 aasta, 7 kuud ago by Luc Saffre about #5995 (Move check_virgin() from SITE to lino.utils.dbhash) : Created new Ticket #5995 (Move check_virgin() from SITE to lino.utils.dbhash).