Field Service - Stock Picking

fieldservice_stock_picking
REPOSITORY
REPOSITORYOCA/field-service
GIT
GIThttps://github.com/OCA/field-service.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/field-service/tree/16.0/fieldservice_stock_picking
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYField Service
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Innovyou
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Innovyou
COMMITTERS
COMMITTERSeLBati, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/field-service
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-08 07:42:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/field-service:
    - fieldservice_stock
    - fieldservice
    - base_territory
odoo/odoo:
    - base
    - base_geolocalize
    - base_setup
    - web
    - resource
    - contacts
    - mail
    - bus
    - web_tour
    - stock
    - product
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
fsm_template_form_view_inherit_stock_picking fsm.template.form.stock.picking fsm.template Inherits fieldservice.fsm_template_form_view
view_fsm_order_form_inherit_stock_picking fsm.order.form.stock.picking fsm.order Inherits fieldservice_stock.view_fsm_order_form_inherit_stock
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (4)
  • incoming_line_ids One2many → fsm.order.stock.line
    context={'default_direction': 'incoming'} domain=[('direction', '=', 'incoming')] string='Incoming Products' args: 'fsm.order.stock.line', 'fsm_order_id'
  • incoming_picking_type_id Many2one → stock.picking.type
    compute='_compute_picking_type_ids' domain="[('code', '=', 'incoming')]" help='Operation type used to create the transfer that receives materials back from the field service location.' readonly=False store=True string='Incoming Operation Type' args: 'stock.picking.type'
  • outgoing_line_ids One2many → fsm.order.stock.line
    context={'default_direction': 'outgoing'} domain=[('direction', '=', 'outgoing')] string='Outgoing Products' args: 'fsm.order.stock.line', 'fsm_order_id'
  • outgoing_picking_type_id Many2one → stock.picking.type
    compute='_compute_picking_type_ids' domain="[('code', '=', 'outgoing')]" help='Operation type used to create the transfer that sends materials out to the field service location.' readonly=False store=True string='Outgoing Operation Type' args: 'stock.picking.type'
Public methods (1)
  • action_create_transfers(self)
    Create the outgoing and/or incoming transfers required by the material lines and open them. The pickings are left in draft so the user processes them through the standard transfer flow.

New fields (8)
  • direction Selection
    default='outgoing' required=True args: DIRECTIONS
  • fsm_order_id Many2one → fsm.order
    index=True ondelete='cascade' required=True string='Field Service Order' args: 'fsm.order'
  • move_id Many2one → stock.move
    copy=False ondelete='set null' readonly=True string='Stock Move' args: 'stock.move'
  • picking_id Many2one → stock.picking
    related='move_id.picking_id' store=True string='Transfer' args: 'stock.picking'
  • product_id Many2one → product.product
    domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product' args: 'product.product'
  • product_uom_id Many2one → uom.uom
    compute='_compute_product_uom_id' readonly=False store=True string='Unit of Measure' args: 'uom.uom'
  • product_uom_qty Float
    default=1.0 digits='Product Unit of Measure' required=True string='Quantity'
  • state Selection
    related='move_id.state' string='Status'
Public methods (0)

No public methods.

New fields (2)
  • incoming_picking_type_id Many2one → stock.picking.type
    domain="[('code', '=', 'incoming')]" help='Operation type used by default on orders of this template to create the transfer that receives materials back from the field service location. When empty, the warehouse default is used.' string='Incoming Operation Type' args: 'stock.picking.type'
  • outgoing_picking_type_id Many2one → stock.picking.type
    domain="[('code', '=', 'outgoing')]" help='Operation type used by default on orders of this template to create the transfer that sends materials out to the field service location. When empty, the warehouse default is used.' string='Outgoing Operation Type' args: 'stock.picking.type'
Public methods (0)

No public methods.