From 10d506a06d486203c3dd5630e53f321fa1eccf92 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Aug 2022 22:17:45 +0200 Subject: [PATCH] portal --- controllers/portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/portal.py b/controllers/portal.py index a53d090..dda6c58 100644 --- a/controllers/portal.py +++ b/controllers/portal.py @@ -73,7 +73,7 @@ class PortalOpendons(CustomerPortal): def portal_my_donations(self, page=1, date_begin=None, date_end=None, sortby=None, **kw): values = self._prepare_portal_layout_values() partner = request.env.user.partner_id - donation = request.env['donation.line'] + donation = request.env['donation.line'].sudo().search([]) domain = [ ('partner_id', '=',int(partner.id) )