TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/stock-logistics-workflow · module folder · Try on Runboat
Module version
1.2.2
Category
Inventory/Delivery
Folder size
0.14 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-workflow
Last tracking update
2026-10-03 23:25:07
Authors
Odoo Community Association (OCA), Moduon
Maintainers
Odoo Community Association (OCA), Moduon
Committers
GitHub, Eduardo De Miguel, Emilio Pascual, Weblate, Eduardo de Miguel, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_report_delivered_deposit, stock_customer_deposit_elaboration, stock_customer_deposit_sale_margin
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 info_outline

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

No HTTP endpoints found for this module.

Models touched (12)

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 (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
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
303 days ago
Last activity
10 days ago
Repository
OCA/stock-logistics-workflow
Pull request
[18.0][MIG] stock_customer_deposit: Migration to 18.0 (#2189)