Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 18.0

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

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

Description

Allows customers to check in-store stock, pay on site, and pick up their orders at the shop.

Dependencies

Code analysis

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

Views touched 10

XML IDNameModelTypeStatus
delivery_carrier_form In-store Delivery Carrier Form delivery.carrier form Inherits delivery.view_delivery_carrier_form
in_store_delivery_method in_store_delivery_method ir.ui.view qweb Inherits website_sale_stock.pickup_delivery_method
payment_confirmation_status payment_confirmation_status ir.ui.view qweb Inherits website_sale.payment_confirmation_status
payment_provider_form On Site Provider Form payment.provider form Inherits payment_custom.payment_provider_form
product_page_click_and_collect product_page_click_and_collect ir.ui.view qweb Inherits website_sale.cta_wrapper
res_config_settings_form Click & Collect Settings Form res.config.settings form Inherits website_sale.res_config_settings_view_form
sale_order_view_form sale.order.form.inherit.website.sale.collect sale.order form Inherits website_sale_stock.sale_order_view_form
stock_picking_form stock.picking.form stock.picking form Inherits stock_delivery.view_picking_withcarrier_out_form
stock_warehouse_form Click & Collect Stock Warehouse Form stock.warehouse form Inherits stock.view_warehouse
website_sale_collect.unavailable_products_warning website_sale_collect.unavailable_products_warning ir.ui.view qweb New

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
/shop/set_click_and_collect_location InStoreDelivery.shop_set_click_and_collect_location public jsonrpc ALL sudo website
(inherited route override) InStoreDelivery.shop_set_delivery_method inherited http ALL
(inherited route override) InStoreDelivery.website_sale_get_pickup_locations inherited http ALL sudo

Models touched 10

New fields (2)
  • delivery_type Selection
    ondelete={'in_store': 'set default'} selection_add=[('in_store', 'Pick up in store')]
  • warehouse_ids Many2many → stock.warehouse
    comodel_name='stock.warehouse' string='Stores'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • in_store_rate_shipment(self, *_args)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • custom_mode Selection
    selection_add=[('on_site', 'Pay on site')]
Public methods (1)
  • copy_data(self, default=None)

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 (1)
  • action_view_in_store_delivery_methods(self)
    Return an action to browse pickup delivery methods in list view, or in form view if there is only one.

New fields (1)
  • delivery_type Selection
    related='carrier_id.delivery_type'
Public methods (1)
  • set_pickup_location(self, pickup_location_data)
    Override `website_sale` to set the pickup location for in-store delivery methods. Set account fiscal position depending on selected pickup location to correctly calculate taxes.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • opening_hours Many2one → resource.calendar
    check_company=True comodel_name='resource.calendar' string='Opening Hours'
Public methods (0)

No public methods.

New fields (1)
  • in_store_dm_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' compute='_compute_in_store_dm_id' string='In-store Delivery Method'
Public methods (0)

No public methods.

Loading…

Loading…