TIP: You can type at any time to perform a new search.
Sustainability Sale
sustainability_sale · OCA/sustainability
- Repository
- OCA/sustainability · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Sales/Sales
- Folder size
- 0.03 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
- David Gallay, SustainabilityBot
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → sale.order.linecompute='_compute_many2one_lines'store=Truestring='Sale Line' args: 'sale.order.line'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
carbon_currency_idMany2one → res.currencycompute='_compute_carbon_currency_id'store=True args: 'res.currency' -
carbon_debtMonetarycompute='_compute_carbon_debt'currency_field='carbon_currency_id'store=Truestring='CO2 Equivalent'tracking=True -
carbon_uncertainty_valueMonetarycompute='_compute_carbon_uncertainty_value'currency_field='carbon_currency_id'store=Truestring='CO2 Uncertainty'tracking=True
-
action_recompute_carbon(self) -> dictForce 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