Skip to content
Health
26/100
poor
  • Security16/25
    3 minor findings
  • Activity0/25
    Last human commit 38 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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