Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] cooperator: migration to 16.0 #86

Merged
merged 735 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
735 commits
Select commit Hold shift + click to select a range
acc8735
[REF] easy_my_coop: demo data todo
robinkeunen Jan 28, 2022
082b951
[IMP] easy_my_coop: Add dependency on partner_contact_gender
carmenbianca Nov 30, 2021
686ac9a
[FIX] correct domain for partner views
victor-champonnois Dec 20, 2021
8d736d7
[IMP] set legal representative as true by default
victor-champonnois Dec 15, 2021
b5d8aa8
[FIX] representative only when parent company
victor-champonnois Jan 13, 2022
64b6523
[REL] easy_my_coop 12.0.3.2.0
huguesdk Jan 30, 2022
8158b8a
[NOP] easy_my_coop: todo comment: check subscription request fields
robinkeunen Feb 3, 2022
e25d34a
[IMP] readme
remytms Jan 12, 2022
35fe0b8
[FIX] Run pre-commit on all files (+ minor manual fixes)
carmenbianca Feb 21, 2022
6411dff
[FIX] Temporarily disable test
carmenbianca Feb 22, 2022
c0a1962
Gender translation in subscription request selection
Mar 2, 2022
dd01451
[FIX] Remove duplicate translation
carmenbianca Mar 8, 2022
a517792
[UPD] Update all .pot files
Mar 8, 2022
63066e5
[IMP] redo subscription form from scratch
victor-champonnois Nov 12, 2021
ffd59ae
[REL] easy_my_coop 12.0.3.3.0
huguesdk Mar 20, 2022
5172ec1
Match between partner and sub_req done by vat
cesarlr Mar 18, 2022
4504009
[FIX] fix call to incorrect method name
huguesdk Mar 30, 2022
e13d7d7
[FIX] fix subscription request name field
huguesdk Mar 30, 2022
08760c8
[UPD] Update easy_my_coop.pot
Mar 30, 2022
c38bd8b
[FIX] easy_my_coop: Fix name computation
carmenbianca Apr 1, 2022
b52051d
[IMP] easy_my_coop: Improve English source strings
carmenbianca Apr 1, 2022
e7ca3e5
[UPD] Update easy_my_coop.pot
Apr 11, 2022
9fe26fd
[FIX] fix create company contact with sub-contact
huguesdk Apr 13, 2022
fc71c20
[FIX] fix create subscription request from partner
huguesdk Apr 13, 2022
9fb4668
[UPD] Update easy_my_coop.pot
Apr 14, 2022
5b09ed8
[UPD] Update easy_my_coop.pot
Apr 14, 2022
e20e6e7
[REF] minor refactoring
robinkeunen Apr 29, 2022
b294ad0
[FIX] easy_my_coop: Fix name computation crash
carmenbianca Jun 15, 2022
ff09d18
[UPD] changelog
github-grap-bot Jun 20, 2022
bd23f9a
[UPD] README.rst
github-grap-bot Jun 20, 2022
0a96f1c
easy_my_coop 12.0.3.3.2
github-grap-bot Jun 20, 2022
98ecbc1
[REF] easy_my_coop -> cooperator
robinkeunen Jan 28, 2022
c3a511a
[MIG] cooperator: set noupdate to false on report actions
robinkeunen Jan 28, 2022
7db6904
[FIX] easy_my_coop: split name and iban test
robinkeunen Feb 22, 2022
a816813
[FIX] coopeerator : re-enable successful tests
robinkeunen Mar 8, 2022
205498b
[UPD] Update cooperator.pot
Mar 8, 2022
9ed7fd2
[REF] cooperator : rename validated to is_valid_iban
robinkeunen Mar 8, 2022
227696a
[UPD] Update cooperator.pot
Mar 8, 2022
676e440
[REF] replacing partner_age by partner_contact_birthdate
victor-champonnois Mar 11, 2022
72356a3
[UPD] Update cooperator.pot
Mar 9, 2022
c7d691d
[REF] easy_my_coop_website_portal -> cooperator_portal
robinkeunen Mar 18, 2022
5fdcf8a
[REF] easy_my_coop_payment_term -> cooperator
robinkeunen Mar 22, 2022
8de241c
[REF] cooperator: property_cooperatror_account not company dependent
robinkeunen Mar 22, 2022
426eaab
[REF] cooperator: update readme
robinkeunen Mar 24, 2022
75535f8
[REF] rename cooperator.subscription_request_form
robinkeunen Mar 28, 2022
02d5ad3
[REF] cooperator: remove mention to easy my coop
robinkeunen Mar 28, 2022
82825a6
[REF] rename action_invoice_tree_coop
robinkeunen Mar 28, 2022
95ad4a8
[REF] rename account.journal xml_ids
robinkeunen Mar 28, 2022
fd98464
[REF] rename cooperator_register_view.xml
robinkeunen Mar 28, 2022
7ab2370
[REF] rename mail_template xml ids
robinkeunen Mar 28, 2022
54aca45
[REF] rename mail_template_view.xml
robinkeunen Mar 28, 2022
12e8e6d
[REF] rename product xml ids
robinkeunen Mar 28, 2022
c34c136
[REF] rename view_company_inherit_form2
robinkeunen Mar 28, 2022
bb58213
[REF] rename partner xml ids
robinkeunen Mar 28, 2022
a38772c
[REF] rename share product xml ids
robinkeunen Mar 28, 2022
4a7754d
[FIX] cooperator: Use openupgradelib-isms
carmenbianca Mar 29, 2022
13f506c
[REF] remove unused custom paperformat
robinkeunen Mar 28, 2022
09e634a
[REF] remove cooperator/wizard/cooperative_history_wizard.xml
robinkeunen Mar 29, 2022
59ad55d
[REF] cooperator : rename menu ids
robinkeunen Mar 30, 2022
d8338f0
[REF] cooperator : rename group xml ids
robinkeunen Mar 30, 2022
3d08f63
[REF] cooperator: rename security rules
robinkeunen Mar 30, 2022
7f856f6
[REF] remove refarence to easy_my_coop in readme
robinkeunen Mar 30, 2022
792b9e5
[REF] cooperator: rename template xml ids
robinkeunen Mar 30, 2022
1b7e3f2
[REF] cooperator: remove unused css classes
robinkeunen Mar 30, 2022
53d4a22
[REF] cooperator: remove mentions to easy_my_coop in js files
robinkeunen Mar 30, 2022
8c538e4
[REF] cooperator: move cooperator.js to easy_my_coop_website
robinkeunen Mar 30, 2022
36048ae
[REF] cooperator: rename easy_my_coop_data.xml
robinkeunen Mar 30, 2022
76c919d
[REF] cooperator: rename field easy_my_coop on mail.template
robinkeunen Mar 30, 2022
f6af19a
[REF] cooperator: rename easy_my_coop_report.xml
robinkeunen Mar 30, 2022
10c24b8
[REF] cooperator: remove mentions to easy my coop in tests
robinkeunen Mar 30, 2022
6ae0ff9
[FIX] cooperator: fix migration scripts to 12.0.5.0.0
robinkeunen Mar 31, 2022
9155a41
[REF] rename easy_my_coop_website: cooperator
victor-champonnois Apr 14, 2022
419b734
[UPD] translation : cooperator
victor-champonnois May 18, 2022
62b08b4
[IMP] Add new translations : cooperator
victor-champonnois May 19, 2022
1c628bc
[REM] cooperator: Remove duplicate translation
carmenbianca May 20, 2022
8d91149
[UPD] Update cooperator.pot
carmenbianca May 23, 2022
fe1b45a
[UPD] Update cooperator.pot
Jun 1, 2022
ef76dc1
[UPD] Update cooperator.pot
Jun 1, 2022
6d8d039
run pre-commit
victor-champonnois Jun 1, 2022
955d337
[UPD] Update cooperator.pot
Jun 1, 2022
a9d7212
[FIX] cooperator: Do not search account 416000
carmenbianca Apr 21, 2022
03edd78
[UPD] Update cooperator.pot
Jun 16, 2022
f2e9305
[FIX] duplicated dependency in cooperator
victor-champonnois Jun 8, 2022
d35d83e
[UPD] README.rst
github-grap-bot Jun 23, 2022
c657363
[FIX] SCRLfs → SC
carmenbianca Jun 29, 2022
62555a9
[MIG] cooperator: migration to 13.0
huguesdk Jul 5, 2022
999a380
[MIG] cooperator: migration to 14.0
huguesdk Jul 5, 2022
86f8a7b
[IMP] run pre-commit
huguesdk Jul 6, 2022
c7198b8
[FIX] fix company subscription request validation
huguesdk Jul 8, 2022
eca8c2e
[REM] cooperator: dependency on email_template_config
carmenbianca Jul 11, 2022
9f352e0
[ADD] legal_form to partner form
victor-champonnois Jul 18, 2022
7407ba9
[IMP] generic rule translation to distinguish from ROI
victor-champonnois Jul 18, 2022
e73587d
[FIX] company reference in mail_template
victor-champonnois Jul 18, 2022
5131766
[REM] old_member from cooperator tree view
victor-champonnois Jul 25, 2022
ba5a52a
[REM] update_partner_info wizard
victor-champonnois Jul 25, 2022
189b2fe
[REM] create button for subscription register
victor-champonnois Jul 25, 2022
351b09c
[IMP] replace subrequest type subscription with new
victor-champonnois Jul 26, 2022
19d08c9
[REM] fr_be translation
victor-champonnois Jul 27, 2022
8572556
[UPD] Update cooperator.pot
victor-champonnois Jul 27, 2022
ab7accd
[UPD] fr translations
victor-champonnois Jul 28, 2022
3688e73
[IMP] fix typo and add trad to mail templates
victor-champonnois Jul 28, 2022
c1a28a8
[FIX] fix view inheritance
huguesdk Aug 1, 2022
be4c419
[IMP] improve fr translation
huguesdk Aug 1, 2022
2e1b223
[FIX] add capital release request report binding
huguesdk Aug 2, 2022
fe6bd80
[IMP] increase fr translation
huguesdk Aug 2, 2022
f348394
[FIX] fix subscription journal sequence format
huguesdk Aug 2, 2022
0529d14
[FIX] pass pre-commit
huguesdk Aug 2, 2022
20cc2a7
[FIX] session values when creating partner via form
victor-champonnois Jul 14, 2022
c7c4773
[REF] cooperator: Create get_company_type_selection
carmenbianca Jul 29, 2022
dd745a6
[FIX] fix company reference in report
huguesdk Aug 17, 2022
21e0cc3
[FIX] fix email templates
huguesdk Aug 22, 2022
1c22b93
[FIX] correct report template source strings
huguesdk Aug 23, 2022
bc04d24
[FIX] fix report attachment names
huguesdk Aug 23, 2022
ef02caa
[IMP] improve fr translation
huguesdk Aug 24, 2022
d1d3192
[UPD] Update cooperator.pot
Aug 27, 2022
88c4639
[UPD] Update cooperator.pot
Aug 27, 2022
156f5b2
[MOV] move js file to the module where it is used
huguesdk Aug 28, 2022
51027fc
[REM] remove html description files
huguesdk Aug 28, 2022
fa8f78c
[UPD] forwardport changes to ROADMAP and USAGE from 12
victor-champonnois Sep 2, 2022
defc6bd
[UPD] README.rst
github-grap-bot Sep 5, 2022
4684b70
[FIX] fix multiple subscription request glitches
huguesdk Sep 26, 2022
ea8f2ea
[UPD] Update cooperator.pot
Sep 26, 2022
04dd963
cooperator 14.0.1.1.0
github-grap-bot Sep 26, 2022
6c5882c
[IMP] split migration script
huguesdk Sep 27, 2022
8daa6c9
[REF] include representative address type in cooperator
victor-champonnois Sep 2, 2022
70e48d0
[UPD] Update cooperator.pot
Sep 27, 2022
601630d
[UPD] README.rst
github-grap-bot Sep 27, 2022
1cb8428
cooperator 14.0.1.2.0
github-grap-bot Sep 27, 2022
7eef22b
[IMP] slight improvements from backport to 12.0
huguesdk Sep 16, 2022
6b890f8
[UPD] README.rst
github-grap-bot Sep 28, 2022
414f0fb
cooperator 14.0.1.3.0
github-grap-bot Sep 28, 2022
46e6d25
[IMP] add deprecation warning
huguesdk Sep 28, 2022
992c6de
cooperator 14.0.1.3.1
github-grap-bot Sep 29, 2022
a71379e
[FIX] fix manifest
huguesdk Sep 30, 2022
eec202d
[UPD] Update cooperator.pot
Oct 4, 2022
a322338
[UPD] README.rst
OCA-git-bot Oct 4, 2022
e1f3aca
[REF] cooperator: improve unit tests
robinkeunen Sep 29, 2022
3716d62
[IMP] cooperator: port tests to 14.0
robinkeunen Oct 27, 2022
6a42f8e
cooperator 14.0.1.4.0
OCA-git-bot Nov 9, 2022
cd70bb0
[IMP] cooperator: remove unique bank number bypass
robinkeunen Nov 3, 2022
211659b
[FIX] fix dummy test iban number
huguesdk Nov 14, 2022
242fdaf
[UPD] Update cooperator.pot
Nov 14, 2022
f1ef934
cooperator 14.0.1.5.0
OCA-git-bot Nov 14, 2022
9dae146
Update translation files
weblate Nov 14, 2022
2a78d05
[REF] move methods to cooperator test mixin
huguesdk Nov 15, 2022
1ef4d81
cooperator 14.0.1.5.1
OCA-git-bot Nov 23, 2022
77b545e
[FIX] fix cooperator effective date
huguesdk Dec 6, 2022
f254388
cooperator 14.0.1.5.2
OCA-git-bot Dec 6, 2022
db47ceb
[FIX] cooperator: remove selection widgets
robinkeunen Feb 7, 2023
c8c5fd4
[UPD] changelog
OCA-git-bot Feb 23, 2023
ff0aaeb
[UPD] README.rst
OCA-git-bot Feb 23, 2023
96b175e
cooperator 14.0.1.6.0
OCA-git-bot Feb 23, 2023
e3e24c5
[FIX] fix random required fields on website form
huguesdk Feb 6, 2023
a770b90
cooperator 14.0.1.6.1
robinkeunen Jun 20, 2023
97c7073
[IMP] cooperator: remove useless dependencies
robinkeunen May 18, 2023
97a844c
cooperator 14.0.1.6.2
OCA-git-bot Jun 20, 2023
23be11b
[UPD] Update cooperator.pot
Jun 22, 2023
ac2e649
Update translation files
weblate Jun 22, 2023
1c0aa9c
[IMP] cooperator: Scaffolding for multi-company e-mail templates
carmenbianca Jun 6, 2023
3e8f4c9
[IMP] cooperator: Set cooperator_capital_release_mail_template on com…
carmenbianca Jun 6, 2023
d832f77
[IMP] cooperator: Set cooperator_waiting_list_mail_template on company
carmenbianca Jun 6, 2023
8b6800e
[IMP] cooperator: Set cooperator_confirmation_company_mail_template o…
carmenbianca Jun 6, 2023
a8075a3
[IMP] cooperator: Set cooperator_certificate_mail_template on company
carmenbianca Jun 7, 2023
9e3615f
[IMP] cooperator: Set cooperator_certifice_increase_mail_template on …
carmenbianca Jun 7, 2023
806afe1
[IMP] cooperator: Set cooperator_share_transfer_mail_template on company
carmenbianca Jun 7, 2023
7036045
[IMP] cooperator: Set cooperator_share_update_mail_template on company
carmenbianca Jun 7, 2023
369461f
[IMP] cooperator: Migration script to populate company fields
carmenbianca Jun 7, 2023
8507f1c
[FIX] cooperator: Make template fields invisible during company creation
carmenbianca Jun 9, 2023
292f753
[FIX] cooperator: Correctly set templates on company after templates …
carmenbianca Jun 12, 2023
58b0e63
[FIX] cooperator: override → overwrite
carmenbianca Jun 12, 2023
d13c8d2
[FIX] cooperator: Fix English letter closing
carmenbianca Jun 12, 2023
c5d65df
[REF] cooperator: Change philosophy; use default mail template unless…
carmenbianca Jun 13, 2023
815d237
[IMP] cooperator: Make domains stricter
carmenbianca Jun 13, 2023
49b720d
[IMP] cooperator: Add newsfragment
carmenbianca Jun 28, 2023
5f362c1
[REF] cooperator: Save sequences on company
carmenbianca Jun 9, 2023
7f672d1
[IMP] cooperator: Migration script for sequences
carmenbianca Jun 9, 2023
2ee5761
[FIX] cooperator: Set company on sequences in migration script
carmenbianca Jun 12, 2023
a160ff3
[REF] cooperator: Get sequence by code instead of saving it on company
carmenbianca Jun 13, 2023
edfbc7f
[IMP] cooperator: Use data function instead of post-init hook to crea…
carmenbianca Jun 13, 2023
3dd9323
[IMP] cooperator: Add news fragment
carmenbianca Jun 28, 2023
0a3d002
[IMP] create subscription journal per company
huguesdk Jun 7, 2023
aad3ebe
[FIX] ensure demo data is correctly created
huguesdk Jun 7, 2023
0bf6319
[IMP] add tests
huguesdk Jun 9, 2023
22d69a4
[IMP] add migration script
huguesdk Jun 9, 2023
129fdb8
[IMP] improve migration script
huguesdk Jun 12, 2023
e2e8717
[IMP] use xml data instead of post-init hook
huguesdk Jun 12, 2023
1c1150c
[IMP] re-add company property to test class
huguesdk Jun 12, 2023
83d207c
[IMP] add news fragment
huguesdk Jun 28, 2023
836ef18
[IMP] improve multi-company consistency
huguesdk Jun 13, 2023
b99fa37
[IMP] link cooperator users to companies
huguesdk Jun 13, 2023
b358bf6
[IMP] add company_id field to views
huguesdk Jun 14, 2023
c398cb8
[IMP] set default company_id when creating a share
huguesdk Jun 13, 2023
a65741c
[IMP] add company_id to wizard
huguesdk Jun 14, 2023
bcb6815
[FIX] fix company links when creating users
huguesdk Jun 14, 2023
0435cf4
[IMP] add comments
huguesdk Jun 16, 2023
7d18d60
[IMP] define default share company only in xml
huguesdk Jun 16, 2023
b1b990d
[IMP] add _check_company_auto on account.move
huguesdk Jun 28, 2023
ae4527c
[IMP] add news fragment
huguesdk Jun 28, 2023
ddcba4f
[IMP] cooperator: Add multi-company ir.rules
carmenbianca Jun 14, 2023
4c1b25c
[IMP] cooperator: Add news fragment
carmenbianca Jun 28, 2023
d7c4a95
[REF] refactor validate_subscription_request()
huguesdk Jun 27, 2023
86ab9e3
[IMP] handle cooperative membership per company
huguesdk Jun 28, 2023
f226c61
[IMP] add news fragment
huguesdk Jun 28, 2023
a3a1326
[IMP] add roadmap entry
huguesdk Jun 28, 2023
4b4b340
[FIX] cooperator: Use explicit company in testing
carmenbianca Jul 25, 2023
dd0149e
[FIX] cooperator: In tests, use the correct company
carmenbianca Jul 25, 2023
265ec44
[FIX] cooperator: Initialise cooperator data on all companies
carmenbianca Jul 25, 2023
955c47d
[UPD] Update cooperator.pot
Jul 25, 2023
67c4ccd
[UPD] changelog
huguesdk Aug 14, 2023
6c020ea
[UPD] README.rst
huguesdk Aug 14, 2023
321d3e1
Update translation files
weblate Jul 25, 2023
1d02663
Added translation using Weblate (Italian)
mymage Aug 1, 2023
48fed43
Translated using Weblate (Italian)
mymage Aug 8, 2023
399e78e
Translated using Weblate (Italian)
mymage Aug 9, 2023
4de8ff2
Translated using Weblate (Italian)
mymage Aug 10, 2023
bf61a47
[FIX] fix pylint warnings
huguesdk Aug 15, 2023
757e4b0
[FIX] fix xml declarations and spacing
huguesdk Aug 15, 2023
f84fbf9
[MIG] cooperator: migration to 15.0
huguesdk Aug 16, 2023
c5c677c
[MIG] cooperator: migration to 16.0
huguesdk Aug 22, 2023
76ea7b0
[IMP] rewrite email templates
huguesdk Aug 22, 2023
e3e2d43
[IMP] improve and clean up code
huguesdk Aug 23, 2023
f39fc9e
[FIX] fix shares on cooperator certificate
huguesdk Aug 23, 2023
a53697c
[IMP] rewrite reports
huguesdk Aug 24, 2023
98b8d4b
[FIX] fix capital release requests reversals name
huguesdk Aug 25, 2023
ba72c10
[IMP] rename files to improve consistency
huguesdk Aug 25, 2023
7853f2e
[IMP] adjust copyright statements
huguesdk Aug 25, 2023
5171ff3
[MOV] rename news fragments
huguesdk Aug 25, 2023
5827b9b
[IMP] rename xml id and update translations
huguesdk Aug 28, 2023
d35dba1
[FIX] fix firstname in mail templates
huguesdk Sep 20, 2023
96bfe5c
[FIX] add operation requests tests
huguesdk Sep 20, 2023
4106099
[FIX] fix firstname in share transfer email
huguesdk Sep 20, 2023
4f22874
[FIX] fix subscription requests for operations
huguesdk Sep 20, 2023
50eb1f5
[IMP] update translations
huguesdk Sep 20, 2023
9e098b4
[FIX] fix required subscription request fields
huguesdk Sep 21, 2023
6952f8f
[IMP] rename "blocked" subscription request state
huguesdk Sep 27, 2023
d3bdc63
[FIX] avoid recursive partner hierarchy
huguesdk Sep 27, 2023
7cedcb6
[FIX] fix contact creation error
huguesdk Oct 2, 2023
5f55b50
[FIX] fix legal form of created company partner
huguesdk Oct 3, 2023
42c312f
[FIX] correct name of demo and test share types
huguesdk Oct 4, 2023
e70d290
[IMP] add new cooperator register view
huguesdk Oct 4, 2023
81a4a9a
[IMP] update translations
huguesdk Oct 4, 2023
4f1157b
[IMP] improve contact views
huguesdk Oct 6, 2023
52dfac1
[FIX] fix some multi-company issues
huguesdk Oct 9, 2023
772320b
[IMP] cooperator: static test helpers
robinkeunen Oct 10, 2023
6533400
[IMP] cooperator: share.line share_number cannot be negative
carmenbianca Oct 19, 2023
da04134
[REF] cooperator: Create total shares utility methods on res.partner
carmenbianca Oct 19, 2023
e548d25
[IMP] cooperator: Don't send attachment if no remaining shares
huguesdk Nov 29, 2023
466a6f5
[FIX] display error in case no default share found
huguesdk Nov 22, 2023
93ad7f6
[MOV] rename migrations directory
huguesdk Nov 29, 2023
41e2384
[IMP] update readme fragments
huguesdk Nov 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
226 changes: 226 additions & 0 deletions cooperator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
===========
Cooperators
===========

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fcooperative-lightgray.png?logo=github
:target: https://github.com/OCA/cooperative/tree/14.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
:alt: Translate me on Weblate

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

