Prevent to sale product in the point of sale to customer that don't belong to membership categories
Project description
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.
Table of contents
Configuration
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_extension module.
Usage
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 :
Known issues / Roadmap
If OCA members want to develop a module named sale_membership_extension we should extract move some part of the code of the current module in the new module and make the current module depends on the new one.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Sylvain LE GAL (https://twitter.com/legalsylvain)
Other credits
The development of this module has been financially supported by:
UGESS, Union Nationale des Groupements des épiceries Sociales et Solidaires (https://ugess.org/)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/pos project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo_addon_pos_membership_extension-16.0.1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf81ea274fe2ed8609767450b5a12f5112dfc65fd9315e1aaa8e2402fa32215 |
|
MD5 | ded4192d3d128752d07e9f538ecd3093 |
|
BLAKE2b-256 | 21f454e9ca557f662fe62848874e416527a6aab52f05d54d5b496fc3d2fea0e2 |