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 Nov 29, 2023
1 parent c743749 commit da48e0b
Show file tree
Hide file tree
Showing 40 changed files with 318 additions and 175 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ Modules related to a cooperative registry (subscribtion requests, share transfer

[//]: # (addons)

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[cooperator](cooperator/) | 16.0.1.0.0 | | Manage your cooperators

[//]: # (end addons)

Expand Down
141 changes: 96 additions & 45 deletions cooperator/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Cooperators
===========

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:dd6d478b85edb1bfa27e6c52dd3be60b5762877427b0c250c275fa7894900702
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -14,13 +17,16 @@ Cooperators
: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/14.0/cooperator
:target: https://github.com/OCA/cooperative/tree/16.0/cooperator
:alt: OCA/cooperative
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/cooperative-14-0/cooperative-14-0-cooperator
:target: https://translation.odoo-community.org/projects/cooperative-16-0/cooperative-16-0-cooperator
: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|
|badge1| |badge2| |badge3| |badge4| |badge5|

Manage cooperators of a cooperative.

Expand Down Expand Up @@ -58,40 +64,10 @@ Configurations:
.. contents::
:local:

Installation
============

## Migrating from easy_my_coop* to cooperator modules

Run this command before updating your modules

.. code-block:: shell
cat rename_deprecated_modules.py | ./odoo/odoo-bin shell -c odoo.conf --no-http --stop-after-init -d <db-name>
## Deploying with pip

We used [odoo setup tools](https://pypi.org/project/setuptools-odoo/#packaging-a-single-addon) to generate the pypi files from the odoo manifests. To deploy any packaged module, so that odoo can later install them,
you can create a venv with this name (it's git-ignored)
```shell
python -m venv venv
```
And then pip-install them [from pypi](https://pypi.org/user/coopdevs/).

### Example

For instance, for the addon `cooperator_portal`

.. code-block:: shell
pip install odoo14-addon-cooperator-portal==14.0.1.0.0.99.dev9
Beware that for word separation, pypi uses dashes `-` and odoo underscores `_`.

Usage
=====

See the [documentation](https://doc.it4socialeconomy.org/books/application-cooperators) (not available in english ATM).
See the `documentation <https://doc.it4socialeconomy.org/books/application-cooperators>`_ (not available in english ATM).

A localization module is needed with this module.

Expand All @@ -101,15 +77,17 @@ Known issues / Roadmap
Gather and consolidate all cooperator settings in the application parameters.

Consider a refactoring for:
1. removing a potential redundancy between the boolean field "representative" and the address type "representative".
2. prevent new contacts to have the representative address type, if they are not representative.
See [this issue](https://github.com/coopiteasy/vertical-cooperative/issues/350)

known_caveats: the cooperator localization modules will have to be splitted in order to install the `cooperator` module without the `cooperator_website` module.
#. removing a potential redundancy between the boolean field "representative"
and the address type "representative".
#. prevent new contacts to have the representative address type, if they are
not representative.

See `this issue <https://github.com/coopiteasy/vertical-cooperative/issues/350>`_.

Registering a payment for a subscription request for a company other than the
current one does not create the cooperative membership information for the
partner.
Known caveat: the cooperator localization modules will have to be split in
order to install the ``cooperator`` module without the ``cooperator_website``
module.

A “Cooperative Memberships” page should be added to the ``res.partner`` form,
displaying all the cooperative memberships of the partner
Expand All @@ -123,6 +101,79 @@ memberships of all companies or only the ones in which the user is “logged in
Changelog
=========

16.0.1.0.0 (2023-11-29)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Add a "Share Type" column to the cooperator register report. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add a new "Registers" menu entry and move the "Subscription Register" menu
entry there. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Use default filters instead of domains in contact views. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Merge the confirmation email template for individuals and companies into one. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Rename some files and XML IDs to improve consistency. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Update email templates to the default Odoo layout (what also makes them
shorter). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add a description to email templates. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Move the "Cooperator Candidates" menu entry to the "Cooperators" menu. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add a new "Cooperator Register" view (and menu entry) to display the
cooperative memberships and allow to print the cooperator register (report
that was previously on the partner model). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Make the capital release request report inherit from the invoice report
instead of copying and modifying it. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)


**Bugfixes**

- Ensure that only shares related to the current company appear on the
cooperator certificate. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure reversals of capital release requests use a name prefix to not clash
with normal entries ("RSUBJ" instead of "SUBJ"). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix subscription requests created by transfer operations: ensure that no
confirmation email is sent, that they don't appear in the list of subscription
requests and cannot be erroneously validated. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the display of the first name in email templates and add tests to cover
this. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix error when creating a new partner from the normal partner form. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the layout of all reports by rewriting them from the default invoice
layout. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure creating a cooperator for a non-current company works (when a capital
release request is paid). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure that ``share.line.share_number`` cannot be negative. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Don't send a cooperator certificate if there are no remaining shares after an
operation. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the company name in confirmation email template: display the name of the
company that made the subscription request instead of the name of the
cooperative. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure that the company_type value of a subscription request is copied to the
legal_form field of the created partner. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add unique per-company constraints on the cooperator register number and the
operation register number. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix copyright statements: add missing ones and use the same format everywhere. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix consistency of XML files: XML declaration, spacing. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Display an error message instead of failing when trying to create a
subscription request from a partner and no default share product is found. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Rename internal string value of "Blocked" subscription request state from
``block`` to ``blocked``. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure per-company sequences are used (for the cooperator register number and
the operation register number). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Prevent to create a subscription request where Email and Company Email have
the same value, to avoid trying to create a recursive partner hierarchy when
validating the subscription request (the partner being the parent of itself). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the footer layout to add company logos: wrap the original layout instead
of overwriting it. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix required company fields on subscription request form. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)


**Deprecations and Removals**

- Remove the extra columns in the contacts list view; they can now be found in
the cooperator register. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Remove deprecated ``subscription.request.create_comp_sub_req()``. Use
the normal ``subscription.request.create()`` instead. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Remove the useless "subscription" operation request type. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)


14.0.2.0.0 (2023-07-25)
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -181,8 +232,8 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/cooperative/issues/new?body=module:%20cooperator%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
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%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.

Expand Down Expand Up @@ -221,6 +272,6 @@ 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/14.0/cooperator>`_ project on GitHub.
This module is part of the `OCA/cooperative <https://github.com/OCA/cooperative/tree/16.0/cooperator>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion cooperator/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"name": "Cooperators",
"summary": "Manage your cooperators",
"version": "16.0.0.1.0",
"version": "16.0.1.0.0",
"depends": [
"account",
"base_iban",
Expand Down
73 changes: 73 additions & 0 deletions cooperator/readme/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
16.0.1.0.0 (2023-11-29)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Add a "Share Type" column to the cooperator register report. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add a new "Registers" menu entry and move the "Subscription Register" menu
entry there. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Use default filters instead of domains in contact views. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Merge the confirmation email template for individuals and companies into one. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Rename some files and XML IDs to improve consistency. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Update email templates to the default Odoo layout (what also makes them
shorter). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add a description to email templates. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Move the "Cooperator Candidates" menu entry to the "Cooperators" menu. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add a new "Cooperator Register" view (and menu entry) to display the
cooperative memberships and allow to print the cooperator register (report
that was previously on the partner model). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Make the capital release request report inherit from the invoice report
instead of copying and modifying it. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)


**Bugfixes**

- Ensure that only shares related to the current company appear on the
cooperator certificate. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure reversals of capital release requests use a name prefix to not clash
with normal entries ("RSUBJ" instead of "SUBJ"). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix subscription requests created by transfer operations: ensure that no
confirmation email is sent, that they don't appear in the list of subscription
requests and cannot be erroneously validated. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the display of the first name in email templates and add tests to cover
this. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix error when creating a new partner from the normal partner form. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the layout of all reports by rewriting them from the default invoice
layout. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure creating a cooperator for a non-current company works (when a capital
release request is paid). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure that ``share.line.share_number`` cannot be negative. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Don't send a cooperator certificate if there are no remaining shares after an
operation. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the company name in confirmation email template: display the name of the
company that made the subscription request instead of the name of the
cooperative. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure that the company_type value of a subscription request is copied to the
legal_form field of the created partner. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Add unique per-company constraints on the cooperator register number and the
operation register number. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix copyright statements: add missing ones and use the same format everywhere. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix consistency of XML files: XML declaration, spacing. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Display an error message instead of failing when trying to create a
subscription request from a partner and no default share product is found. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Rename internal string value of "Blocked" subscription request state from
``block`` to ``blocked``. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Ensure per-company sequences are used (for the cooperator register number and
the operation register number). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Prevent to create a subscription request where Email and Company Email have
the same value, to avoid trying to create a recursive partner hierarchy when
validating the subscription request (the partner being the parent of itself). (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix the footer layout to add company logos: wrap the original layout instead
of overwriting it. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Fix required company fields on subscription request form. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)


**Deprecations and Removals**

- Remove the extra columns in the contacts list view; they can now be found in
the cooperator register. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Remove deprecated ``subscription.request.create_comp_sub_req()``. Use
the normal ``subscription.request.create()`` instead. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)
- Remove the useless "subscription" operation request type. (`#86 <https://github.com/OCA/cooperative/issues/86>`_)


14.0.2.0.0 (2023-07-25)
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.bugfix.00.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.01.rst

This file was deleted.

3 changes: 0 additions & 3 deletions cooperator/readme/newsfragments/86.bugfix.02.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.03.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.04.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.05.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.bugfix.06.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.07.rst

This file was deleted.

3 changes: 0 additions & 3 deletions cooperator/readme/newsfragments/86.bugfix.08.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.bugfix.09.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.10.rst

This file was deleted.

3 changes: 0 additions & 3 deletions cooperator/readme/newsfragments/86.bugfix.11.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.bugfix.12.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.13.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.14.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.15.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.16.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.bugfix.17.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.18.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.bugfix.19.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.feature.0.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.feature.1.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.feature.2.rst

This file was deleted.

2 changes: 0 additions & 2 deletions cooperator/readme/newsfragments/86.feature.3.rst

This file was deleted.

1 change: 0 additions & 1 deletion cooperator/readme/newsfragments/86.feature.4.rst

This file was deleted.

Loading

0 comments on commit da48e0b

Please sign in to comment.