#4537 (AttributeError: 'ActionRequest' object has no attribute 'exclude')
by Sharif Mehedi · in Developers
Summary
when I tried to use this dashboard layout in cosi, I got the AttributeError: that are coming from the element `ledger.JournalsOverview`
DashboardLayouts.clear();
add = DashboardLayouts.add_item;
add('default', _("Default dashboard"),
"""
welcome_messages
ledger.JournalsOverview
""")
Children
Comments
- 4 years, 4 months ago by Sharif Mehedi about #4537 (AttributeError: 'ActionRequest' object has no attribute 'exclude') : A quick solution looks like the following:
if isinstance(ar, ActionRequest): ar = self.request(parent=ar) but I am NOT sure if it's the right approach.