TIP: You can type at any time to perform a new search.
Sustainability MIS Builder
sustainability_mis_builder · OCA/sustainability
🛠 Migration considerations
mis.carbon.account.move.line— Model 'mis.carbon.account.move.line' has `_auto = False` and its init() (re)creates a SQL VIEW: the standard reporting-model pattern, but its raw SQL isn't checked by the ORM - verify it against renamed/removed tables and columns in the target version. migration-sql-view
Found by automated static analysis: patterns worth a look before/after upgrading this module to a newer Odoo version.
- Repository
- OCA/sustainability · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Accounting/Sustainability
- 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
- Julien Guenat, SustainabilityBot, sustainabilitybot, Adam Bonnet
- Odoo dependencies
- Python dependencies
- openupgradelib, packaging
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mis_co2_account_move_line_form |
MIS Carbon Account Move Line Form | mis.carbon.account.move.line | form | New |
mis_co2_account_move_line_tree |
MIS Carbon Account Move Line Tree | mis.carbon.account.move.line | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (13)
-
account_idMany2one → account.accountcomodel_name='account.account'string='Account' -
balanceMonetarycurrency_field='carbon_currency_id' -
carbon_currency_idMany2one → res.currencycompute='_compute_carbon_currency_id' args: 'res.currency' -
company_idMany2one → res.companycomodel_name='res.company'string='Company' -
creditMonetarycurrency_field='carbon_currency_id' -
dateDate -
debitMonetarycurrency_field='carbon_currency_id' -
journal_idMany2one → account.journalcomodel_name='account.journal'help='The journal of this carbon line.'string='Journal' -
move_idMany2one → account.movecomodel_name='account.move'help='The journal entry of this carbon line.'string='Journal Entry' -
move_line_idMany2one → account.move.linecomodel_name='account.move.line'help='The journal item of this carbon line.'string='Journal Items' -
nameCharstring='Label' -
parent_stateSelectionselection=[('draft', 'Draft'), ('posted', 'Posted'), ('cancel', 'Cancelled')]string='Status' -
partner_idMany2one → res.partnercomodel_name='res.partner'string='Partner'
-
init(self)
Loading…
Loading…