TIP: You can type at any time to perform a new search.
Picking dispatch
picking_dispatch · OCA/stock-logistics-workflow
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.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- 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
- Imports from the old `openerp.osv.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.report` 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
- Imports from the old `openerp.osv.orm` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` 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
- Imports from the old `openerp.exceptions` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
Product— Class 'Product' 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 · sourceProduct— Class 'Product' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceStockMove— Class 'StockMove' 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 · sourceStockMove— Class 'StockMove' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceStockPicking— Class 'StockPicking' 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 · sourceStockPicking— Class 'StockPicking' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcedispatch_assign_picker— Class 'dispatch_assign_picker' still inherits from the old-style `orm.TransientModel` 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 · sourcedispatch_assign_picker— Class 'dispatch_assign_picker' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepicking_dispatch_creator— Class 'picking_dispatch_creator' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepicking_dispatch_creator— Class 'picking_dispatch_creator' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepicking_dispatch_form— For a target of Odoo 17.0+: view 'picking_dispatch_form' 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 · sourcepicking_dispatch_start— Class 'picking_dispatch_start' still inherits from the old-style `orm.TransientModel` 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 · sourceres_company— Class 'res_company' 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 · sourceres_company— Class 'res_company' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepicking_dispatch_tree— View 'picking_dispatch_tree' 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/stock-logistics-workflow · module folder · Try on Runboat
- Module version
- 1.2.3
- Category
- Products
- Folder size
- 1.34 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com/
- Last tracking update
- 2026-10-03 22:10:44
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp
- Committers
- Yannick Vaucher, Leonardo Pistone, Stéphane Bidoul, Alexandre Fayolle, Peter Langenberg, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, OCA-git-bot, oca-travis, Alexandre MOREAU, Cyril Gaudin
Code Analysis
Views touched (15)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
picking_dispatch_form |
picking.dispatch.form | picking.dispatch | form | New |
picking_dispatch_search |
picking.dispatch.search | picking.dispatch | search | New |
picking_dispatch_tree |
picking.dispatch.tree | picking.dispatch | tree | New |
product_normal_form_view |
product.normal.form | product.product | form | Inherits product.product_normal_form_view |
report_picking_dispatch |
report_picking_dispatch | ir.ui.view | qweb | New |
view_company_form_inherit |
res.company.form.inherit | res.company | form | Inherits base.view_company_form |
view_create_picking_dispatch |
picking_dispatch_create_form | picking.dispatch.creator | form | New |
view_dispatch_check_assign_all |
picking.dispatch.check.assign.all.form | picking.dispatch.check.assign.all | form | New |
view_move_form |
stock.move.form | stock.move | form | Inherits stock.view_move_form |
view_move_search |
stock.move.search | stock.move | search | Inherits stock.view_move_search |
view_move_tree_receipt_picking |
stock.move.tree2 | stock.move | tree | Inherits stock.view_move_tree_receipt_picking |
view_picking_dispatch_assign_picker |
picking.dispatch.assign.picker.form | picking.dispatch.assign.picker | form | New |
view_picking_dispatch_start |
picking.dispatch.start.form | picking.dispatch.start | form | New |
view_picking_form |
stock.picking.form.dispatch | stock.picking | form | Inherits stock.view_picking_form |
view_picking_internal_search |
stock.picking.search.related_dispatch_ids | stock.picking | search | Inherits stock.view_picking_internal_search |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (10)
New fields (9)
-
backorder_idMany2one → picking.dispatchhelp='if this dispatch was split, this links to the dispatch order containing the other part which was processed'select=True args: 'picking.dispatch', 'Back Order of' -
company_idMany2one → res.companydefault=_default_companyrequired=True args: 'res.company', 'Company' -
dateDatedefault=fields.Date.context_todayhelp='date on which the picking dispatched is to be processed'readonly=Truerequired=Trueselect=Truestates={'draft': [('readonly', False)], 'assigned': [('readonly', False)]} args: 'Date' -
move_idsOne2many → stock.movecopy=Falsehelp='the list of moves to be processed'readonly=Truestates={'draft': [('readonly', False)]} args: 'stock.move', 'dispatch_id', 'Moves' -
nameCharcopy=Falsedefault=<expr>help='Name of the picking dispatch'required=Trueselect=Truestates={'draft': [('readonly', False)]}unique=True args: 'Name' -
notesTexthelp='free form remarks' args: 'Notes' -
picker_idMany2one → res.usershelp='the user to which the pickings are assigned'readonly=Trueselect=Truestates={'draft': [('readonly', False)], 'assigned': [('readonly', False), ('required', True)]} args: 'res.users', 'Picker' -
related_picking_idsOne2many → stock.pickingcompute='_get_related_picking'readonly=Truestring='Related Dispatch Picking' args: 'stock.picking' -
stateSelectioncopy=Falsedefault='draft'help='the state of the picking. Workflow is draft -> assigned -> progress -> done or cancel'readonly=Trueselect=True args: [('draft', 'Draft'), ('assigned', 'Assigned'), ('progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancelled')], 'Dispatch State'
-
action_assign(self)@api.multi -
action_assign_moves(self, cr, uid, ids, context=None) -
action_cancel(self)@api.multi -
action_done(self)@api.multi -
action_progress(self)@api.multi -
assert_start_ok(self)@api.multi -
check_assign_all(self, domain=None)@api.multiTry to assign moves of a selection of dispatches Called from a cron -
check_finished(self)@api.multiset the dispatch to finished if all the moves are finished
New fields (0)
No new fields.
Public methods (1)-
assign_picker(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
check(self)@api.multi
New fields (0)
No new fields.
Public methods (1)-
action_create_dispatch(self, cr, uid, ids, context=None)Open the historical margin view
New fields (0)
No new fields.
Public methods (1)-
start(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (4)-
action_cancel(self, cr, uid, ids, context=None)in addition to what the method in the parent class does, cancel the dispatches for which all moves where cancelled -
action_done(self, cr, uid, ids, context=None)in addition to the parent method does, set the dispatch done if all moves are done or canceled -
copy_data(self, cr, uid, id, default=None, context=None) -
do_partial(self, cr, uid, ids, partial_datas, context=None)in addition to what the original method does, create backorder picking.dispatches and set the state of picing.dispatch according to the state of moves state
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…