Manage cooperators of a cooperative.

A basic flow can be the following:

- Create subscription request for a person (moral or physical)
- Validate subscription request, a capital release request (an invoice: `account.move`).
This invoice is sent to the future cooperator.
- Payment of the cooperator is registered and the capital Release
request is marked as paid.
- A new cooperator (a special partner) is created, and the right type
and amount of share is linked to this new cooperator.
- The new cooperator appears in the Cooperator Registry.

Features:

- Manage several share types
- Manage share subscription request
- Cooperators can be individuals or companies
- Get an up to date Cooperator Registry
- See shares of a cooperator on the partner view
- Manage departure of cooperators
- Manage conversion between different share type
- Send automatic mail to the future cooperator during the procedure
- Can be used with multi-company configuration
- Generate Cooperator Certificate and several reports about cooperators

Configurations:

- on the company, set a default payment term for the capital release requests.
- on the company, set the cooperator account.

**Table of contents**

.. 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).

A localization module is needed with this module.

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.

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.

A “Cooperative Memberships” page should be added to the ``res.partner`` form,
displaying all the cooperative memberships of the partner
(``cooperative_membership_ids``). The page should only be visible for users
that are both in the ``cooperator_group_user`` group and in the
``base.group_multi_company`` group (how to do this?). Should it display the
memberships of all companies or only the ones in which the user is “logged in”
(checked in the menu)? If all companies, there would be a conflict with the
``cooperative_membership_rule_company`` ``ir.rule``.

