Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion report_aeroo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{
"name": "Aeroo Reports",
"version": "19.0.1.0.0",
"version": "19.0.1.1.0",
"category": "Generic Modules/Aeroo Reports",
"summary": "Enterprise grade reporting solution",
"author": "Alistek", # pylint: disable=manifest-required-author
Expand Down
4 changes: 3 additions & 1 deletion report_aeroo/report_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ class ReportAerooAbstract(models.AbstractModel):

def __filter(self, val):
if isinstance(val, models.BaseModel) and val:
return val._compute_display_name()
# Leemos display_name; llamar _compute_display_name() directo dispara
# un write() real que rompe con usuarios sin permiso (p. ej. res.country).
return val[:1].display_name
return _filter(val)

# Extra Functions ==================================================
Expand Down
Loading