Skip to content

Commit

Permalink
[LINT] fix lints errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GabbasovDinar authored and Ildar committed May 24, 2018
1 parent da48ec1 commit 68c80f0
Show file tree
Hide file tree
Showing 55 changed files with 16 additions and 112 deletions.
2 changes: 0 additions & 2 deletions pos_cashier_select/views/views.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="assets_backend" name="pos_choosing_cashier assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/pos_cashier_select/static/src/css/styles.css"/>
Expand All @@ -12,5 +11,4 @@
<script type="text/javascript" src="/pos_cashier_select/static/src/js/tour.js"></script>
</xpath>
</template>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_category_multi/template.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend" name="pos_category_multi_assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_category_multi/static/src/js/db.js"></script>
Expand All @@ -12,5 +11,4 @@
<script type="text/javascript" src="/pos_category_multi/static/src/js/tour.js"></script>
</xpath>
</template>
</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_category_multi/view.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<openerp>
<data>
<record id="product_template_form_view" model="ir.ui.view">
<field name="name">product.template.form.inherit.pos_category_ids</field>
<field name="model">product.template</field>
Expand All @@ -14,5 +13,4 @@
</field>
</field>
</record>
</data>
</openerp>
4 changes: 2 additions & 2 deletions pos_debranding/views.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp><data>
<openerp>
<template id="index" inherit_id="point_of_sale.index">
<xpath expr="//title" position="replace">
<title>POS</title>
</xpath>
</template>
</data></openerp>
</openerp>
2 changes: 0 additions & 2 deletions pos_debt_notebook/data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

<template id="assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
Expand All @@ -15,5 +14,4 @@
</xpath>
</template>

</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_debt_notebook/views.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>


<!-- RES PARTNER -->
Expand Down Expand Up @@ -125,5 +124,4 @@
</field>
</record>

</data>
</openerp>
2 changes: 1 addition & 1 deletion pos_debt_notebook/views/pos_debt_report_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<field name="name">report.pos.debt.tree</field>
<field name="model">report.pos.debt</field>
<field name="arch" type="xml">
<tree string="Point of Sale Analysis">
<tree>
<field name="partner_id"/>
<field name="product_list"/>
<field name="date"/>
Expand Down
2 changes: 0 additions & 2 deletions pos_debt_notebook_sync/data/base_action_rule.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<odoo>
<data>
<!-- call notify_debt_updates() -->
<record id="action_notify_pos_about_debt_updates" model="ir.actions.server">
<field name="name">Notify POS about Debt updates</field>
Expand Down Expand Up @@ -68,5 +67,4 @@
</record>


</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_debt_notebook_sync/views/template.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="assets_backend" name="pos_debt_notebook_sync assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_debt_notebook_sync/static/src/js/sync.js"></script>
</xpath>
</template>
</data>
</odoo>
4 changes: 2 additions & 2 deletions pos_details_custom/views.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp><data>
<openerp>

<template id="report_detailsofsales" inherit_id="point_of_sale.report_detailsofsales">
<xpath expr="//table[1]" position="replace">
Expand All @@ -26,4 +26,4 @@
</xpath>
</template>

</data></openerp>
</openerp>
4 changes: 2 additions & 2 deletions pos_disable_payment/views.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp><data>
<openerp>

<template id="assets_backend" name="pos_disable_payment assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
Expand Down Expand Up @@ -32,4 +32,4 @@
</field>
</record>

</data></openerp>
</openerp>
4 changes: 2 additions & 2 deletions pos_disable_restore_orders/views.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp><data>
<openerp>

<!-- since saas-6:
<template id="assets_backend" name="pos_disable_payment assets" inherit_id="point_of_sale.assets">
Expand All @@ -10,4 +10,4 @@
</xpath>
</template>

</data></openerp>
</openerp>
2 changes: 0 additions & 2 deletions pos_discount_base/views/template.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend" name="POS restaurant base" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_discount_base/static/lib/js/discount.js"></script>
</xpath>
</template>
</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_discount_total/data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend" name="pos assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_discount_total/static/src/js/pos.js"></script>
Expand All @@ -14,5 +13,4 @@
<script type="text/javascript" src="/pos_discount_total/static/src/js/tour.js"></script>
</xpath>
</template>
</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_fiscal_current/templates.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- POS -->
<template id="assets_backend" name="pos_fiscal_current assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
Expand All @@ -10,5 +9,4 @@
<link rel="stylesheet" href="/pos_fiscal_current/static/src/css/pos_fc.css"/>
</xpath>
</template>
</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_fiscal_floor/views.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_restaurant_floor_form">
<field name="name">restaurant.floor.form.view.inherit</field>
<field name="model">restaurant.floor</field>
Expand All @@ -19,5 +18,4 @@
</xpath>
</template>

