TIP: You can type at any time to perform a new search.
Inventory Mobile App
mobile_app_inventory · OCA/stock-logistics-barcode
Security findings
Migration considerations
- Imports from the old `openerp` 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` 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` 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
- 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
view_stock_inventory_form— For a target of Odoo 17.0+: view 'view_stock_inventory_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 · sourceview_stock_location_form— For a target of Odoo 17.0+: view 'view_stock_location_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 · 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-barcode · module folder · Try on Runboat
- Module version
- 2.0.0
- Category
- Stock
- Folder size
- 3.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.odoo-community.org
- Last tracking update
- 2026-08-07 07:03:09
- Authors
- Akretion, Odoo Community Association (OCA), GRAP
- Maintainers
- Akretion, Odoo Community Association (OCA), GRAP
- Committers
- GitHub, OCA-git-bot, oca-travis, Juanjo
Code Analysis
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…