Monday, May 27, 2024
2 changes · 17.0
New functionality added to Odoo
Spanish Point of Sale receipts can now show the required TicketBai QR code at checkout, helping businesses meet local compliance requirements directly on customer tickets. The update also avoids an error when a POS line has zero quantity, making checkout processing more reliable.
Original PR description
This commit implements a new (bridge) module that adds the spanish TBai QR code on the Point of Sale checkout order receipt. Problem: Right now, with the l10n_es_pos, it works when the EDI is SII as it creates the invoice automatically and sends it in the background. In the case of simplified invoices, we even skipped the downloading of the PDF because that takes time. But there, you do not need any response from the government to show to your client. With TicketBai however, this is different, as we need the QR code on the ticket. Solution: when processing the data in the PoS payment, we look for the move created and asks for the qr url right away. If it doesn't have them (because the sending is not done yet), we synchronously call the post method and get the url. This URL is then transfered to the javascript code and eventually the XML of the receipt, where the QR code is shown. task-id: 3916236
This adds payroll support tailored for Egypt, including salary structures, rules, contract fields, payslip handling, and payroll accounting setup. It helps Egyptian companies run compliant payroll and connect payroll results with accounting more directly in Odoo.
Original PR description
Adding Egyptian payroll and payroll accounting. This PR addresses the comments raised here - https://github.com/odoo/enterprise/pull/33503 A new one was created since we are targeting 17.0