Skip to content
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

Cannot get non grouped report out. #93

Open
gocamiot opened this issue Oct 24, 2023 · 0 comments
Open

Cannot get non grouped report out. #93

gocamiot opened this issue Oct 24, 2023 · 0 comments

Comments

@gocamiot
Copy link

Morning @RamezIssac ,

I am trying to get a list report out.
I would like to have multiple filters.

class ListOfDevicesNow(ReportView):
report_title = _("List of devices")
report_model = network_snapshot_1
# report_title = _("No-Group-By Report")
# date_field = "import_date"
date_field = "import_date"
group_by = "DeviceName"

columns = [
    "DeviceName",
    "Model",
    "DeviceSerialNumber",
    "InAD",
    "OsVerTxt",
    "AD_distinguishedName",
    "user_Email"
    # ComputationField.create(Sum, "quantity", verbose_name="Total quantity sold", is_summable=False),
    # ComputationField.create(Sum, "value", name="sum__value", verbose_name="Total Value sold $"),
]

Calling that gives me:
list

Its a long list with only DeviceName populated.

Can you help me to get going pls.

Have a blessed day mate.

Regards
Jakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant