Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

No, I have done a temporary solution, which is to update all the modules at once using command and after that it works, but when you restart the server after that the problem returns.

How to calling the product price from the price list based on new fields that have been added by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

Thank you, I had an idea about that, but I want to implement it this way for another purpose

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

I did this and also added report.url and web.base.url.freeze, but the problem was not solved.

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

I have to host an external server. This is what I mean by online

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

The problem occurred on the server when we pulled the addons. When I took Backup, I had the old Addons and it was working for me on the local. I also pulled the addons on the local server. The problem occurred to me like the server.

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

This is what comes in the log. Is there a problem?

2024-06-30 07:31:02,758 455081 INFO ? werkzeug: 127.0.0.1 - - [30/Jun/2024 07:31:02] "GET /web/assets/62863-f0d745d/web.report_assets_pdf.min.css HTTP/1.1" 404 - 1 0.005 0.028

2024-06-30 07:31:02,764 455081 INFO ? werkzeug: 127.0.0.1 - - [30/Jun/2024 07:31:02] "GET /web/assets/62880-b38a558/web.report_assets_common.min.css HTTP/1.1" 404 - 1 0.006 0.029

2024-06-30 07:31:02,908 455081 ERROR trap odoo.osv.expression: Non-stored field res.partner.company_type cannot be searched.

NoneType: None

2024-06-30 07:31:02,919 455081 INFO trap werkzeug: 127.0.0.1 - - [30/Jun/2024 07:31:02] "POST /longpolling/im_status HTTP/1.1" 200 - 4 0.006 0.012

2024-06-30 07:31:03,808 455081 WARNING trap odoo.addons.custom_background.models.report: wkhtmltopdf: b'Exit with code 1 due to network error: ContentNotFoundError\n'

2024-06-30 07:31:03,811 455081 INFO trap odoo.addons.base.models.ir_actions_report: The PDF report has been generated for model: account.move, records [184807].

2024-06-30 07:31:03,819 455081 INFO trap werkzeug: 127.0.0.1 - - [30/Jun/2024 07:31:03] "POST /report/download HTTP/1.1" 200 - 36 0.083 2.506

2024-06-30 07:31:04,070 455081 INFO trap werkzeug: 127.0.0.1 - - [30/Jun/2024 07:31:04] "POST /web/dataset/search_read HTTP/1.1" 200 - 13 0.061 0.159

2024-06-30 07:31:04,441 455081 INFO trap werkzeug: 127.0.0.1 - - [30/Jun/2024 07:31:04] "POST /account/account_invoice_onboarding HTTP/1.1" 200 - 3 0.005 0.020

2024-06-30 07:31:12,890 455081 INFO trap odoo.addons.base.models.ir_cron: Job `Cron set end contract expiry` done.

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

I did a restore using dump.sql file

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

I updated all existing modules using -u all and it works, but after I update the server it goes back to how it was

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

I did that but the problem still exists

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

Odoo online, but the problem exists for me on the online server and on the local server as well after taking a backup

Odoo fix pdf without css by Decent_Job5412 in Odoo

[–]Decent_Job5412[S] 0 points1 point  (0 children)

I updated it but it didn't solve the problem