Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6904 Vizualizări

Hello All,
I am facing a problem related to CSS load error pos_product.css defined in bundle 'point_of_sale.assets'

My Code Below:

<template id="assets" inherit_id="point_of_sale.assets">
<xpath
expr="." position="inside">
<link rel="stylesheet" href="/pos_product/static/src/css/pos_product.css" type="text/css"/> </xpath>
</template>

Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

I hope you have already found a solution. For anyone facing a similar error, the xpath expression and position should be changed as shown below: ​​

<template id="assets" inherit_id="point_of_sale.assets">
  
  <xpath expr="//link[@id='pos-stylesheet']" position="after">        
        <link rel="stylesheet" href="/pos_product/static/src/css/pos_product.css" type="text/css"/>    
    </xpath>
</template>
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
oct. 20
3153
1
feb. 19
6717
3
iun. 21
10693
0
apr. 16
3972
0
iun. 15
6693