TIP: You can type at any time to perform a new search.
Stock Customer Deposit
stock_customer_deposit · OCA/stock-logistics-workflow
Security findings
Migration considerations
view_order_form_inherit_customer_deposit— For a target of Odoo 17.0+: view 'view_order_form_inherit_customer_deposit' 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_partner_form_inherit_customer_deposit— For a target of Odoo 17.0+: view 'view_partner_form_inherit_customer_deposit' 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_warehouse_inherit— For a target of Odoo 17.0+: view 'view_warehouse_inherit' 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-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
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_countIntegercompute='_compute_customer_deposit_count'
-
action_view_customer_deposits(self)
New fields (3)
-
can_customer_depositBooleanrelated='warehouse_id.use_customer_deposits' -
customer_depositBoolean -
customer_deposit_countIntegercompute='_compute_customer_deposit_count'
-
action_view_customer_deposits(self)
New fields (3)
-
deposit_allowed_qtyFloatcompute='_compute_deposit_allowed_qty'digits='Product Unit of Measure'help='Quantity of the product allowed to used in customer deposit.'readonly=True -
deposit_available_qtyFloatcompute='_compute_deposit_available_qty'digits='Product Unit of Measure'help='Quantity of the product available in customer deposit.'readonly=True -
route_idMany2one → stock.routecompute='_compute_route_id'readonly=Falsestore=True args: 'stock.route'
-
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_ownerBooleanhelp='If checked, the owner of the picking will be the partner of the picking.' args: 'Assign owner automatically'
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_idMany2one → stock.routeondelete='restrict' args: 'stock.route', 'Customer Deposit Route' -
customer_deposit_type_idMany2one → stock.picking.typecheck_company=True args: 'stock.picking.type', 'Customer Deposit Type' -
use_customer_depositsBoolean
-
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)