TIP: You can type at any time to perform a new search.
Sales Order with Department Categorization
sale_department · OCA/department
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
SaleOrder— Class 'SaleOrder' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceSaleOrder— Class 'SaleOrder' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceSaleOrder— Class 'SaleOrder' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · 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/department · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Generic Modules/Sales & Purchases
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://camptocamp.com
- Last tracking update
- 2026-08-07 07:03:15
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Leonardo Pistone, Stéphane Bidoul, Alexandre Fayolle, Daniel Reis, Stéphane Bidoul (ACSONE), Omar (Pexego), OCA-git-bot
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Add the department on Sales Order and Customer Invoices as well as the related filter and button in the search form.
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
sale.order.form | sale.order | form | Inherits sale.view_order_form |
view_order_tree |
sale.order.tree | sale.order | tree | Inherits sale.view_order_tree |
view_quotation_tree |
sale.order.tree | sale.order | tree | Inherits sale.view_quotation_tree |
view_sales_order_filter |
sale.order.list.select | sale.order | list | Inherits sale.view_sales_order_filter |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…