Skip to Content
Menu
This question has been flagged
2 Replies
2173 Views

We use v15 sh. The company issues an invoice and the QR code is generated upon posting the invoice.

All these functions work ok.

But when the customer or any government official scans the QR code, the invoice date of the invoice is not shown in the field of invoice date in the scanned copy. Whereas in the field of Invoice Date in the scanned copy it shows the timestamp of the confirmation date of the invoice.

It seems the information is not correct based on the field, invoice date should be the invoice date, not the confirmation date.

Did anyone face the same?

 

Avatar
Discard
Best Answer

Hi,

I hope this question is related with Saudi/Zatca localization. If yes, currently Odoo is taking the confirmation date of the invoice to generate the QR code. The confirmation date is the date time in which the invoice is posted to the accounting, if you feel this logic is wrong as per zatca policy, create a support ticket to odoo and report it, so that Odoo team will update the logic.

Mean while if you need to fix from your side, you can create custom module and inherit and modify the logic of this function: _compute_qr_code_str in this module: l10n_sa_invoice


Thanks

Avatar
Discard
Author

Thank you for the reply!

Best Answer

Hello Mr Mohammed,


Are you found any solution for invoice date in qr code

Avatar
Discard
Related Posts Replies Views Activity
0
Sep 24
242
0
Sep 24
96
1
Apr 24
660
3
Aug 22
2912
1
Feb 22
3377