Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2828 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor

Thank you for the reply!

Mejor respuesta

Hello Mr Mohammed,


Are you found any solution for invoice date in qr code

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
sept 24
913
1
mar 25
511
1
abr 24
1570
3
ago 22
3458
1
feb 22
4095