Skip to content

Commit 86434e2

Browse files
committed
[IMP] sale_blanket_order: pre-commit auto fixes
1 parent 336bb9b commit 86434e2

File tree

4 files changed

+30
-39
lines changed

4 files changed

+30
-39
lines changed

sale_blanket_order/report/report.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<record id="report_blanket_order" model="ir.actions.report">
54
<field name="name">Blanket Order</field>
65
<field name="model">sale.blanket.order</field>
@@ -14,5 +13,4 @@
1413
/>
1514
<field name="binding_type">report</field>
1615
</record>
17-
1816
</odoo>

sale_blanket_order/report/templates.xml

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
t-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": True, "phone_icons": True}'
1313
/>
1414
<p t-if="doc.partner_id.vat">VAT: <span
15-
t-field="doc.partner_id.vat"
16-
/></p>
15+
t-field="doc.partner_id.vat"
16+
/></p>
1717
</div>
1818
</div>
1919
<h2>
@@ -118,48 +118,45 @@
118118
</tbody>
119119
</table>
120120
<div class="clearfix">
121-
<div class="row">
122-
<div
121+
<div class="row">
122+
<div
123123
t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto"
124124
>
125-
126-
127-
<table class="table table-sm">
128-
<tr class="border-black">
129-
<td>
130-
<strong>Subtotal</strong>
131-
</td>
132-
<td class="text-end">
133-
<span
125+
<table class="table table-sm">
126+
<tr class="border-black">
127+
<td>
128+
<strong>Subtotal</strong>
129+
</td>
130+
<td class="text-end">
131+
<span
134132
t-field="doc.amount_untaxed"
135133
t-options='{"widget": "monetary", "display_currency": doc.currency_id}'
136134
/>
137-
</td>
138-
</tr>
139-
<tr>
140-
<td>Taxes</td>
141-
<td class="text-end">
142-
<span
135+
</td>
136+
</tr>
137+
<tr>
138+
<td>Taxes</td>
139+
<td class="text-end">
140+
<span
143141
t-field="doc.amount_tax"
144142
t-options='{"widget": "monetary", "display_currency": doc.currency_id}'
145143
/>
146-
</td>
147-
</tr>
148-
<tr class="border-black">
149-
<td>
150-
<strong>Total</strong>
151-
</td>
152-
<td class="text-end">
153-
<span
144+
</td>
145+
</tr>
146+
<tr class="border-black">
147+
<td>
148+
<strong>Total</strong>
149+
</td>
150+
<td class="text-end">
151+
<span
154152
t-field="doc.amount_total"
155153
t-options='{"widget": "monetary", "display_currency": doc.currency_id}'
156154
/>
157-
</td>
158-
</tr>
159-
</table>
160-
161-
</div>
162-
</div>
155+
</td>
156+
</tr>
157+
</table>
158+
</div>
159+
</div>
163160
</div>
164161

165162
<p t-field="doc.note" />

sale_blanket_order/views/sale_blanket_order_line_views.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<!-- VIEWS -->
54

65
<record id="sale_blanket_order_line_tree" model="ir.ui.view">
@@ -178,5 +177,4 @@
178177
sequence="21"
179178
parent="sale.sale_order_menu"
180179
/>
181-
182180
</odoo>

sale_blanket_order/views/sale_blanket_order_views.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<!-- VIEWS -->
54

65
<record id="view_blanket_order_tree" model="ir.ui.view">
@@ -373,5 +372,4 @@
373372
sequence="20"
374373
action="act_open_blanket_order_view"
375374
/>
376-
377375
</odoo>

0 commit comments

Comments
 (0)