Skip to content
Health
77/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 10.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
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 3 models 4 views 3 HTTP endpoints

Description

This module allows to associate generic payment fee to online payment methods. Thus, when website user select a payment method with additional fee, an additional sale order line will be added to online order

Dependencies

Code analysis

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

Views touched 4

XML IDNameModelTypeStatus
form_fee form_fee ir.ui.view qweb Inherits payment.form
method_form_fee Payment Method Fee ir.ui.view qweb Inherits payment.method_form
payment_fee Payment Fee ir.ui.view qweb Inherits website_sale.total
provider_form_fee_inherit payment_provider.form.fee.inherit payment.provider form Inherits payment.payment_provider_form

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) WebsiteSaleFee.process_express_checkout inherited http ALL
/shop/payment WebsiteSaleFee.shop_payment public http ALL sudo website
(inherited route override) WebsiteSaleFeePaymentPortal.shop_payment_transaction inherited http ALL sudo

Models touched 3

New fields (7)
  • charge_fee Boolean
    help='An extra fee line will be added to online order when using this payment method' args: 'Fee charged to customer'
  • charge_fee_currency_id Many2one → res.currency
    string='Fee Currency' args: 'res.currency'
  • charge_fee_description Text
    compute='_compute_charge_fee_description' args: 'Fee Description'
  • charge_fee_fixed_price Float
    min_display_digits='Product Price' args: 'Fixed Price'
  • charge_fee_percentage Float
    help='Percentage applied to order total' args: 'Percentage'
  • charge_fee_product_id Many2one → product.product
    domain="[('type', '=', 'service')]" string='Fee Product' args: 'product.product'
  • charge_fee_type Selection
    default='fixed' string='Computation type' args: [('fixed', 'Fixed'), ('percentage', 'Percentage')]
Public methods (0)

No public methods.

New fields (1)
  • amount_payment_fee Monetary
    compute='_compute_amount_payment_fee' store=True string='Payment Fee Amount' tracking=True
Public methods (1)
  • update_fee_line(self, provider)

New fields (1)
  • payment_fee_line Boolean
    readonly=True args: 'Payment fee line'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…