Sales Order Report using Webkit Library
sale_order_webkit · OCA/sale-reporting
Health
70/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 5 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
2
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.03 MB
Module directory on disk
Code analysis
6 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
- Migrating to 11.0: the workflow engine (`trg_validate`) was removed: rewrite as state-field transitions. migration-workflow-call · source
SaleConditionText— Class 'SaleConditionText' 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. (3 occurrences in this file) migration-old-api-base · sourceSaleConditionText— Class 'SaleConditionText' 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 · sourceview_sale_condition_list_webkit— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.report`) (2 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
Sale order webkit #################
- Replaces the legacy RML Quotation/Sales Order report by a brand new webkit report.
- Add header and footer notes
- Add HTML note on Sale Order lines
Depends on base_header_webkit community addon available here:
https://launchpad.net/webkit-utils <https://launchpad.net/webkit-utils>_
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale.view_order_form_editable_list |
list | New | ||
sale_order_add_notes_in_invoice_line_1 |
sale.odrer.form.add.notes | sale.order | form | Inherits sale.view_order_form |
view_order_form |
sale.order.form.add.notes | sale.order | form | Inherits sale.view_order_form |
view_sale_condition_list_webkit |
sale.condition_text.list | sale.condition_text | tree | New |
view_sale_condition_webkit |
sale.condition_text.form | sale.condition_text | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (3)-
print_quotation(self, cursor, uid, ids, context=None)This function prints the sales order and mark it as sent, so that we can see more easily the next step of the workflow -
set_footer(self, cursor, uid, inv_id, commentid, partner_id=False) -
set_header(self, cursor, uid, inv_id, commentid, partner_id=False)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…