Premièrement j'ai modifié la ligne suivante dans le fichier views/point_of_sale.xml du module en question
1 2 3 4 5 6
|
<template id="index" inherit_id='point_of_sale.index' name="Custom Index">
<xpath expr="//link[@id='pos-stylesheet']" position="after">
<link rel="stylesheet" href="/pos_password_protected/static/src/css/pos_price_password.css" id="pos_password_protected"/>
</xpath>
</template> |
PAR
1 2 3 4 5 6
|
<template id="assets_backend" inherit_id='point_of_sale.assets' name="pos assets">
<xpath expr="//link[@id='pos-stylesheet']" position="after">
<link rel="stylesheet" href="/pos_password_protected/static/src/css/pos_price_password.css" id="pos_password_protected"/>
</xpath>
</template> |
Ensuite une autre erreur est apparu dans un autre fichier du module: celui du point_of_sale_view.xml
l'erreur signalait le xpath suivant:
<xpath expr="//group[@string='Features']" position="before">
Et moi en corrigeant j'ai remplacé le string par name d'ou le code:
<xpath expr="//group[@name='receipt']" position="before">
Partager