Repository
OCA/l10n-brazil · module folder · Try on Runboat
Module version
1.1.0
Category
Uncategorized
Folder size
0.25 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-brazil
Last tracking update
2026-08-07 07:47:30
Authors
Odoo Community Association (OCA), KMEE
Maintainers
Odoo Community Association (OCA), KMEE
Committers
Weblate, OCA-git-bot, oca-ci, Magno Costa, André Marcos Ferreira
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
acquirer_form_bacenpix acquirer.form.bacenpix payment.acquirer form Inherits payment.acquirer_form
bacenpix_form bacenpix_form ir.ui.view qweb New
transaction_form_bacenpix acquirer.transaction.form.bacenpix payment.transaction form Inherits payment.transaction_form
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
/webhook/<string:tx_reference> PaymentController.bacenpix_webhook public json ALL csrf off sudo
/payment/bacenpix/feedback PaymentController.transfer_form_feedback public http ALL csrf off sudo
Models touched (2)

New fields (9)
  • bacen_pix_basic Char
    groups='base.group_user' string='Basic'
  • bacen_pix_expiration Integer
    default=3600 groups='base.group_user' string='Bacen PIX Expiration'
  • bacen_pix_key Char
    groups='base.group_user' string='PIX Key'
  • bacenpix_api_key Char
    groups='base.group_user' string='API KEY'
  • bacenpix_client_id Char
    groups='base.group_user' args: 'Client ID'
  • bacenpix_client_secret Char
    groups='base.group_user' args: 'Client Secret'
  • bacenpix_dev_app_key Char
    groups='base.group_user' string='Dev APP KEY'
  • bacenpix_email_account Char
    groups='base.group_user' args: 'Email'
  • provider Selection
    ondelete={BACENPIX_PROVIDER: 'set default'} selection_add=[(BACENPIX_PROVIDER, 'Bacen (pix)')]
Public methods (3)
  • bacen_pix_get_token(self)
  • bacenpix_compute_fees(self, amount, currency_id, country_id)
    Compute fees :param float amount: the amount to pay :param integer country_id: an ID of a res.country, or None. This is the customer's country, to be compared to the acquirer company country. :return float fees: computed fees
  • bacenpix_get_form_action_url(self)

New fields (12)
  • bacenpix_amount Float
  • bacenpix_chave Char
  • bacenpix_criacao Char
  • bacenpix_currency Char
  • bacenpix_date_due Datetime
  • bacenpix_expiracao Char
  • bacenpix_location Char
  • bacenpix_qrcode Char
  • bacenpix_state Char
  • bacenpix_state_message Char
  • bacenpix_txid Char
  • textoImagemQRcode Char
Public methods (2)
  • action_bacenpix_check_transaction_status(self)
  • bacenpix_create(self, values)
    Complete the values used to create the payment.transaction
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
23 days ago
Last activity
22 days ago
Repository
OCA/l10n-brazil
Pull request
[16.0][MIG] payment_bacen_pix: Migration to 16.0 (#4799)