Metadata-Version: 2.1
Name: odoo-addon-cooperator_website
Version: 16.0.1.2.0.1
Summary: This module adds the cooperator subscription form allowing to subscribe for shares online.
Home-page: https://github.com/OCA/cooperative
Author: Coop IT Easy SC, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
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-cooperator<16.1dev,>=16.0dev
Requires-Dist: odoo<16.1dev,>=16.0a

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===================
Cooperators Website
===================

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

.. |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/license-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%2Fcooperative-lightgray.png?logo=github
    :target: https://github.com/OCA/cooperative/tree/16.0/cooperator_website
    :alt: OCA/cooperative
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/cooperative-16-0/cooperative-16-0-cooperator_website
    :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/cooperative&target_branch=16.0
    :alt: Try me on Runboat

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

This module adds the cooperator subscription form allowing to subscribe for
shares online.

**Table of contents**

.. contents::
   :local:

Changelog
=========

16.0.1.2.0 (2026-02-24)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Pass created subscription request to ``.get_subscription_response()`` to allow for dependent modules to access it. (`#163 <https://github.com/OCA/cooperative/issues/163>`_)


**Bugfixes**

- Correctly detect whether a user is logged in when displaying the subscription form. This was only working correctly with the first company. (`#163 <https://github.com/OCA/cooperative/issues/163>`_)
- Ensure that the number of parts field can correctly be passed as an argument to the subscription form and that its value is kept in case of errors when submitting the form. (`#163 <https://github.com/OCA/cooperative/issues/163>`_)


16.0.1.1.0 (2026-02-23)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Ensure that the date of birth entered on the subscription form has at least 4 digits and is not in the future. (`#176 <https://github.com/OCA/cooperative/issues/176>`_)


16.0.1.0.2 (2026-02-13)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Fix validation error when the number of shares is equal to the minimum quantity. (`#177 <https://github.com/OCA/cooperative/issues/177>`_)


16.0.1.0.1 (2026-02-03)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Fix the validation of the minimum number of shares on the website form. (`#174 <https://github.com/OCA/cooperative/issues/174>`_)


16.0.1.0.0 (2023-12-04)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Use the ``website.contactus_thanks`` webpage as a base for the thanks page
  instead of copying and modifying it. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)


**Bugfixes**

- Fix confirmation email disappearing when re-rendering the form when a required
  field is missing. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)
- Fix copyright statements: add missing ones and use the same format everywhere. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)
- Fix validation of upload of identity card scan: correctly detect missing file
  and avoid creating empty attachments. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)
- Fix form controls styling and attributes. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)
- Fix form for companies by using a common layout for both forms (for
  individuals and for companies). (`#88 <https://github.com/OCA/cooperative/issues/88>`_)


**Deprecations and Removals**

- Remove deprecated ``WebsiteSubscription.preRenderThanks()``. Use
  ``WebsiteSubscription.pre_render_thanks()`` instead. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)
- Remove display of company registry number, bank account number and cooperative
  email address on website pages. (`#88 <https://github.com/OCA/cooperative/issues/88>`_)


12.0.3.0.0 (2022-06-23)
~~~~~~~~~~~~~~~~~~~~~~~

**Deprecations and Removals**

- Removed reCAPTCHA logic out of this module. Install
  ``cooperator_website_recaptcha`` to regain the functionality. (`#312 <https://github.com/coopiteasy/vertical-cooperative/issues/312>`_)

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

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

* Coop IT Easy SC

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

* Coop IT Easy SC

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.

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

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