odoo/addons/website_membership/controllers
Martin Trigaux 10fce02eb0 [FIX] website_membership: access rules fixes
When searching on memberships, we use domain clauses in the format 'partner.x = y' where partner is a many2one to res.partner. The object res.partner has strict security rules for public users and this search will return zero result if not done with SUPERUSER_ID.
In addition, we need to access the list of products (membership_ids) in the domain to be sure we will retrieve only published membership (otherwise it would crash in the sort below).
2014-07-25 10:57:30 +02:00
..
__init__.py [IMP] create website_membership 2013-09-02 15:52:10 +02:00
main.py [FIX] website_membership: access rules fixes 2014-07-25 10:57:30 +02:00