Skip to content
Extraits de code Groupes Projets
Valider af685ebb rédigé par Juliana's avatar Juliana
Parcourir les fichiers

Add unité template + modif header compo

parent e1a84c5b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<field name="page_height">0</field> <field name="page_height">0</field>
<field name="page_width">0</field> <field name="page_width">0</field>
<field name="orientation">Landscape</field> <field name="orientation">Landscape</field>
<field name="margin_top">30</field> <field name="margin_top">40</field>
<field name="margin_bottom">32</field> <field name="margin_bottom">32</field>
<field name="margin_left">7</field> <field name="margin_left">7</field>
<field name="margin_right">7</field> <field name="margin_right">7</field>
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
<template id="report_composition_document"> <template id="report_composition_document">
<t t-call="ap_report.external_layout_spe"> <t t-call="ap_report.external_layout_spe">
<t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)" /> <t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)" />
<h1 class="mt0 text-center">Compositions</h1>
<div class="page"> <div class="page">
<div class="row"> <div class="row">
<div class="col-8" name="div_outgoing_address"> <div class="col-8" name="div_outgoing_address">
...@@ -49,7 +48,6 @@ ...@@ -49,7 +48,6 @@
<br /> <br />
<t t-foreach="doc.sale_project_ids" t-as="project"> <t t-foreach="doc.sale_project_ids" t-as="project">
<!-- <div class="col-12">-->
<div style="page-break-after: always;"> <div style="page-break-after: always;">
<div class="row mt32 mb32" name="projets"> <div class="row mt32 mb32" name="projets">
<div class="col-12"> <div class="col-12">
...@@ -166,8 +164,6 @@ ...@@ -166,8 +164,6 @@
</table> </table>
</div> </div>
</t> </t>
<!-- </div>-->
<!-- <p ></p>-->
</div> </div>
</div> </div>
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<t <t
t-set="product_category" t-set="product_category"
t-value="product_category+[l.product_id.categ_id]" t-value="product_category+[l.product_id.categ_id.parent_id]"
/> />
</t> </t>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<t t-foreach="o.move_ids_without_package" t-as="l"> <t t-foreach="o.move_ids_without_package" t-as="l">
<t t-if="category.id==l.product_id.categ_id.id"> <t t-if="category.id==l.product_id.categ_id.parent_id.id">
<tr> <tr>
<td /> <td />
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
t-if="l.state == 'done'" t-if="l.state == 'done'"
t-field="l.qty_done" t-field="l.qty_done"
/> />
<span t-field="l.product_uom"/>
</td> </td>
</tr> </tr>
</t> </t>
......
...@@ -104,7 +104,12 @@ ...@@ -104,7 +104,12 @@
t-att-style="report_header_style" t-att-style="report_header_style"
> >
<div class="row"> <div class="row">
<div class="col-12 mb4 text-right"> <div class="col-4">
</div>
<div class="col-4 text-center">
<h1 class="mt0 text-center">Compositions</h1>
</div>
<div class="col-4 mb4 text-right">
<img <img
t-if="company.logo" t-if="company.logo"
t-att-src="image_data_uri(company.logo)" t-att-src="image_data_uri(company.logo)"
......
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