Inventory Mobile App
mobile_app_inventory · OCA/stock-logistics-barcode
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 96 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 7.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
3.01 MB
Module directory on disk
Code analysis
10 migration notes
5 models
4 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
StockInventory— 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_inventory_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_location_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- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 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 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_company_form |
res.company | form | Inherits base.view_company_form | |
view_stock_inventory_form |
stock.inventory | form | Inherits stock.view_inventory_form | |
view_stock_inventory_tree |
stock.inventory | tree | Inherits stock.view_inventory_tree | |
view_stock_location_form |
stock.location | form | Inherits stock.view_location_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (8)-
add_inventory_line(self, params)@api.modelAdd a new inventory line. :param params: { 'inventory': inventory_vals, 'location': location_vals, 'product': product_vals, 'qty': qty, 'mode': mode} @qty : the quantity to set or to add depending of the mode; @mode : 'ask': Do nothing if there is a duplicate line; 'add': Add quantity to the duplicate line; 'replace': Replace quantity of the duplicate line; return: {'state': 'write_ok'}: Update / creation OK {'state': 'many_duplicate_lines'}: Too many duplicate lines. not possible to process {'state': 'duplicate', qty: xxx}: There is a duplicate. Qty is the current quantity -
check_group(self, group_ext_id)@api.model -
create_inventory(self, params)@api.modelCreate a new inventory, and set it to 'In Progress' State. :param params: {'inventory': inventory_vals} :return: inventory_vals .. seealso:: _export_inventory() for inventory vals details -
get_inventories(self)@api.modelReturn Inventories available for the Mobile App :return: [inventory_1_vals, inventory_2_vals, ...] .. seealso:: _export_inventory() for inventory vals details. -
get_inventory_lines(self, params)@api.modelReturn inventory lines of a given inventory. :param params: {'inventory': inventory_vals} :return: [inventory_line_1_vals, inventory_line_2_vals, ...] .. seealso:: _export_inventory() for inventory vals details _export_inventory_line() for inventory line vals details -
get_locations(self, params)@api.modelReturn locations of a given inventory, or all locations available to realize an inventory, if inventory is not defined. :param params: {'inventory': inventory_1_vals} :return: [location_1_vals, location_2_vals, ...] .. seealso:: _export_inventory() for inventory vals details _export_location() for location vals details -
get_settings(self)@api.modelReturn Mobile App Settings :return: {'key_1': value_1, 'key_2': value_2} -
search_barcode(self, params)@api.modelRealize a product, if found, given a barcode. :param params: {'barcode': string, 'location': location_vals} :return: product_1_vals .. seealso:: _export_location() for location vals details _export_product() for product vals details
New fields (4)
-
mobile_inventory_allow_unknownBooleandefault=Falsehelp='By checking this box, users will have the possibility to scan unknown barcodes. The quantities and the barcodes will be displayed in an extra tabs, in the inventory view. If unchecked, an error message will be displayed to the user if he scans unknown barcode'string='Allown Unknown Barcodes' -
mobile_inventory_createBooleandefault=Truehelp='By checking this box, users will have the possibility to create an inventory by the Mobile App. Otherwise, you should create and prepare the inventory in the back-office'string='Create Inventories' -
mobile_inventory_modeSelectiondefault='automate'help="Mode of the Mobile App UI:\n * 'Automate': The UI will display one screen per action. (select a product, set a quantity, etc...\n * 'One page': A single page will let the user scan a product or a location or set a quantity in a single input field"selection=_MOBILE_INVENTORY_MODE_SELECTIONstring='Mobile App Inventory Mode' -
mobile_inventory_product_field_idsMany2many → ir.model.fieldscomodel_name='ir.model.fields'domain=[('model', 'in', ['product.product'])]string='Product Fields'
No public methods.
New fields (3)
-
mobile_availableBooleandefault=Truehelp='Check this box if you want to make this inventory visible on the Mobile App'string='Available on Mobile' -
unknown_line_idsOne2many → stock.inventory.unknown.linecomodel_name='stock.inventory.unknown.line'inverse_name='inventory_id'string='Unknown Barcode Lines' -
unknown_line_qtyIntegercompute='_compute_unknown_line_qty'store=Truestring='Unknown Barcode Lines Quantity'
No public methods.
New fields (3)
-
barcodeCharreadonly=Truerequired=Truestring='Barcode' -
inventory_idMany2one → stock.inventorycomodel_name='stock.inventory'ondelete='cascade'required=Truestring='Inventory' -
quantityFloatreadonly=Truestring='Quantity'
No public methods.
New fields (1)
-
mobile_availableBooleanhelp='Check this box if you want to make this location visible on the Mobile App'string='Available on Mobile'
-
onchange_location_type(self)@api.onchange('usage')
Loading…