Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Mar 25, 2024
1 parent 9202525 commit 8d52d10
Show file tree
Hide file tree
Showing 6 changed files with 639 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ addon | version | maintainers | summary
[pos_loyalty_redeem_payment](pos_loyalty_redeem_payment/) | 16.0.1.0.1 | | Use vouchers as payment method in pos orders
[pos_margin](pos_margin/) | 16.0.1.0.2 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Margin on PoS Order
[pos_membership](pos_membership/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Implement features of membership module in the Point of sale UI.
[pos_membership_extension](pos_membership_extension/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Prevent to sale product in the point of sale to customer that don't belong to membership categories
[pos_minimize_menu](pos_minimize_menu/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Reduce size of the main menu of the point of sale.
[pos_order_new_line](pos_order_new_line/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Allow cashier to create a new order line, instead of merging the quantity with a previous line
[pos_order_remove_line](pos_order_remove_line/) | 16.0.1.2.1 | [![robyf70](https://github.com/robyf70.png?size=30px)](https://github.com/robyf70) | Add button to remove POS order line.
Expand Down
142 changes: 142 additions & 0 deletions pos_membership_extension/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
====================================
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8d52d10

Please sign in to comment.