Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 9 Odoo series since 11.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.15 MB
Module directory on disk
Code analysis 1 migration note 3 models 2 views 0 HTTP endpoints

Description

This module allows to show sales margin in invoices.

The new information is available:

  • on the invoice form view

  • and on the invoice tree view

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_invoice_margin_sale

Code analysis

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

Views touched 2

XML IDNameModelTypeStatus
invoice_margin_form_tree account.move tree Inherits account.view_move_form
view_account_invoice_tree account.move tree Inherits account.view_invoice_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • margin Float
    readonly=True string='Margin Analysis'
Public methods (0)

No public methods.

New fields (3)
  • margin Monetary
    compute='_compute_margin' currency_field='currency_id' store=True
  • margin_percent Float
    compute='_compute_margin' digits='Product Price' store=True string='Margin (%)'
  • margin_signed Monetary
    compute='_compute_margin' currency_field='currency_id' store=True
Public methods (0)

No public methods.

New fields (4)
  • margin Float
    compute='_compute_margin' digits='Product Price' store=True
  • margin_percent Float
    compute='_compute_margin' readonly=True store=True string='Margin (%)'
  • margin_signed Float
    compute='_compute_margin' digits='Product Price' store=True
  • purchase_price Float
    compute='_compute_purchase_price' digits='Product Price' readonly=False store=True string='Cost'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…