Changelog
=========

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

**Features**

- Each company now has their own mail templates for cooperator-related e-mails. If
no template is set, the default (global) template is used. (`#73 <https://github.com/OCA/cooperative/issues/73>`_)
- ir.sequences used by this module are no longer global; each company has its own
sequence for cooperator memberships. (`#74 <https://github.com/OCA/cooperative/issues/74>`_)
- Create subscription journal per company. (`#75 <https://github.com/OCA/cooperative/issues/75>`_)
- Improve multi-company consistency by setting ``company_id`` on records where
needed and adding the ``check_company`` flag on ``Many2one`` fields. (`#77 <https://github.com/OCA/cooperative/issues/77>`_)
- ir.rules for multi-company usage added. Users cannot access records of this
module if they are not members of the relevant company. (`#78 <https://github.com/OCA/cooperative/issues/78>`_)
- Move cooperative membership properties from ``res.partner`` to new
``cooperative.membership`` model and add company-dependent computed fields on
``res.partner`` for backward compatibility. (`#82 <https://github.com/OCA/cooperative/issues/82>`_)


14.0.1.6.0 (2023-02-23)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Removed all selection widgets. (`#55 <https://github.com/OCA/cooperative/issues/55>`_)


12.0.5.3.0 (2022-09-05)
~~~~~~~~~~~~~~~~~~~~~~~

