TIP: You can type at any time to perform a new search.
sale Ecotax Management
account_ecotax_sale · OCA/account-fiscal-rule
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE sale_order SET amount_ecotax = 0.0 WHERE amount_ecotax IS NULL` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE sale_order_line SET ecotax_amount_unit = 0.0, subtotal_ecotax = 0.0 WHERE ecotax_amount_unit IS NULL` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/account-fiscal-rule · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Localization/Account Taxes
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-fiscal-rule
- Last tracking update
- 2026-09-17 11:35:18
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- OCA-git-bot, oca-ci, Camille Morand
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module is an extension of the module *account_ecotax* for sale orders. Please refer to the README of the module *account_ecotax* for more info about ecotax management.
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
document_tax_totals |
document_tax_totals | ir.ui.view | qweb | Inherits sale.document_tax_totals |
report_saleorder_document |
report_saleorder_document | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
view_order_form |
sale.order | form | Inherits sale.view_order_form | |
view_sale_line_ecotax_form |
sale.order.line.ecotax.form | sale.order.line | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (1)
-
amount_ecotaxFloatcompute='_compute_ecotax'digits='Ecotaxe'store=Truestring='Included Ecotaxe'
No public methods.
New fields (3)
-
ecotax_amount_unitFloatcompute='_compute_ecotax'digits='Ecotax'store=Truestring='Ecotax Unit' -
ecotax_line_idsOne2many → sale.order.line.ecotaxcompute='_compute_ecotax_line_ids'copy=Truereadonly=Falsestore=Truestring='Ecotax Lines' args: 'sale.order.line.ecotax', 'sale_order_line_id' -
subtotal_ecotaxFloatcompute='_compute_ecotax'digits='Ecotax'store=Truestring='Ecotax'
-
edit_ecotax_lines(self)
New fields (4)
-
currency_idMany2onereadonly=Truerelated='sale_order_line_id.currency_id' -
product_idMany2one → product.productreadonly=Truerelated='sale_order_line_id.product_id' args: 'product.product' -
quantityFloatreadonly=Truerelated='sale_order_line_id.product_uom_qty' -
sale_order_line_idMany2one → sale.order.linebypass_search_access=Truecomodel_name='sale.order.line'index=Trueondelete='cascade'readonly=Truerequired=Truestring='Sale Line'
No public methods.
Loading…
Loading…
Loading…