Hi Frank,
I attach a screenshot of the SEPA transfer form of Gnucash:
My thought was adding a button (sketched in Green in the screenshot): Import
EPC-QR
If a user clicks a button an external program gets executed and returns the
EPC-QR data (format in which the data is provided can be defined in way which
make it as easy as possible on the gnucash side). Gnucash fills the data into
the SEPA transfer form.
The external program can be the small python script reading from a webcam or a
file. For me this solution would be quite flexible and could be adapted to
whatever a user/platform requires. I was also thinking that reading the QRcode
from the clipboard could be a quite elegant option, which could be compatible
with many workflows (e.g. my favorite pdf viewer okular would allow to mark the
QR code and copy the image to the clipboard).
It would not bring new link-level dependencies and there is also no need to
use python in gnucash internally.
It is not even limited to EPC QR codes, any external data source could be used
to fill in the SEPA transfer fields.
Regards
Rainer
Am Sonntag, 16. Januar 2022, 23:55:50 CET schrieben Sie:
> Hi Rainer,
>
> I suspect, you want something like File->Import->Import DTAUS and send…
> You will have "only" to create a EPC-QR Importer with all its validity
> checks.
>
> ISTR Christopher Lam had worked on printing them on invoices.
>
> Regards
> Frank
>
> Am 16.01.22 um 23:38 schrieb John Ralls:
> > GnuCash has python bindings but does not itself use python internally so
> > python-qrtools is not a useful approach, sorry.
> >
> > Regards,
> > John Ralls
--
Rainer Dorsch
http://bokomoko.de/
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel