Mobile App - Picking
mobile_app_picking · OCA/stock-logistics-barcode
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 85 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.36 MB
Module directory on disk
Code analysis
5 migration notes
3 models
2 views
1 HTTP endpoint
Migration considerations
StockPicking— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_stock_picking_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_stock_picking_type_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_stock_picking_form |
stock.picking | form | Inherits stock.view_picking_form | |
view_stock_picking_type_form |
stock.picking.type | form | Inherits stock.view_picking_type_form |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/mobile_app_picking |
Home.index |
none | http | ALL |
Models touched 3
New fields (0)
No new fields.
Public methods (7)-
confirm_picking(self, params)@api.modelConfirm a given picking :param params: { 'picking': picking_vals, 'action': string, } action can : - 'immediate_transfer' if no quantity has been set - 'with_backorder', to create a backorder - 'without_backorder', to cancel the backorder -
get_custom_fields_list(self)@api.model -
get_moves(self, params)@api.modelReturn moves of a given picking. :param params: {'picking': picking_vals} :return: [move_1_vals, move_2_vals, ...] .. seealso:: _export_picking() for picking vals details _export_move() for move vals details -
get_picking_types(self)@api.modelReturn Picking Types available for the Mobile App :return: [picking_type_1_vals, picking_type_2_vals, ...] .. seealso:: _export_picking_type() for picking type vals details. -
get_pickings(self, params)@api.modelReturn pickings of a given picking type :param params: {'picking_type': picking_type_1_vals} :return: [picking_1_vals, picking_2_vals, ...] .. seealso:: _export_picking_type() for picking type vals details _export_picking() for picking vals details -
set_quantity(self, params)@api.modelSet done quantity for a given move. :param params: {'move': move_vals, 'quantity': integer} -
try_validate_picking(self, params)@api.modelsimulate the click on "Validate" button, to know if backorder is possible, etc. :param params: {'picking': picking_vals}
New fields (1)
-
mobile_availableBooleanreadonly=Truerelated='picking_type_id.mobile_available'store=False
-
open_mobile_app_url(self)@api.multi
New fields (3)
-
mobile_availableBooleanhelp='Check this box if you want to make this picking type visible on the Mobile App'string='Available on Mobile' -
mobile_backorder_createBooleandefault=Truehelp='Check this box if you want that confirming a picking on mobile app generate a backorder by default.'string='Create Backorder' -
mobile_product_field_idsMany2many → ir.model.fieldscomodel_name='ir.model.fields'domain=[('model', 'in', ['product.product'])]string='Product Fields'
No public methods.