diff --git a/membership_accessibility/__manifest__.py b/membership_accessibility/__manifest__.py index 01126d0..53940cc 100644 --- a/membership_accessibility/__manifest__.py +++ b/membership_accessibility/__manifest__.py @@ -22,7 +22,7 @@ "project", "hr_timesheet", "membership_hr_recruitment", - "membership_committee", + "membership_group", ], "data": ["security/membership_accessibility_security.xml", "views/views.xml"], "post_init_hook": "post_init_hook", diff --git a/membership_accessibility/models/res_users.py b/membership_accessibility/models/res_users.py index f97ca0c..51cf24e 100644 --- a/membership_accessibility/models/res_users.py +++ b/membership_accessibility/models/res_users.py @@ -18,7 +18,6 @@ def SELF_READABLE_FIELDS(self): "membership_stop", "membership_cancel", "member_lines", - "section_membership_ids", - "committee_membership_ids", + "membership_group_member_ids", "subscription_ids", ] diff --git a/membership_accessibility/views/views.xml b/membership_accessibility/views/views.xml index d05ffa7..6e8f8eb 100644 --- a/membership_accessibility/views/views.xml +++ b/membership_accessibility/views/views.xml @@ -53,17 +53,15 @@ - - - - - - - - - - - + + + + + + + + + diff --git a/membership_accessibility_mass_mailing_membership_group/__init__.py b/membership_accessibility_mass_mailing_membership_group/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/membership_accessibility_mass_mailing_membership_group/__manifest__.py b/membership_accessibility_mass_mailing_membership_group/__manifest__.py new file mode 100644 index 0000000..0b0995a --- /dev/null +++ b/membership_accessibility_mass_mailing_membership_group/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2023 Anjeel Haria +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Membership Accessibility Mass Mailing Membership Group", + "summary": "Adds options for members to see whether they are on the mailing list of membership groups", + "version": "16.0.1.0.0", + "category": "Membership", + "author": "Onestein", + "website": "https://www.onestein.eu", + "license": "AGPL-3", + "application": False, + "installable": True, + "auto_install": True, + "depends": ["membership_accessibility", "mass_mailing_membership_group"], + "data": ["views/views.xml"], +} diff --git a/membership_accessibility_mass_mailing_membership_group/views/views.xml b/membership_accessibility_mass_mailing_membership_group/views/views.xml new file mode 100644 index 0000000..2e26e01 --- /dev/null +++ b/membership_accessibility_mass_mailing_membership_group/views/views.xml @@ -0,0 +1,14 @@ + + + + res.users.preferences.form.simplified.inherit + res.users + + + + + + + + + diff --git a/package.txt b/package.txt index 0ddae04..b56993a 100644 --- a/package.txt +++ b/package.txt @@ -145,6 +145,7 @@ l10n_nl_hr_recruitment l10n_nl_rgs_usability mass_mailing_force_dedicated_server membership_accessibility +membership_accessibility_mass_mailing_membership_group membership_accessibility_website_project_role_members multi_company_disable oca/account_asset_management