Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 12 Odoo series since 9.0

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

Security findings
Grave / minor (static analysis)
Required by
2
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.86 MB
Module directory on disk
Code analysis 0 migration notes 9 models 7 views 2 HTTP endpoints

Description

Manage the inventory of your products and display their availability status in your eCommerce store. In case of stockout, you can decide to block further sales or to keep selling. A default behavior can be selected in the Website settings. Then it can be made specific at the product level.

Dependencies

Code analysis

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

Views touched 7

XML IDNameModelTypeStatus
choose_delivery_carrier_view_form_inherit_website_sale choose.delivery.carrier.form.inherit.website.sale choose.delivery.carrier form Inherits delivery.choose_delivery_carrier_view_form
pickup_address_on_checkout pickup_address_on_checkout ir.ui.view qweb Inherits website_sale.address_on_checkout
pickup_delivery_method pickup_delivery_method ir.ui.view qweb Inherits website_sale.delivery_method
res_config_settings_view_form res.config.settings.view.form.inherit.website.sale.stock res.config.settings form Inherits website_sale.res_config_settings_view_form
sale_order_list_view_ecommerce website.sale.order.list.inherit.website.sale.stock sale.order list Inherits website_sale.sale_order_list_view_ecommerce
sale_order_view_form sale.order.form sale.order form Inherits sale.view_order_form
view_picking_form_inherit_website_sale stock.picking.form.inherit.website.sale stock.picking form Inherits stock.view_picking_form

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
/website_sale_stock/get_pickup_locations LocationSelector.website_sale_get_pickup_locations public jsonrpc ALL sudo website
/website_sale_stock/set_pickup_location LocationSelector.website_sale_set_pickup_location public jsonrpc ALL website

Models touched 9

New fields (2)
  • is_pickup_required Boolean
    related='carrier_id.support_pickup_locations'
  • partner_shipping_id Many2one → res.partner
    string='Pickup Point' args: 'res.partner'
Public methods (2)
  • button_confirm(self)
  • set_pickup_location(self, pickup_location_data)
    Set the pickup location on the current wizard. :param str pickup_location_data: The pickup location data in JSON format.

New fields (1)
  • support_pickup_locations Boolean
    compute='_compute_support_pickup_locations'
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 (1)
  • website_warehouse_id Many2one → stock.warehouse
    domain=<expr> readonly=False related='website_id.warehouse_id' args: 'stock.warehouse'
Public methods (0)

No public methods.

New fields (1)
  • pickup_delivery_method_id Many2one → delivery.carrier
    help='The delivery method that generated this pickup point.' ondelete='cascade' args: 'delivery.carrier'
Public methods (0)

No public methods.

New fields (1)
  • is_pickup_required Boolean
    related='carrier_id.support_pickup_locations'
Public methods (3)
  • action_open_delivery_wizard(self)
    Override of `delivery` to include default values for pickup delivery methods.
  • set_pickup_location(self, pickup_location_data)
    Set the pickup location on the current sale order. :param str pickup_location_data: The pickup location data in JSON format.
  • write(self, vals)
    Override to adapt pickup location-related data on delivery method change.

New fields (2)
  • is_pickup_required Boolean
    related='carrier_id.support_pickup_locations'
  • website_id Many2one → website
    help='Website where this order has been placed, for eCommerce orders.' readonly=True related='sale_id.website_id' store=True string='Website' args: 'website'
Public methods (4)
  • action_confirm(self)
  • button_validate(self)
  • set_pickup_location(self, pickup_location_data)
    Set the pickup location on the current record.
  • write(self, vals)

New fields (1)
  • warehouse_id Many2one → stock.warehouse
    string='Warehouse' args: 'stock.warehouse'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…