Comment 12 for bug 591501

Revision history for this message
Maxime DOYEN (mdoyen) wrote : Re: wish: Attach Receipts

Hey,

My preferred version is the one from TonyIT, but with some adaptation.
1) a new single field (so no multiple attachment, but this is not decided yet)

2) "think that a simple way to reach a compromise is to have a new field where the user can drag and drop a file and so 'magically' the path is auto compiled."
Q @TonyIT: what magic were you thinking about ?
If we let the user drop a file into the txn dialog window or just this field, lots of actions, case and checks are required: copy the src file to the root attachment folder, check existence (not to overwrite), copy it (what to do then), or rename it, etc...

3) In the ledger the user will see a icon next to every transaction if the field is populated. By clicking on it, the file will be opened by the operating system.
=> I most think about an attachment icon, and a button beside the others to let the system open (like in MMEX)

4) For sure, the user has to set a root path where he will store the docs. In this way, if he needs to move the whole directory, he will have the possibility to change it in one-shot.
=> I have setup a configurable global attachment folder