[enh] #798 consume and restore sources with the used_by property
Dropping sources and recreate them from tx inputs was loosing source conditions. This consume method allow to not loose source and their conditions
Showing
- src/sakia/data/entities/source.py 1 addition, 1 deletionsrc/sakia/data/entities/source.py
- src/sakia/data/processors/sources.py 16 additions, 4 deletionssrc/sakia/data/processors/sources.py
- src/sakia/data/repositories/sources.py 43 additions, 4 deletionssrc/sakia/data/repositories/sources.py
- src/sakia/gui/sub/transfer/model.py 3 additions, 6 deletionssrc/sakia/gui/sub/transfer/model.py
- src/sakia/services/documents.py 5 additions, 7 deletionssrc/sakia/services/documents.py
- src/sakia/services/sources.py 40 additions, 52 deletionssrc/sakia/services/sources.py
- tests/unit/data/test_sources_repo.py 38 additions, 0 deletionstests/unit/data/test_sources_repo.py
Loading
Please register or sign in to comment