This module extends the functionality of point of sale module to implement features related to membership_extension OCA module. (https://github.com/OCA/vertical-association repository) For the time being, it prevents cashier to sell product to customer that doesn't belong to some membership categories.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Restrict which products can be sold in the Point of Sale based on the customer's membership categories. Products can be limited to specific membership categories, and the POS blocks sales to customers who don't qualify.
This module adds a new field 'Allowed Membership categories' on product templates, visible in the Point of Sale tab of the product form. If you set one or more membership categories on a product, that product can only be sold to customers who belong to at least one of those categories.
In the Point of Sale, when a product is restricted and the current customer does not qualify, a red 'no entry' icon appears on the product card. If the cashier tries to add such a product to the order, an error popup appears saying 'Incorrect Membership' and the product is not added.
If the cashier changes the customer on an existing order, any order lines containing products that are not allowed for the new customer are automatically removed, and a popup lists the removed products.
The product information popup in the POS also shows the allowed membership categories for the product.
This module works together with the membership_extension module and affects the product.template, product.product, pos.session, and Point of Sale frontend components. It does not add new menus or reports.
Depends on
Models and fields (3)
- pos.session · extends an existing model
- product.product · extends an existing model
- product.template · extends an existing modelallowed_membership_category_ids (Allowed Membership categories)
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/pos.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0- open a product form
- Go to the sale tab
- fill the field "Allowed Membership Categories"
- Configure also the membership categories. For that purpose, refer to the documentation of the OCA
membership_extensionmodule.
Usage
Source · Odoo 16.0- open the Point of Sale product
- You can see that some products have a new icon that mention that the product is not sallable. the icon disappear if you select a customer that belong to one of the membership categories :
- The module adds in the Product Pop Up info, the list of the membership categories allowed for the current product :
- If you select the product with an incorrect customer, you'll see an error Popup :
- If you selected allowed restricted product for a partner, and then switch for another partner, a check is realized to verify that the selected products are allowed. If not, order lines will be removed and a popup message will be displayed :
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.