Payment Bacen PIX
payment_bacen_pix · OCA/l10n-brazil
Health
26/100
poor
-
Security16/253 minor findings
-
Activity0/25Last human commit 38 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.25 MB
Module directory on disk
Code analysis
1 migration note
2 models
3 views
2 HTTP endpoints
Migration considerations
acquirer_form_bacenpix— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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_basicChargroups='base.group_user'string='Basic' -
bacen_pix_expirationIntegerdefault=3600groups='base.group_user'string='Bacen PIX Expiration' -
bacen_pix_keyChargroups='base.group_user'string='PIX Key' -
bacenpix_api_keyChargroups='base.group_user'string='API KEY' -
bacenpix_client_idChargroups='base.group_user' args: 'Client ID' -
bacenpix_client_secretChargroups='base.group_user' args: 'Client Secret' -
bacenpix_dev_app_keyChargroups='base.group_user'string='Dev APP KEY' -
bacenpix_email_accountChargroups='base.group_user' args: 'Email' -
providerSelectionondelete={BACENPIX_PROVIDER: 'set default'}selection_add=[(BACENPIX_PROVIDER, 'Bacen (pix)')]
-
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_amountFloat -
bacenpix_chaveChar -
bacenpix_criacaoChar -
bacenpix_currencyChar -
bacenpix_date_dueDatetime -
bacenpix_expiracaoChar -
bacenpix_locationChar -
bacenpix_qrcodeChar -
bacenpix_stateChar -
bacenpix_state_messageChar -
bacenpix_txidChar -
textoImagemQRcodeChar
-
action_bacenpix_check_transaction_status(self) -
bacenpix_create(self, values)Complete the values used to create the payment.transaction