To automatically open an address with a QR Code, select edit print and the print form opens. Add a QR code where you want.

I have to name the qr code I made , qrcode from its Properties.

Then select the masterdata and double click on onbeforeprint.

There for use with Google Maps we put the following code (the code snippet I am interested in is only the order that starts with qrcode.text which I put between the begin – end that already exists):