Stock Customer Deposit

stock_customer_deposit
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_customer_deposit
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYInventory/Delivery
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSGitHub, Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel, Emilio Pascual
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of the consignment stock to support customer deposits and allows the management of customer deposits in warehouses.

Lines that consume customer deposits will have a 100% discount. Otherwise, they will use the discount rules provided by Odoo.

It is possible to activate the use of customer deposits per warehouse. This will allow the use of an operation type and a route to create customer deposits in the warehouse.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_order_form_inherit_customer_deposit Sale Order Customer Deposits sale.order xpath Inherits sale.view_order_form
view_partner_form_inherit_customer_deposit Partner Order Customer Deposits res.partner xpath Inherits base.view_partner_form
view_picking_type_form_inherit_stock_customer_deposit Operation Types Customer Deposit stock.picking.type xpath Inherits stock.view_picking_type_form
view_sales_order_filter_inherit_stock_customer_deposit Sale Order Search Customer Deposit sale.order xpath Inherits sale.view_sales_order_filter
view_warehouse_inherit Warehouse Customer Deposit stock.warehouse xpath Inherits stock.view_warehouse
Models touched (11)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • customer_deposit_count Integer
    compute='_compute_customer_deposit_count'
Public methods (1)
  • action_view_customer_deposits(self)

New fields (3)
  • can_customer_deposit Boolean
    related='warehouse_id.use_customer_deposits'
  • customer_deposit Boolean
  • customer_deposit_count Integer
    compute='_compute_customer_deposit_count'
Public methods (1)
  • action_view_customer_deposits(self)

New fields (3)
  • deposit_allowed_qty Float
    compute='_compute_deposit_allowed_qty' digits='Product Unit of Measure' help='Quantity of the product allowed to used in customer deposit.' readonly=True
  • deposit_available_qty Float
    compute='_compute_deposit_available_qty' digits='Product Unit of Measure' help='Quantity of the product available in customer deposit.' readonly=True
  • route_id Many2one → stock.route
    compute='_compute_route_id' readonly=False store=True args: 'stock.route'
Public methods (1)
  • action_view_customer_deposits(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • button_validate(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • assign_owner Boolean
    help='If checked, the owner of the picking will be the partner of the picking.' args: 'Assign owner automatically'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • customer_deposit_route_id Many2one → stock.route
    ondelete='restrict' args: 'stock.route', 'Customer Deposit Route'
  • customer_deposit_type_id Many2one → stock.picking.type
    check_company=True args: 'stock.picking.type', 'Customer Deposit Type'
  • use_customer_deposits Boolean
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • get_customer_deposit_rules_dict(self)
  • write(self, vals)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
PULL REQUEST
PULL REQUEST[18.0][MIG] stock_customer_deposit: Migration to 18.0 (#2189)