mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP]pms: add functionality sidebar buttons
This commit is contained in:
@@ -14,7 +14,7 @@ class PortalFolio(CustomerPortal):
|
||||
values["folio_count"] = (
|
||||
Folio.search_count(
|
||||
[
|
||||
("partner_id", "child_of", partner.id),
|
||||
("partner_id", "=", partner.id),
|
||||
]
|
||||
)
|
||||
if Folio.check_access_rights("read", raise_exception=False)
|
||||
@@ -67,7 +67,7 @@ class PortalFolio(CustomerPortal):
|
||||
return self._show_report(
|
||||
model=folio_sudo,
|
||||
report_type=report_type,
|
||||
report_ref="action_report_folio",
|
||||
report_ref="pms.action_report_folio",
|
||||
download=download,
|
||||
)
|
||||
values = self._folio_get_page_view_values(folio_sudo, access_token, **kw)
|
||||
|
||||
Reference in New Issue
Block a user