Skip to content

Commit

Permalink
[FIX] *: Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu committed Oct 30, 2023
1 parent 5015e48 commit 81b5011
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
4 changes: 1 addition & 3 deletions pos_empty_home/demo/pos_empty_home.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<!-- Disable empty home on pos_config_main, because it can affect test tours -->
<record id="point_of_sale.pos_config_main" model="pos.config">
<field name="iface_empty_home" eval="False" />
</record>
</data>
</odoo>
10 changes: 5 additions & 5 deletions pos_report_session_summary/views/report_session_summary.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,25 @@
<td class="text-right">
<span
t-field="statement.balance_start"
t-field-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
t-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
/>
</td>
<td class="text-right">
<span
t-field="statement.total_entry_encoding"
t-field-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
t-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
/>
</td>
<td class="text-right">
<span
t-field="statement.balance_end_real"
t-field-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
t-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
/>
</td>
<td class="text-right">
<span
t-field="statement.difference"
t-field-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
t-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
/>
</td>
<td
Expand Down Expand Up @@ -145,7 +145,7 @@
<td class="text-right">
<span
t-field="line.amount"
t-field-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
t-options='{"widget": "monetary", "display_currency": "statement.currency_id"}'
/>
</td>
</tr>
Expand Down
Empty file added pos_reuse_pricelist/__init__.py
Empty file.
25 changes: 11 additions & 14 deletions pos_show_clock/views/pos_template.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<template
id="pos_show_clock_assets_backend"
name="pos_show_clock_assets_backend"
inherit_id="point_of_sale.assets"
>
id="pos_show_clock_assets_backend"
name="pos_show_clock_assets_backend"
inherit_id="point_of_sale.assets"
>

<xpath expr="." position="inside">
<link
rel="stylesheet"
href="/pos_show_clock/static/src/css/pos.css"
id="pos-stylesheet"
/>
rel="stylesheet"
href="/pos_show_clock/static/src/css/pos.css"
id="pos-stylesheet"
/>
<script
type="text/javascript"
src="/pos_show_clock/static/src/js/ChromeWidgets/Clock.js"
/>
type="text/javascript"
src="/pos_show_clock/static/src/js/ChromeWidgets/Clock.js"
/>
</xpath>
</template>

</data>
</odoo>

0 comments on commit 81b5011

Please sign in to comment.