TIP: You can type at any time to perform a new search.
Purchase Order Line Deep Sort
purchase_order_line_deep_sort · OCA/purchase-workflow
Security findings
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Purchase Management
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-09-10 11:32:56
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Pedro M. Baeza, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module was written to extend the functionality of purchase order and allow you to manage sort of lines. You can set the default sort order for the current company or you can set sort order for a particular purchase order. Section, subsection and note lines are not part of the sorting: they stay where you placed them, and the sorting criteria is only applied to the product lines inside each of the blocks they delimit.
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order | form | Inherits purchase.purchase_order_form | |
res_config_settings_view_form |
res.config.settings.purchase.sort | res.config.settings | form | Inherits purchase.res_config_settings_view_form_purchase |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
line_directionSelectiondefault=<expr>selection=SORTING_DIRECTIONstring='Sort Direction' -
line_orderSelectiondefault=<expr>selection=SORTING_CRITERIAstring='Sort Lines By'
-
create(self, vals_list)@api.model_create_multi -
onchange_line_order(self)@api.onchange('line_order') -
write(self, values)
New fields (0)
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
New fields (2)
-
default_po_line_directionSelectionhelp='Select a sorting direction for purchase order lines.'selection=SORTING_DIRECTIONstring='Sort Direction' -
default_po_line_orderSelectionhelp='Select a sorting criteria for purchase order lines.'selection=SORTING_CRITERIAstring='Line Order'
No public methods.
New fields (2)
-
po_line_direction_defaultSelectionreadonly=Falserelated='company_id.default_po_line_direction'string='Sort Direction' -
po_line_order_defaultSelectionreadonly=Falserelated='company_id.default_po_line_order'string='Line Order'
-
onchange_po_line_order_default(self)@api.onchange('po_line_order_default')Reset direction line order when user remove order field value
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…