Skip to Content

PMIS Website Theme OCA Secondary Unit Compatibility

License: AGPL-3 PMISuite/website Version: 18.0

The technical addon name is pmis_website_theme_oca_secondary_unit.

This optional bridge installs automatically when PMIS Website Collections and OCA's Website Sale Secondary Unit are installed.

Wishlist collections retain quantities in the product's primary sales unit. Adding a collection item uses OCA's cart and secondary-unit hooks without multiplying the saved quantity again or using another product's session unit. Products that require a secondary unit use their published default unit, or the first published active unit. Products with no eligible sales unit cannot be added from a collection. The previous session selection is restored afterward.

Native and OCA quantity, price, stock, and purchase restrictions remain active.

Configuration and usage

Configure the product's OCA secondary sales units, publishing and activating eligible units. Save an item in a collection and add it to the cart. If primary unit selling is disabled, the bridge selects the published default sales unit or first eligible unit. Without an eligible unit, cart addition is refused. The collection's primary-unit quantity still has to be whole for the inherited cart path. This addon supplies no additional unit configuration screen.

Bug Tracker

Bugs are tracked on PMISuite Repository Issues.

Credits

Authors

  • PMISuite

Contributors

  • Matjaž Mozetič

Maintainers

LUXIM MATMOZ

Current maintainer:

sysadminmatmoz

Luxim is an independent R&D and deployment company focused on solving complex problems in the Odoo ecosystem.

Odoo Community Association

Luxim is an active member of OCA (Odoo Community Association).