Stock Customer Deposit
stock_customer_deposit · OCA/stock-logistics-workflow
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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 11
No new fields.
Public methods (0)No public methods.
-
customer_deposit_countIntegercompute='_compute_customer_deposit_count'
-
action_view_customer_deposits(self)
-
can_customer_depositBooleanrelated='warehouse_id.use_customer_deposits' -
customer_depositBoolean -
customer_deposit_countIntegercompute='_compute_customer_deposit_count'
-
action_view_customer_deposits(self)
-
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_idMany2onecompute='_compute_route_id'readonly=Falsestore=True
-
action_view_customer_deposits(self)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)-
button_validate(self) -
create(self, vals_list)@api.model_create_multi
-
assign_ownerBooleanhelp='If checked, the owner of the picking will be the partner of the picking.' args: 'Assign owner automatically'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
-
customer_deposit_route_idMany2one → stock.routecomodel_name='stock.route'ondelete='restrict'string='Customer Deposit Route' -
customer_deposit_type_idMany2one → stock.picking.typecheck_company=Truecomodel_name='stock.picking.type'string='Customer Deposit Type' -
use_customer_depositsBoolean
-
create(self, vals_list)@api.model_create_multi -
get_customer_deposit_rules_dict(self) -
write(self, vals)
Loading…