TIP: You can type at any time to perform a new search.
Product Availability
website_sale_stock · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Website/Website
- Folder size
- 0.91 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- None
- Last tracking update
- 2026-08-15 22:44:20
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Aaron Bohy, Jorge Pinna Puissant, Arnold Moyaux, Julien Castiaux, Victor Feyens, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, Kishan Gajjar, Valentin Chevalier, Levi Siuzdak (sile), Dylan Kiss (dyki), Valeriya(vchu), Youssef Bashandy, lase@odoo.com, Louis (loti), Serge Bayet (seba), kcv-odoo, dere-odoo, Ritika Rathore, Lina (liew), Chrysanthe (chgo), mano-odoo, Patricia Daloze (pda), Antoine (anso), Manushi Shah, Rahil Ghanchi, Bastien PIERRE, Shrey Mehta, pish-odoo, Mahdi Alijani (malj), bona-odoo, nipl-odoo, bikh-odoo, MAGREMENT, macs-odoo, Nisarg (nipl), assh-odoo, Lionel Piraux (lipi), Merlin Guillaume, Julien (jdeh), msho-odoo, chpa-odoo
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- website_sale_collect, website_sale_mrp, website_sale_stock_available, website_sale_stock_list_preview, website_sale_stock_provisioning_date, website_sale_stock_wishlist
- 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.
Code Analysis ⓘ
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
availability_email_body |
availability_email_body | ir.ui.view | qweb | New |
product_pages_tree_view |
Product Pages List (stock inherit) | product.template | tree | Inherits website_sale.product_pages_tree_view |
product_template_form_view_inherit_website_sale_stock |
product.template.form.inherit.website.sale.stock | product.template | form | Inherits website_sale.product_template_form_view |
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 |
view_picking_form_inherit_website_sale_stock |
stock.picking.form.inherit.website.sale.stock | stock.picking | form | Inherits stock.view_picking_form |
website_sale_stock_cart_lines |
Shopping Cart Lines | ir.ui.view | qweb | Inherits website_sale.cart_lines_quantity |
website_sale_stock_product |
website_sale_stock_product | ir.ui.view | qweb | Inherits website_sale.cta_wrapper |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/shop/add/stock_notification |
WebsiteSaleStock.add_stock_email_notification |
public | jsonrpc | ALL | sudo website |
| (inherited route override) | WebsiteSaleStockVariantController.get_combination_info_website |
inherited | http | ALL |
Models touched (10)
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)
-
stock_notification_partner_idsMany2many → res.partnerrelation='stock_notification_product_partner_rel'string='Back in stock Notifications' args: 'res.partner'
No public methods.
New fields (1)
-
assignSelectionhelp='Defines how this ribbon is assigned to products:\n- Manually: You assign the ribbon manually to products.\n- Sale: Applied when the product is visibly on sale.\n- New: Applied based on the New period you will define.\n- Out Of Stock: Applied when the product is out of stock.'ondelete={'out_of_stock': 'cascade'}selection_add=[('out_of_stock', 'when out of stock')]
No public methods.
New fields (4)
-
allow_out_of_stock_orderBooleandefault=Truestring='Sell when Out-of-Stock' -
available_thresholdFloatdefault=5.0string='Show Threshold' -
out_of_stock_messageHtmlstring='Out-of-Stock Message'translate=html_translate -
show_availabilityBooleandefault=Falsestring='Show availability Qty'
No public methods.
New fields (4)
-
default_allow_out_of_stock_orderBooleandefault=Truedefault_model='product.template'string='Continue selling when out-of-stock' -
default_available_thresholdFloatdefault=5.0default_model='product.template'string='Show Threshold' -
default_show_availabilityBooleandefault=Falsedefault_model='product.template'string='Show availability Qty' -
website_warehouse_idMany2one → stock.warehousedomain="[('company_id', '=', website_company_id)]"readonly=Falserelated='website_id.warehouse_id' args: 'stock.warehouse'
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_idMany2one → websitehelp='Website where this order has been placed, for eCommerce orders.'readonly=Truerelated='sale_id.website_id'store=Truestring='Website' args: 'website'
No public methods.
New fields (1)
-
warehouse_idMany2one → stock.warehousestring='Warehouse' args: 'stock.warehouse'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…