Sale Layout
sale_layout · odoo/odoo
Health
58/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 118 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.6 MB
Module directory on disk
Code analysis
6 migration notes
5 models
11 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
SaleLayoutCategory— Class 'SaleLayoutCategory' still inherits from the old-style `osv.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (5 occurrences in this file) migration-old-api-base · sourceSaleLayoutCategory— Class 'SaleLayoutCategory' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (3 occurrences in this file) migration-old-style-fields · sourceSaleOrderLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcereport_configuration_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · 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
Manage your sales reports
With this module you can personnalize the sale order and invoice report with separators, page-breaks or subtotals.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
category_template |
category_template | ir.ui.view | qweb | New |
report_configuration_form_view |
report.configuration.form.view | sale_layout.category | form | New |
report_configuration_search_view |
report.configuration.search.view | sale_layout.category | search | New |
report_configuration_tree_view |
report.configuration.form.view | sale_layout.category | tree | New |
report_invoice_layouted |
report_invoice_layouted | ir.ui.view | qweb | Inherits account.report_invoice_document |
report_sale_layouted |
report_sale_layouted | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
separator_template |
separator_template | ir.ui.view | qweb | New |
subtotal_template |
subtotal_template | ir.ui.view | qweb | New |
view_invoice_form_inherit_1 |
account.invoice.form.inherit_1 | account.invoice | form | Inherits account.invoice_form |
view_invoice_line_form_inherit_2 |
account.invoice.line.form.inherit_2 | account.invoice.line | form | Inherits account.view_invoice_line_form |
view_order_form_inherit_1 |
sale.order.form.inherit_1 | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (1)-
sale_layout_lines(self, cr, uid, ids, invoice_id=None, context=None)Returns invoice lines from a specified invoice ordered by sale_layout_category sequence. Used in sale_layout module. :Parameters: -'invoice_id' (int): specify the concerned invoice.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
sale_layout_lines(self, cr, uid, ids, order_id=None, context=None)Returns order lines from a specified sale ordered by sale_layout_category sequence. Used in sale_layout module. :Parameters: -'order_id' (int): specify the concerned sale order.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…