-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
[WIP] Show associate members in website member listings #56
base: 14.0
Are you sure you want to change the base?
Conversation
We have this failure in pre-commit.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me, obviously I wrote it, but temporary workaround until we can get invoicing to individual members by line rather than invoice.
"member_lines.date_from", | ||
"associate_member", | ||
) | ||
def _compute_membership_state(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbidoul When we deploy it might pay to run this function in a shell session.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed a sudo here causing access errors.
# get google maps localization of partners | ||
google_map_partner_ids = [] | ||
if request.website.is_view_active("website_membership.opt_index_google_map"): | ||
google_map_partner_ids = Partner.search( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
google_map_partner_ids = Partner.search( | |
google_map_partner_ids = Partner.sudo().search( |
In order to fix the membership on OCA website we can merge this module made by @gdgellatly
As discussed here : OCA/vertical-association#122 another solution may be better but it's not done yet.