Metadata-Version: 2.1
Name: odoo-addon-member_card
Version: 16.0.1.0.0.7
Requires-Python: >=3.10
Requires-Dist: odoo>=16.0a,<16.1dev
Summary: Create a member card and link it to a partner.
Home-page: https://github.com/beescoop/Obeesdoo
License: AGPL-3
Author: BEES coop - Cellule IT, Coop IT Easy SC
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 16.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

===========
Member Card
===========

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

.. |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-beescoop%2FObeesdoo-lightgray.png?logo=github
    :target: https://github.com/beescoop/Obeesdoo/tree/16.0/member_card
    :alt: beescoop/Obeesdoo

|badge1| |badge2| |badge3|

Create a member card and link it to a partner.

- Adds a member_card_template view and print option on partner
- Adds a "Member card" tab on the partner with a button to create a new member card
- The partner's card and barcode history is visible in the member card tab
- Creating a card generates a barcode, witch is then displayed on the member card
- The "Force Barcode" option allows to set a specific barcode instead
- A partner's barcode is computed from the last active member card
- Adds a field ``member_card_logo`` on the company allowing to upload an image
- The card template displays the ``member_card_logo`` image
- A boolean "Print Member card?" allows to flag partners for whom you need to print new cards.
- The wizards "Request member card printing" and "Set member card as printed" allow to mass check and uncheck the "Print Member Card?" flag.
- If the point of sale is installed, the generated barcode matches customer pattern rule.

The wizards "Request member card printing" and "Set member card as printed" allow to

Careful : this module overrides the barcodes already defined on the partners.

If point of sale is installed, the generated barcode matches customer pattern rule.

**Table of contents**

.. contents::
   :local:

Known issues / Roadmap
======================

- factor out wizards "request member card printing" and "set member card as printed"

  - it was used to request a batch of card to print but has no link to the actual template
- use ``barcodes_generator_abstract`` from the OCA to generate barcodes

**Customer Barcodes**

- odoo/base adds ``barcode`` field on ``res.partner``.
- member_card also adds ``barcode`` but defines it as computed and stored.

On ``member_card`` install, odoo will compute the values for barcode field and **erase pre-existing values**.
It will also make it impossible to load data on that field.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/beescoop/Obeesdoo/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/beescoop/Obeesdoo/issues/new?body=module:%20member_card%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
~~~~~~~

* BEES coop - Cellule IT
* Coop IT Easy SC

Contributors
~~~~~~~~~~~~

* BEES coop - Cellule IT
* Coop IT Easy SC
* Thibault François

Maintainers
~~~~~~~~~~~

This module is part of the `beescoop/Obeesdoo <https://github.com/beescoop/Obeesdoo/tree/16.0/member_card>`_ project on GitHub.

You are welcome to contribute.
