[FIX] event: print registrations without name
Before this commit, trying to print a registration without a name specified (not required), was failing Fixes odoo/odoo#38564 Replace and closes odoo/odoo#38582 Courtesy of Swapnesh Shah closes odoo/odoo#38821 X-original-commit: a21a81e98c569098d254781318b0030f30b02181 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
name="event.event_registration_report_template_badge"
|
||||
file="event.event_registration_report_template_badge"
|
||||
paperformat="event.paperformat_euro_lowmargin"
|
||||
print_report_name="'Registration Event - %s' % (object.name).replace('/','')"
|
||||
print_report_name="'Registration Event - %s' % (object.name or 'Attendee').replace('/','')"
|
||||
/>
|
||||
|
||||
<report
|
||||
|
||||
Reference in New Issue
Block a user