Skip to content
Extraits de code Groupes Projets
Valider 30adc157 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

[UPD] add place_requirement and other small fixes

parent e2067a2f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -107,6 +107,7 @@ class Training(models.Model):
)
place = fields.Char(string="Lieu de la formation")
place_detail = fields.Text(string="Détails du lieu")
place_requirement = fields.Text(string="Exigences du lieu")
company_id = fields.Many2one(
comodel_name="res.company",
string="Company",
......
......@@ -38,7 +38,7 @@
<div class="subblock">
<h3>ARTICLE 1 - OBJET ET CARACTERISTIQUES DE LA FORMATION</h3>
<p>
En exécution de la présente convention, l’organisme LE FILAMENT s’engage à organiser l’action de formation intitulée : <strong><t t-out="doc.course_id.name" /></strong>
En exécution de la présente convention, l’organisme <t t-out="doc.company_id.name" /> s’engage à organiser l’action de formation intitulée : <strong><t t-out="doc.course_id.name" /></strong>
</p>
<p>
<span class="text-decoration-underline">Nature de l’action au sens de l’article L.6313-1 du code du travail</span> :<br />
......@@ -85,6 +85,14 @@
<span t-field="doc.place" />
</td>
</tr>
<tr t-if="doc.training_type_id" style="border: 0px;">
<td style="width: 160px; border: 0px;">
Type de formation :
</td>
<td style="border: 0px;">
<span t-field="doc.training_type_id" />
</td>
</tr>
<tr>
<td style="width: 160px; border: 0px;">
Dates :
......@@ -111,6 +119,7 @@
</tr>
</tbody>
</table>
<span t-if="doc.place_requirement" t-esc="doc.place_requirement" />
</div>
<div class="subblock">
<h3>ARTICLE 3 – STAGIAIRES BENEFICIAIRES DE L’ACTION</h3>
......
......@@ -62,6 +62,7 @@
<field name="signin_function" required="1" />
<field name="place" required="1" />
<field name="place_detail" />
<field name="place_requirement" />
<field name="meanings" />
<field name="equipment" />
</group>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter