Metadata-Version: 2.1
Name: odoo-addon-pos-membership-extension
Version: 16.0.1.0.0.4
Summary: Prevent to sale product in the point of sale to customer that don't belong to membership categories
Home-page: https://github.com/OCA/pos
Author: GRAP,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 16.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.10
Requires-Dist: odoo-addon-membership-extension <16.1dev,>=16.0dev
Requires-Dist: odoo <16.1dev,>=16.0a

====================================
Point of Sale - Membership Extension
====================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:430cfd383e1084f7ffe9a641b195156de484dc73fb74ebb03b974f4dee8d4de3
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
    :target: https://github.com/OCA/pos/tree/16.0/pos_membership_extension
    :alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_membership_extension
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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**

.. contents::
   :local:

Configuration
=============

* open a product form
* Go to the sale tab
* fill the field "Allowed Membership Categories"

.. figure:: 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 :

  .. figure:: 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 :

  .. figure:: 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 :

  .. figure:: 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 :

  .. figure:: 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 <https://github.com/OCA/pos/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 <https://github.com/OCA/pos/issues/new?body=module:%20pos_membership_extension%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* GRAP

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.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
    :target: https://github.com/legalsylvain
    :alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain| 

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/16.0/pos_membership_extension>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.


