Skip to content

Commit

Permalink
[FIX] *: Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Saran440 committed Nov 3, 2023
1 parent 6b252d9 commit 7eef53d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hr_expense_petty_cash/views/petty_cash_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<field name="name">petty.cash.list</field>
<field name="model">petty.cash</field>
<field name="arch" type="xml">
<tree string="Petty Cash">
<tree>
<field name="partner_id" />
<field name="account_id" />
<field name="journal_id" />
Expand Down
7 changes: 2 additions & 5 deletions hr_expense_sequence/report/report_expense_sheet.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id='report_expense_sheet' inherit_id="hr_expense.report_expense_sheet">
<xpath expr="//h2" position="replace">
<h2>
Expenses Report
<span t-field="o.number" />
</h2>
<xpath expr="//h2" position="inside">
<span t-field="o.number" />
</xpath>
</template>
</odoo>
2 changes: 1 addition & 1 deletion hr_expense_sheet_payment_state/views/hr_expense_views.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- pylint:disable=dangerous-view-replace-wo-priority -->
<odoo>
<record id="view_hr_expense_sheet_tree" model="ir.ui.view">
<field name="name">hr.expense.sheet.tree.payment.state</field>
Expand All @@ -21,6 +20,7 @@
<record id="view_hr_expense_sheet_form" model="ir.ui.view">
<field name="name">hr.expense.sheet.form.payment.state</field>
<field name="model">hr.expense.sheet</field>
<field name="priority">100</field>
<field name="inherit_id" ref="hr_expense.view_hr_expense_sheet_form" />
<field name="arch" type="xml">
<xpath expr="//widget[@name='web_ribbon']" position="replace">
Expand Down

0 comments on commit 7eef53d

Please sign in to comment.