Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 85 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

Dependencies

Odoo dependencies
OCA/stock-logistics-barcode:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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)HandlerAuthTypeMethodsFlags
/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.model
    Confirm 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.model
    Return 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.model
    Return 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.model
    Return 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.model
    Set done quantity for a given move. :param params: {'move': move_vals, 'quantity': integer}
  • try_validate_picking(self, params)
    @api.model
    simulate the click on "Validate" button, to know if backorder is possible, etc. :param params: {'picking': picking_vals}

New fields (1)
  • mobile_available Boolean
    readonly=True related='picking_type_id.mobile_available' store=False
Public methods (1)
  • open_mobile_app_url(self)
    @api.multi

New fields (3)
  • mobile_available Boolean
    help='Check this box if you want to make this picking type visible on the Mobile App' string='Available on Mobile'
  • mobile_backorder_create Boolean
    default=True help='Check this box if you want that confirming a picking on mobile app generate a backorder by default.' string='Create Backorder'
  • mobile_product_field_ids Many2many → ir.model.fields
    comodel_name='ir.model.fields' domain=[('model', 'in', ['product.product'])] string='Product Fields'
Public methods (0)

No public methods.