This question has been flagged
476 Views

Hello,

i need your help because i tried a lot of things an nothing works.


I want do add my own document to the document selection of the Settings like e.g.  external_layout_boxed.


This works fine. I inherit my own selection and get the Document in the Preview.


But i have a problem with the SCSS Style.


I added my SCSS to the manifest:

...

    ],    'assets': {        'web.report_assets_common': [            '/sales_report/static/src/scss/report_own.scss',        ],    },

...

The SCSS have the following code:

.owncompany {    background-color: red;    font-size40px;}


I also added the report:

'data': [        "report/owncompany_report.xml",        "data/data.xml"    ],


The Style of the Report is only visible in the Preview in the Web-Frontend but in the PDF the style isnt working.


I tried a lot but nothing works. I checked my Report.URL in the System Parameters and all settings are fine.


Does anyone have another idea that I could check so that the style is also displayed in the PDF?

Thanks




 

Avatar
Discard