sale Ecotax Management
account_ecotax_sale · OCA/account-fiscal-rule
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
1 migration note
3 models
4 views
0 HTTP endpoints
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. (2 occurrences in this file) migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…