Skip to main content

Prevent to sale product in the point of sale to customer that don't belong to membership categories

Project description

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runboat

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”

https://raw.githubusercontent.com/OCA/pos/16.0/pos_membership_extension/static/description/product_form.png
  • 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 :

    https://raw.githubusercontent.com/OCA/pos/16.0/pos_membership_extension/static/description/point_of_sale_product_item.png
  • The module adds in the Product Pop Up info, the list of the membership categories allowed for the current product :

    https://raw.githubusercontent.com/OCA/pos/16.0/pos_membership_extension/static/description/point_of_sale_popup_product_info.png
  • If you select the product with an incorrect customer, you’ll see an error Popup :

    https://raw.githubusercontent.com/OCA/pos/16.0/pos_membership_extension/static/description/point_of_sale_popup_error.png
  • 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 :

    https://raw.githubusercontent.com/OCA/pos/16.0/pos_membership_extension/static/description/point_of_sale_switch_partner_popup.png

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

Authors

  • GRAP

Contributors

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.

Odoo Community Association

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:

legalsylvain

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_pos_membership_extension-16.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

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

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page