**Improved Documentation**

- Adding USAGE.rst to inform that localization modules are necessary. (`#346 <https://github.com/coopiteasy/vertical-cooperative/issues/346>`_)


12.0.5.0.0 (2022-06-23)
~~~~~~~~~~~~~~~~~~~~~~~

**Deprecations and Removals**

- When no cooperator account is defined on the company, this module previously
defaulted to the account with code '416000'. This behaviour has been removed
because the code is Belgian-only. The functionality has been moved to
``l10n_be_cooperator``. (`#314 <https://github.com/coopiteasy/vertical-cooperative/issues/314>`_)


12.0.3.3.2 (2022-06-20)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Fix name computation crash (`#330 <https://github.com/coopiteasy/vertical-cooperative/issues/330>`_)

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**>`_.

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

Credits
=======

Authors
~~~~~~~

* Coop IT Easy SC

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

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Houssine Bakkali
* Robin Keunen
* Rémy Taymans
* Victor Champonnois
* Vincent Van Rossem
* Manuel Claeys Bouuaert
* Carmen Bianca Bakker
* hugues de keyzer

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/14.0/cooperator>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
8 changes: 8 additions & 0 deletions cooperator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: 2017 Open Architects Consulting SPRL
# SPDX-FileCopyrightText: 2018 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

from . import models
from . import report
from . import wizard
60 changes: 60 additions & 0 deletions cooperator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# SPDX-FileCopyrightText: 2013 - 2018 Open Architects Consulting SPRL
# SPDX-FileCopyrightText: 2018 Coop IT Easy SC
# SPDX-FileContributor: Houssine BAKKALI <[email protected]>
# SPDX-FileContributor: Robin Keunen <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

{
"name": "Cooperators",
"summary": "Manage your cooperators",
"version": "16.0.0.1.0",
"depends": [
"account",
"base_iban",
"mail",
"web",
# todo split into cooperator_partner_firstname
"partner_firstname",
# todo split into cooperator partner_contact_birthdate
"partner_contact_birthdate",
# todo split into cooperator_partner_contact_gender
"partner_contact_gender",
],
"author": "Coop IT Easy SC, Odoo Community Association (OCA)",
"category": "Cooperative management",
"website": "https://github.com/OCA/cooperative",
"license": "AGPL-3",
"data": [
"data/data.xml",
"security/res_groups.xml",
"security/ir.model.access.csv",
"security/ir_rule.xml",
"wizard/partner_create_subscription.xml",
"wizard/validate_subscription_request.xml",
"wizard/update_share_line.xml",
"views/subscription_request_view.xml",
"views/mail_template_view.xml",
"views/res_partner_view.xml",
"views/subscription_register_view.xml",
"views/operation_request_view.xml",
"views/account_move_views.xml",
"views/product_view.xml",
"views/res_company_view.xml",
"views/account_journal_views.xml",
"views/cooperative_membership_view.xml",
"views/menus.xml",
"report/reports.xml",
"report/layout.xml",
"report/report_invoice.xml",
"report/report_cooperator_certificate.xml",
"report/report_subscription_register.xml",
"report/report_cooperator_register.xml",
"data/mail_template_data.xml", # Must be loaded after reports
],
"demo": [
"demo/coop.xml",
"demo/users.xml",
],
"application": True,
}
29 changes: 29 additions & 0 deletions cooperator/data/data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
SPDX-FileCopyrightText: 2017 Open Architects Consulting SPRL
SPDX-FileCopyrightText: 2018 Coop IT Easy SC

SPDX-License-Identifier: AGPL-3.0-or-later
-->
<odoo noupdate="1">

<record model="ir.module.category" id="module_category_cooperator_management">
<field name="name">Cooperative Management</field>
<field name="description">Manage your cooperative.</field>
<field name="sequence">3</field>
</record>

<!-- Product -->
<record id="product_category_company_share" model="product.category">
<field name="name">Company Share</field>
</record>

<function model="res.company" name="_create_cooperator_sequences">
<function model="res.company" name="search" eval="[[]]" />
</function>

<function model="res.company" name="_init_cooperator_data">
<function model="res.company" name="search" eval="[[]]" />
</function>

</odoo>
Loading
Loading