Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 16.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
3 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 1 migration note 5 models 3 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
odoo_upgrade @ git+https://github.com/odoo/upgrade-util@master, 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 3

XML IDNameModelTypeStatus
carbon_line_origin_tree carbon_line_origin_tree carbon.line.origin tree Inherits sustainability.carbon_line_origin_tree
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form
sustainability_product_supplierinfo_tree_view sustainability.product.supplierinfo.list.view product.supplierinfo list Inherits purchase.product_supplierinfo_tree_view2

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

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

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

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

New fields (1)
  • carbon_supplier_id Many2one → product.supplierinfo
    comodel_name='product.supplierinfo' compute='_compute_carbon_supplier_id' string='Supplier Info'
Public methods (4)
  • can_use_carbon_supplier_id_carbon_value(self) -> bool
  • can_use_product_id_carbon_value(self) -> bool
  • get_carbon_supplier_id_carbon_compute_values(self) -> dict
  • get_product_id_carbon_compute_values(self) -> dict

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…