Skip to Content

[FIX] iot_drivers: name print jobs without a space

Succeed 311m open
PR
#1373
PR Author
David Tran
Committer
David Tran
Commit
649cb80a27c1
Branch
19.0
Age
Up-time
Commit message
[FIX] iot_drivers: name print jobs without a space

The print server (CUPS) of Debian 12, in its version
2.4.2-3+deb12u10, ends with a segmentation fault (SIGSEGV) when a job
is started with a document name that has a space. The IoT Box named
the job and the document of every print "Odoo print job", so the
print server stopped each time the box tried to print and nothing
could be printed.

Now the job and its document are named "Odoo-print-job", which has
no space, so the print server keeps running and the box prints again.

(cherry picked from commit 312cd33c1e1b34007f6aa4d453a59251887b4158)
Build Log
Date Level Message
12/01/2026 02:12:52 PM INFO
Running on build host office2, build containers taken: the master 19/36, office2 11/12, office1 14/12; the master cannot take it: kept for build 227433, which may run on it alone
12/01/2026 02:12:52 PM INFO
Updated repository Viindoo-tvtmaaddons
12/01/2026 02:12:52 PM INFO
Updated repository Viindoo-erponline-enterprise
12/01/2026 02:12:52 PM INFO
Updated repository Viindoo-branding
12/01/2026 02:12:52 PM INFO
Cloned repository Viindoo-odoo
12/01/2026 02:12:52 PM INFO
At install tests: this pull request changes no frontend file, so it runs without /web:WebSuite.test_unit_desktop, /web:WebSuite.test_hoot, /web:WebSuite.test_qunit_desktop, /web:MobileWebSuite.test_unit_mobile, /im_livechat:ExternalTestSuite.test_external_livechat
12/01/2026 02:12:52 PM INFO
At install tests: this pull request changes iot_drivers, which is not an installable module here, so it runs the at install tests of every module
12/01/2026 02:12:52 PM INFO
Post install tests: this pull request changes no frontend file, so it runs without /web:WebSuite.test_unit_desktop, /web:WebSuite.test_hoot, /web:WebSuite.test_qunit_desktop, /web:MobileWebSuite.test_unit_mobile, /im_livechat:ExternalTestSuite.test_external_livechat
12/01/2026 02:12:52 PM INFO
Post install tests: 9 parallel builds balanced by the test time measured on 19.0, the longest about 158 minutes of tests
12/01/2026 02:28:13 PM INFO
Post install tests: no parallel build added, build host office2 has 20 of its 12 build containers taken