Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.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
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 4 models 2 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
openupgradelib, packaging
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 2

XML IDNameModelTypeStatus
carbon_line_origin_tree carbon_line_origin_tree carbon.line.origin tree Inherits sustainability.carbon_line_origin_tree
view_order_form_inherit_sustainability sale.order.form.inherit.sustainability sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • sale_line_id Many2one → sale.order.line
    compute='_compute_many2one_lines' store=True string='Sale Line' args: 'sale.order.line'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • carbon_currency_id Many2one → res.currency
    compute='_compute_carbon_currency_id' store=True args: 'res.currency'
  • carbon_debt Monetary
    compute='_compute_carbon_debt' currency_field='carbon_currency_id' store=True string='CO2 Equivalent' tracking=True
  • carbon_uncertainty_value Monetary
    compute='_compute_carbon_uncertainty_value' currency_field='carbon_currency_id' store=True string='CO2 Uncertainty' tracking=True
Public methods (1)
  • action_recompute_carbon(self) -> dict
    Force re-computation of carbon values for PO lines.

New fields (0)

No new fields.

Public methods (3)
  • can_use_product_id_carbon_value(self) -> bool
  • get_carbon_sign(self) -> int
  • get_product_id_carbon_compute_values(self) -> dict