Repository
OCA/e-commerce · module folder · Try on Runboat
Module version
1.0.2
Category
Website
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/e-commerce
Last tracking update
2026-08-07 08:42:55
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
pilarvargas-tecnativa, Pilar Vargas, Weblate, OCA-git-bot, oca-ci, Kimkhoi3010
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None
Description
This module extends the functionality of saleorder_secondary_unit module
to allow sell products in online store in secondary units defined.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
cart_lines cart_lines ir.ui.view qweb Inherits website_sale.cart_lines
checkout_layout checkout_layout ir.ui.view qweb Inherits website_sale.checkout_layout
product Manage secondary units ir.ui.view qweb Inherits website_sale.product
product_price product_price ir.ui.view qweb Inherits website_sale.product_price
product_quantity product_quantity ir.ui.view qweb Inherits website_sale.product_quantity
product_template_form_view_secondary_unit product.template form Inherits product_secondary_unit.product_template_form_view
product_template_form_view_website_sale product.template.website.secondary.unit.form product.template form Inherits website_sale.product_template_form_view
second_qty_description second_qty_description ir.ui.view qweb New
secondary_qty secondary_qty ir.ui.view qweb New
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) WebsiteSaleSecondaryUnit.cart_update inherited http ALL
(inherited route override) WebsiteSaleSecondaryUnit.cart_update_json inherited http ALL sudo
Models touched (4)

New fields (1)
  • is_published Boolean
    default=True
Public methods (0)

No public methods.

New fields (1)
  • allow_uom_sell Boolean
    default=True string='Allow to sell in unit of measure'
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 (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…