Browse Source

[FIX] fix xpath

12.0-add-financial-risk
houssine 5 years ago
parent
commit
4588c9abd9
  1. 6
      easy_my_coop_fr/views/certificate_template.xml

6
easy_my_coop_fr/views/certificate_template.xml

@ -2,13 +2,13 @@
<odoo> <odoo>
<data> <data>
<template id="certificate_i18n_fr" inherit_id="easy_my_coop.cooperator_certificat_G001_document" name="French Layout Certificate"> <template id="certificate_i18n_fr" inherit_id="easy_my_coop.cooperator_certificat_G001_document" name="French Layout Certificate">
<xpath expr="//div[@name='label_coop_number']" position="replace">
<div name="label_coop_number" style="position:relative;top:35px;font-size:16;">
<xpath expr="//p[@name='label_coop_number']" position="replace">
<p name="label_coop_number" class="mt16">
<span>Ce document atteste de la souscription de parts sociales au capital de la SAS Coopérative à Capital Variable SuperQuinquin par </span> <span>Ce document atteste de la souscription de parts sociales au capital de la SAS Coopérative à Capital Variable SuperQuinquin par </span>
<b><span t-field="o.name"></span></b> <b><span t-field="o.name"></span></b>
<span>, enregistré(e) sous le <b>numéro de coopérateur </b></span> <span>, enregistré(e) sous le <b>numéro de coopérateur </b></span>
<span t-field="o.cooperator_register_number"></span> <span t-field="o.cooperator_register_number"></span>
</div>
</p>
</xpath> </xpath>
<xpath expr="//div[@name='total_table']" position="after"> <xpath expr="//div[@name='total_table']" position="after">

Loading…
Cancel
Save