</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_invoice_pay/actions/base_action_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).-->

<odoo>
<data>

<record id="invoice_update_pos_action" model="base.action.rule">
<field name="name">Update Invoices</field>
Expand Down Expand Up @@ -37,5 +36,4 @@
<field name="server_action_ids" eval="[(6, 0, [ref('action_update_pos_sale_orders')])]"/>
</record> -->

</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_invoice_pay/actions/ir_action_server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).-->

<openerp>
<data>
<record id="action_update_pos_invoices" model="ir.actions.server">
<field name="name">Update pos invoices</field>
<field name="model_id" ref="account.model_account_invoice"/>
Expand All @@ -23,5 +22,4 @@
</record>


</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_invoice_pay/data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).-->

<odoo>
<data>
<template id="assets_backend" name="pos_invoice_pay" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/pos_invoice_pay/static/src/css/styles.css"/>
<script type="text/javascript" src="/pos_invoice_pay/static/src/js/main.js"></script>
</xpath>
</template>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_invoice_pay/report/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).-->

<openerp>
<data>
<template id="pos_invoice_pay_report" inherit_id="point_of_sale.report_saledetails">
<xpath expr="//div[@class='page']/table[position()=3]" position="after">
<br/>
Expand Down Expand Up @@ -33,5 +32,4 @@
</table>
</xpath>
</template>
</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_invoice_pay/views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).-->

<odoo>
<data>
<record model="ir.ui.view" id="view_pos_config_form">
<field name="name">pos.config.form.view.inherit</field>
<field name="model">pos.config</field>
Expand All @@ -20,5 +19,4 @@
</xpath>
</field>
</record>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_keyboard/data.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

<template id="assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_keyboard/static/src/js/pos.js"></script>
</xpath>
</template>

</data>
</openerp>
2 changes: 0 additions & 2 deletions pos_longpolling/views/pos_longpolling_template.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="point_of_sale_assets" name="pos_longpolling assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_longpolling/static/src/js/pos_longpolling.js"></script>
Expand All @@ -12,5 +11,4 @@
<script type="text/javascript" src="/pos_longpolling/static/src/js/test_longpoll_pos.js"></script>
</xpath>
</template>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_longpolling/views/pos_longpolling_view.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="view_pos_config_form">
<field name="name">pos.config.form.view.inherit</field>
<field name="model">pos.config</field>
Expand Down Expand Up @@ -41,5 +40,4 @@
</xpath>
</field>
</record>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_mobile/views/pos_mobile_template.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="pos_assets" name="pos_mobile assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/pos_mobile/static/src/css/swiper.css"/>
Expand Down Expand Up @@ -61,5 +60,4 @@ if (!odoo.is_mobile){
<script type="text/javascript" src="/pos_mobile/static/src/js/tour.js"></script>
</xpath>
</template>
</data>
</odoo>
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="pos_restaurant_assets" name="pos_mobile_restaurant assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/pos_mobile_restaurant/static/src/css/restaurant.css"/>
Expand Down Expand Up @@ -28,5 +27,4 @@
<script type="text/javascript" src="/pos_mobile_restaurant/static/src/js/tour.js"></script>
</xpath>
</template>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_mobile_restaurant/views/pos_mobile_restaurant_view.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="view_pos_config_form">
<field name="name">pos.config.form.view.inherit</field>
<field name="model">pos.config</field>
Expand All @@ -21,5 +20,4 @@
</xpath>
</field>
</record>
</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_multi_session/demo/demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->

<odoo>
<data>
<record id="demo_multi_session" model="pos.multi_session">
<field name="name">multi session demo</field>
</record>
Expand Down Expand Up @@ -48,5 +47,4 @@
<field name="groups_id" eval="[(4,ref('point_of_sale.group_pos_user'))]"/>
</record>

</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_multi_session/multi_session_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->

<odoo>
<data>

<record id="multi_session_form" model="ir.ui.view">
<field name="name">pos.multi_session.form</field>
Expand Down Expand Up @@ -39,5 +38,4 @@

<menuitem id="menu_pos_ms_settings" name="Multi-sessions" parent="point_of_sale.menu_point_config_product" sequence="25" action="action_multi_session_form" groups="base.group_system"/>

</data>
</odoo>
2 changes: 0 additions & 2 deletions pos_multi_session/views/pos_multi_session_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->

<odoo>
<data>
<template id="point_of_sale_assets" name="pos_multi_session assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_multi_session/static/src/js/pos_multi_session.js"></script>
Expand Down Expand Up @@ -121,5 +120,4 @@
</field>
</record>

</data>
</odoo>
Loading

0 comments on commit 68c80f0

Please sign in to comment.