Repository
OCA/sustainability · module folder · Try on Runboat
Module version
1.2.1
Category
Inventory/Inventory
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/sustainability-suite/sustainability-odoo
Last tracking update
2026-09-21 11:18:10
Authors
Open Net Sàrl, MCO2
Maintainers
Open Net Sàrl, MCO2
Committers
GitHub, Julien Guenat, David Gallay, SustainabilityBot, sustainabilitybot, Adam Bonnet, Jacopo Bacci
Odoo dependencies
Python dependencies
openupgradelib, packaging
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
carbon_line_origin_filter_inherit carbon.line.origin.select.inherit carbon.line.origin Inherits sustainability.carbon_line_origin_filter
carbon_line_origin_tree_inherit carbon.line.origin.list.inherit carbon.line.origin list Inherits sustainability.carbon_line_origin_tree
res_config_settings_view_form res.config.settings.view.form.inherit.sustainability.inventory res.config.settings form Inherits sustainability.res_config_settings_view_form
sustainability_stock_freight_computation_filter sustainability.stock.freight.computation.search sustainability.stock.freight.computation search New
sustainability_stock_freight_computation_tree sustainability.stock.freight.computation.list sustainability.stock.freight.computation list New
view_picking_form_inherit stock.picking.form.inherit stock.picking form Inherits stock.view_picking_form
vpicktree_inherit stock.picking.list.inherit stock.picking list Inherits stock.vpicktree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (1)
  • carbon_freight_picking_id Many2one → stock.picking
    comodel_name='stock.picking' string='Stock Transfer'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • move_carbon_freight_picking_id Many2one
    related='move_id.carbon_freight_picking_id' store=True
Public methods (0)

No public methods.

New fields (10)
  • carbon_freight_account_id Many2one → account.account
    domain="[('deprecated', '=', False)]" string='Carbon Freight Account' args: 'account.account'
  • carbon_freight_climatiq_api_key Char
    help='API key for accessing Climatiq services.'
  • carbon_freight_climatiq_api_url Char
    help='API URL for accessing Climatiq services.'
  • carbon_freight_journal_id Many2one → account.journal
    string='Carbon Freight Journal' args: 'account.journal'
  • carbon_freight_max_delivery_count Integer
    default=10 help='Specify the maximum number of deliveries to process.' string='Max deliveries to process'
  • carbon_freight_product_downstream Many2one → product.product
    string='Product for Downstream Freight' args: 'product.product'
  • carbon_freight_product_upstream Many2one → product.product
    string='Product for Upstream Freight' args: 'product.product'
  • carbon_freight_tolerance Integer
    default=10 string='Tolerance'
  • carbon_freight_transport_mode Selection
    help='Select the default mode of transportation for freight orders.' string='Default Transport Mode' args: [('road', 'Road'), ('air', 'Air'), ('sea', 'Sea'), ('rail', 'Rail')]
  • carbon_freight_uncertainty_percentage Float
    default=0.0 string='Uncertainty'
Public methods (0)

No public methods.

New fields (10)
  • carbon_freight_account_id Many2one → account.account
    readonly=False related='company_id.carbon_freight_account_id' string='Carbon Freight Account' args: 'account.account'
  • carbon_freight_climatiq_api_key Char
    help='API key for accessing Climatiq services.' readonly=False related='company_id.carbon_freight_climatiq_api_key' string='Climatiq API Key'
  • carbon_freight_climatiq_api_url Char
    help='API URL for accessing Climatiq services.' readonly=False related='company_id.carbon_freight_climatiq_api_url' string='Climatiq API URL'
  • carbon_freight_journal_id Many2one → account.journal
    readonly=False related='company_id.carbon_freight_journal_id' string='Carbon Freight Journal' args: 'account.journal'
  • carbon_freight_max_delivery_count Integer
    help='Specify the maximum number of deliveries to process at once.' readonly=False related='company_id.carbon_freight_max_delivery_count' string='Max Deliveries to Process'
  • carbon_freight_product_downstream Many2one
    domain=<expr> readonly=False related='company_id.carbon_freight_product_downstream' string='Product for Downstream Freight'
  • carbon_freight_product_upstream Many2one
    domain=<expr> readonly=False related='company_id.carbon_freight_product_upstream' string='Product for Upstream Freight'
  • carbon_freight_tolerance Integer
    readonly=False related='company_id.carbon_freight_tolerance' string='Tolerance'
  • carbon_freight_transport_mode Selection
    help='Select the default mode of transportation for freight orders.' readonly=False related='company_id.carbon_freight_transport_mode' string='Default Transport Mode'
  • carbon_freight_uncertainty_percentage Float
    readonly=False related='company_id.carbon_freight_uncertainty_percentage' string='Carbon Uncertainty Percentage'
Public methods (0)

No public methods.

New fields (1)
  • carbon_freight_transport_mode Selection
    help='Select the default mode of transportation for freight orders.' string='Default Transport Mode' args: [('road', 'Road'), ('air', 'Air'), ('sea', 'Sea'), ('rail', 'Rail')]
Public methods (0)

No public methods.

New fields (5)
  • carbon_currency_id Many2one → res.currency
    default=<expr> string='Carbon Currency' args: 'res.currency'
  • carbon_debt Monetary
    compute='_compute_carbon_debt' currency_field='carbon_currency_id' store=True string='CO2'
  • carbon_freight_move_ids One2many → account.move
    comodel_name='account.move' inverse_name='carbon_freight_picking_id'
  • carbon_line_origin_ids One2many → carbon.line.origin
    comodel_name='carbon.line.origin' inverse_name='move_carbon_freight_picking_id' string='Origins'
  • carbon_line_origin_qty Integer
    compute='_compute_carbon_line_origin_qty'
Public methods (1)
  • action_recompute_carbon(self) -> dict

New fields (9)
  • api_response Text
  • co2_display Char
    compute='_compute_co2_display' store=False string='CO2 ratio'
  • co2_ratio Float
  • destination Char
  • error_message Text
  • origin Char
  • request_payload Text
  • transport_mode Char
  • weight_unit Char
    string='Unit'
Public methods (0)

No public methods.

Loading…

Loading…