This is a standard developed by the Central Bank of Brazil and provides QR codes (among other things) that allow customers to pay via their bank app. It's popular and usage keeps increasing [1]. Pix codes [2] are BR codes [3] which are based on EMV QR codes. This commit adds support for static Pix codes. These contain all the info needed to make a payment. Dynamic Pix codes are more complex and not supported. Two validators were used to verify correctness [4][5]. The resulting Pix codes were also tested with the Caixa, Nubank and Itau bank apps (thanks to INGO!). Portuguese translations provided thanks to MADI. This will be merged into l10n_br in master. [1] https://www.bcb.gov.br/en/financialstability/pixstatistics [2] https://www.bcb.gov.br/content/estabilidadefinanceira/pix/Regulamento_Pix/II_ManualdePadroesparaIniciacaodoPix.pdf [3] https://www.bcb.gov.br/content/config/Documents/BR_Code_MANUAL_Version_2_May_2020.pdf [4] https://pix.nascent.com.br/ [5] https://openpix.com.br/qrcode/scanner/ task-3669412 closes odoo/odoo#156211 Signed-off-by: Josse Colpaert <jco@odoo.com>
3 lines
96 B
Python
3 lines
96 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from . import models
|