Product Availability
website_sale_stock · odoo/odoo
Replaces
website_sale_stock_control (10.0) · website_sale_stock_options (12.0) · website_sale_stock_available_display (15.0) · website_sale_stock_wishlist (20.0) Health
95/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by20/252 modules depend on it
-
Maturity25/25In 12 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
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
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- website_sale_collect, website_sale_mrp
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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_requiredBooleanrelated='carrier_id.support_pickup_locations' -
partner_shipping_idMany2one → res.partnerstring='Pickup Point' args: 'res.partner'
-
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_locationsBooleancompute='_compute_support_pickup_locations'
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_idMany2one → stock.warehousedomain=<expr>readonly=Falserelated='website_id.warehouse_id' args: 'stock.warehouse'
No public methods.
New fields (1)
-
pickup_delivery_method_idMany2one → delivery.carrierhelp='The delivery method that generated this pickup point.'ondelete='cascade' args: 'delivery.carrier'
No public methods.
New fields (1)
-
is_pickup_requiredBooleanrelated='carrier_id.support_pickup_locations'
-
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_requiredBooleanrelated='carrier_id.support_pickup_locations' -
website_idMany2one → websitehelp='Website where this order has been placed, for eCommerce orders.'readonly=Truerelated='sale_id.website_id'store=Truestring='Website' args: 'website'
-
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_idMany2one → stock.warehousestring='Warehouse' args: 'stock.warehouse'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…