This question has been flagged

Printing the labels with Transfer Quantities works only in Draft state. It creates a blank PDF when in Ready or Done state. It only works if I choose Custom ​Quantity.
I tried reinstalling the stock module but still creates a blank PDF.
Is there a way to solve it or at least debug the problem?

Edited: Here is my odoo log output when printing the labels in Custom Quantity 

2022-08-07 12:18:19,839 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:19] "POST /web/dataset/call_kw/product .label.layout/read HTTP/1.1" 200 - 5 0.004 0.011
2022-08-07 12:18:28,393 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:28] "POST /longpolling/poll HTTP/1.1" 200 - 13 0.013 50.384
2022-08-07 12:18:30,209 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:30] "POST /longpolling/im_status HTTP/1.1" 200 - 5 0.005 0.013
2022-08-07 12:18:50,380 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:50] "POST /web/dataset/call_button HTTP/1.1" 200 - 9 0.008 0.017
2022-08-07 12:18:50,841 13572 INFO test1 odoo.http: called ignoring args
2022-08-07 12:18:53,412 13572 INFO ? werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:53] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 200 - - - -
2022-08-07 12:18:53,426 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:53] "GET /web/assets/debug/web .report_assets_common.js HTTP/1.1" 200 - 3 0.003 0.013
2022-08-07 12:18:53,456 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:53] "GET /web/assets/debug/web .report_assets_common.css HTTP/1.1" 200 - 3 0.005 0.042
2022-08-07 12:18:53,457 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:53] "GET /web/assets/debug/web .assets_common.js HTTP/1.1" 200 - 3 0.004 0.043
2022-08-07 12:18:53,518 13572 INFO ? werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:53] "GET /nati_arabic_font/static/src/fonts/Almarai/Almarai-Regular.woff HTTP/1.1" 200 - - - -
2022-08-07 12:18:53,525 13572 INFO ? werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:53] "GET /nati_arabic_font/static/src/fonts/Almarai/Almarai-Light.woff HTTP/1.1" 200 - - - -
2022-08-07 12:18:55,570 13572 INFO ? werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:55] "GET /nati_arabic_font/static/src/fonts/Almarai/Almarai-Bold.woff HTTP/1.1" 200 - - - -
2022-08-07 12:18:55,570 13572 INFO ? werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:55] "GET /nati_arabic_font/static/src/fonts/Almarai/Almarai-Extrabold.woff HTTP/1.1" 200 - - - -
2022-08-07 12:18:57,859 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:57] "GET /web/assets/debug/web .report_assets_common.css HTTP/1.1" 304 - 3 0.002 0.007
2022-08-07 12:18:58,199 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:58] "POST /report/download HTTP/1.1" 200 - 58 0.050 7.326
and when printing the labels in Transfer Quantities.
2022-08-07 12:18:58,571 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:18:58] "POST /web/dataset/call_kw/product .label.layout/read HTTP/1.1" 200 - 5 0.006 0.008
2022-08-07 12:19:18,871 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:18] "POST /longpolling/poll HTTP/1.1" 200 - 9 0.012 50.025
2022-08-07 12:19:21,210 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:21] "POST /longpolling/im_status HTTP/1.1" 200 - 5 0.010 0.011
2022-08-07 12:19:25,922 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:25] "POST /web/dataset/call_kw/product .label.layout/write HTTP/1.1" 200 - 5 0.003 0.015
2022-08-07 12:19:26,262 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:26] "POST /web/dataset/call_kw/product .label.layout/read HTTP/1.1" 200 - 5 0.004 0.011
2022-08-07 12:19:26,656 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:26] "POST /web/dataset/call_button HTTP/1.1" 200 - 30 0.035 0.029
2022-08-07 12:19:27,015 13572 INFO test1 odoo.http: called ignoring args
2022-08-07 12:19:29,548 13572 INFO ? werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:29] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 200 - - - -
2022-08-07 12:19:29,565 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:29] "GET /web/assets/debug/web .report_assets_common.css HTTP/1.1" 200 - 3 0.002 0.018
2022-08-07 12:19:29,590 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:29] "GET /web/assets/debug/web .report_assets_common.js HTTP/1.1" 200 - 3 0.003 0.041
2022-08-07 12:19:29,592 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:29] "GET /web/assets/debug/web .assets_common.js HTTP/1.1" 200 - 3 0.009 0.037
2022-08-07 12:19:29,879 13572 INFO test1 werkzeug: 127.0.0.1 - - [07/Aug/2022 12:19:29] "POST /report/download HTTP/1.1" 200 - 49 0.030 2.852
Avatar
Discard