mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
base_report_to_printer: fix string
This commit is contained in:
@@ -15,7 +15,7 @@ class PrintingJob(models.Model):
|
||||
|
||||
name = fields.Char(help="Job name.")
|
||||
active = fields.Boolean(
|
||||
default=True, help="Unchecked if the job is purged from cups."
|
||||
default=True, help="Unchecked if the job is purged from CUPS."
|
||||
)
|
||||
job_id_cups = fields.Integer(
|
||||
string="Job ID", required=True, help="CUPS id for this job."
|
||||
@@ -40,11 +40,15 @@ class PrintingJob(models.Model):
|
||||
help="Percentage of progress for this job.",
|
||||
)
|
||||
time_at_creation = fields.Datetime(
|
||||
required=True, help="Date and time of creation for this job."
|
||||
string="Creation Date",
|
||||
required=True,
|
||||
help="Date and time of creation of this job.",
|
||||
)
|
||||
time_at_processing = fields.Datetime(
|
||||
string="Processing Date", help="Date and time of process for this job."
|
||||
)
|
||||
time_at_processing = fields.Datetime(help="Date and time of process for this job.")
|
||||
time_at_completed = fields.Datetime(
|
||||
help="Date and time of completion for this job."
|
||||
string="Completion Date", help="Date and time of completion for this job."
|
||||
)
|
||||
job_state = fields.Selection(
|
||||
selection=[
|
||||
|
||||
@@ -20,7 +20,7 @@ async function cupsReportActionHandler(action, options, env) {
|
||||
if (result) {
|
||||
env.services.notification.add(_t("Successfully sent to printer!"));
|
||||
} else {
|
||||
env.services.notification.add(_t("Could not sent to printer!"));
|
||||
env.services.notification.add(_t("Could not send to printer!"));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user