mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[ADD] access right for wizrard print attachment and fix trans format
This commit is contained in:
@@ -42,14 +42,12 @@ class PrintAttachment(models.TransientModel):
|
||||
)
|
||||
if errors:
|
||||
return {
|
||||
"warning": _(
|
||||
"Following attachments could not be printed:\n\n%s"
|
||||
% "\n".join(
|
||||
[
|
||||
_("%s (%s copies)") % (err.record_name, err.copies)
|
||||
for err in errors
|
||||
]
|
||||
)
|
||||
"warning": _("Following attachments could not be printed:\n\n%s")
|
||||
% "\n".join(
|
||||
[
|
||||
_("%s (%s copies)") % (err.record_name, err.copies)
|
||||
for err in errors
|
||||
]
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user