Wednesday, March 27, 2024
1 change · saas-17.2
Resolved issues and error corrections
This fixes an issue where Brazilian Pix QR codes could fail when the point of sale prepared an offline backup code without a payment amount. It helps ensure stores can keep using Pix payment QR codes reliably when the POS is offline.
Original PR description
QR code support was added to the POS [1]. A fallback QR code with a None amount is downloaded when the POS loads. This is used when the POS is offline. This commit ensures we don't float_repr() None which results in: TypeError: must be real number, not NoneType [1] https://github.com/odoo/odoo/pull/148803