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
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchase Management
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 08:23:03
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, juancarlosonate-tecnativa
- 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.
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, values)@api.model -
onchange_line_order(self)@api.onchange('line_order') -
write(self, values)
New fields (0)
No new fields.
Public methods (1)-
create(self, vals)@api.model
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…