Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2178 มุมมอง

Dear all,


Due to a previous unfortunate incident, the attachments in odoo14 have been deleted. (including css or javascript, RFQ and Order pdfs) As a result, one or more css parameters may have been deleted, which are responsible for loading the stylesheet of the Purchase order PDF.


Use case:


If any report document type is selected (including box, clean, background), the css elements of the purchase order will not be generated, ie. in all cases a css-free PDF will be generated when the PDF is compiled on the odoo frontend.


The following is done:


  • reinstalling odoo website and purchasing module

  • run pip3 requirements

  • double-check: unclosed html tags


Please review the purchase order by clicking the link below.


Nyomtatás = Print pdf

Letöltés = Download pdf


Purchase order (without CSS):


https://bp18.online/my/purchase/6?model=purchase.order&res_id=6&access_token=2ed0f97e-3de5-41fc-be9e-2b6844950a6a


My questions are as follows:


  • Are the scss files in the following path only responsible for displaying the css elements of the report template?

  • How can I restore the original css load?


/ usr / lib / python3 / dist-packages / odoo / addons / web / static / src / scss



Build: Odoo 14.0-20210322

Distributor ID: Ubuntu

Description: Ubuntu 20.04.2 LTS

Release: 20.04

Codename: focal


Thank you so much,

Géza

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
RECEIVE PRODUCTS NOT SHOWING ODOO 14 แก้ไขแล้ว
1
พ.ย. 22
2610
0
เม.ย. 22
1906
Header and footer not showing in PDF แก้ไขแล้ว
11
ต.ค. 24
29974
3
ต.ค. 23
18317
0
ต.ค. 22
2284