TIP: You can type at any time to perform a new search.
Purchase Order Report using Webkit Library and notes
purchase_order_webkit_with_notes · OCA/purchase-reporting
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
PurchaseConditionText— Class 'PurchaseConditionText' 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 · sourcePurchaseConditionText— Class 'PurchaseConditionText' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcePurchaseOrder— Class 'PurchaseOrder' 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 · sourcePurchaseOrder— Class 'PurchaseOrder' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepurchase_order_form_over— For a target of Odoo 17.0+: view 'purchase_order_form_over' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_purchase_condition_list_webkit— View 'view_purchase_condition_list_webkit' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · 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/purchase-reporting · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Reports/Webkit
- Folder size
- 0.04 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 07:17:53
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Replaces the legacy rml Quotation / Purchase Order report by a brand new webkit report with header and footer notes on the purchase order and quotation It's the same report as purchase_order_webkit, but add notes for header and footer
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form_over |
purchase.order.form.add.notes | purchase.order | form | Inherits purchase.purchase_order_form |
view_purchase_condition_list_webkit |
purchase.condition_text.list | purchase.condition_text | tree | New |
view_purchase_condition_webkit |
purchase.condition_text.form | purchase.condition_text | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (4)-
print_purchase(self, cr, uid, ids, context=None)This function prints the purchase order (already sent) -
print_quotation(self, cr, uid, ids, context=None)This function prints the purchase order and mark it as sent, so that we can see more easily the next step of the workflow -
set_footer(self, cr, uid, inv_id, commentid) -
set_header(self, cr, uid, inv_id, commentid)
Loading…
Loading…
Loading…