TIP: You can type at any time to perform a new search.
Website Sale UoM Continuous
website_sale_uom_continuous · OCA/e-commerce
Security findings
- Repository
- OCA/e-commerce · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Website
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/e-commerce
- Last tracking update
- 2026-10-05 01:52:07
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Iván Todorovich, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- Description
Allows to sell decimal quantities of products in continuous units of measure (kg, L, m, ...) on the eCommerce. By default, Odoo casts the quantities added to the cart to integers, so a customer can't buy 2.5 kg of a product. With this module, quantities are rounded according to the unit of measure: - Continuous units of measure keep the decimals allowed by the "Product Unit" decimal precision, e.g. 2.5 kg. - Units of measure based on Units can't be split, and keep integer quantities. This applies to the product page, the product configurator, the cart, the checkout summary and the quick reorder. The cart quantity shown in the header counts each line in a continuous unit of measure as a single item, e.g. 2.5 kg and 3 units count as 4 items.
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cart_summary_content |
cart_summary_content | ir.ui.view | qweb | Inherits website_sale.cart_summary_content |
quick_reorder_history |
quick_reorder_history | ir.ui.view | qweb | Inherits website_sale.quick_reorder_history |
HTTP endpoints (4)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | WebsiteSaleUomContinuousCart.add_to_cart |
inherited | jsonrpc | ALL | |
| (inherited route override) | WebsiteSaleUomContinuousCart.update_cart |
inherited | jsonrpc | ALL | |
| (inherited route override) | WebsiteSaleUomContinuousProductConfiguratorController.website_sale_product_configurator_get_values |
inherited | jsonrpc | ALL | |
| (inherited route override) | WebsiteSaleUomContinuousProductConfiguratorController.website_sale_product_configurator_update_combination |
inherited | jsonrpc | ALL |
Models touched (4)
New fields (0)
No new fields.
Public methods (1)-
get_frontend_session_info(self)@api.model
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 (0)No public methods.