Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 11.0

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

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 1 migration note 5 models 6 views 2 HTTP endpoints

Description

This module extends the functionality of sale_order_secondary_unit to allow selling products in the online store using the secondary units defined on the product.

Odoo ships a similar feature based on uom.uom records shared by all products (the Packagings field). Secondary units are instead defined per product and keep both quantities (product unit and secondary unit) on the sale order line, which is useful when each product has its own packing sizes.

Dependencies

Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
cart_lines Secondary Unit Cart Lines ir.ui.view qweb Inherits website_sale.cart_lines
cart_summary_content Secondary Unit Cart Summary ir.ui.view qweb Inherits website_sale.cart_summary_content
cta_wrapper Select Secondary Unit ir.ui.view qweb Inherits website_sale.cta_wrapper
product_price Secondary Unit Price Reference ir.ui.view qweb Inherits website_sale.product_price
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

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) CartSecondaryUnit.update_cart inherited http ALL
(inherited route override) CustomerPortalSecondaryUnit.my_orders_reorder inherited http ALL sudo

Models touched 5

New fields (0)

No new fields.

Public methods (0)

No public methods.

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 (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…