I am trying to add QR code in the Invoice pdf. I am not an expert in odoo or python but have a basic knowledge for editing the exiting code.
For adding the QR code in Invoice I have edited the view report_invoice_document under Technical->user Interface->Views and added the following line for generating QR code.
The above code generates a QR Code which has the text upi:/pay
The QRcode is getting generated but the link in QR Code is truncated.
In case I use upi:/ instead of upi:// as shown below full link is getting generated.
How to get the full link with upi:// ?