Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3377 Lượt xem

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?

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you for the reply!

Câu trả lời hay nhất

Hello Mr Mohammed,


Are you found any solution for invoice date in qr code

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 24
1700
1
thg 3 25
945
1
thg 4 24
2246
3
thg 8 22
3971
1
thg 2 22
4767