Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 0 migration notes 11 models 5 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
delivery_fee_deposit

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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 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
    compute='_compute_route_id' readonly=False store=True
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
    comodel_name='stock.route' ondelete='restrict' string='Customer Deposit Route'
  • customer_deposit_type_id Many2one → stock.picking.type
    check_company=True comodel_name='stock.picking.type' string='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)

Loading…