Skip to content

Commit

Permalink
*: pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Oct 28, 2023
1 parent 2955367 commit 957bea0
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 24 deletions.
2 changes: 1 addition & 1 deletion helpdesk_mgmt/views/helpdesk_ticket_category_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<field name="name">view.helpdesk_category.tree</field>
<field name="model">helpdesk.ticket.category</field>
<field name="arch" type="xml">
<tree string="Team">
<tree>
<field name="sequence" widget="handle" />
<field name="name" />
</tree>
Expand Down
2 changes: 1 addition & 1 deletion helpdesk_mgmt/views/helpdesk_ticket_channel_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<field name="name">view.helpdesk_channel.tree</field>
<field name="model">helpdesk.ticket.channel</field>
<field name="arch" type="xml">
<tree string="Team">
<tree>
<field name="sequence" widget="handle" />
<field name="name" />
</tree>
Expand Down
2 changes: 1 addition & 1 deletion helpdesk_mgmt/views/helpdesk_ticket_stage_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<field name="name">helpdesk.ticket.stage.tree</field>
<field name="model">helpdesk.ticket.stage</field>
<field name="arch" type="xml">
<tree string="Ticket Stages">
<tree>
<field name="sequence" widget="handle" />
<field name="name" />
<field name="mail_template_id" />
Expand Down
2 changes: 1 addition & 1 deletion helpdesk_mgmt/views/helpdesk_ticket_tag_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<field name="name">helpdesk.ticket.tag.tree</field>
<field name="model">helpdesk.ticket.tag</field>
<field name="arch" type="xml">
<tree string="Ticket Tags">
<tree>
<field name="name" />
</tree>
</field>
Expand Down
2 changes: 1 addition & 1 deletion helpdesk_mgmt/views/helpdesk_ticket_team_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
<field name="name">view.helpdesk_team.tree</field>
<field name="model">helpdesk.ticket.team</field>
<field name="arch" type="xml">
<tree string="Team">
<tree>
<field name="sequence" widget="handle" />
<field name="name" />
<field name="category_ids" widget="many2many_tags" />
Expand Down
4 changes: 3 additions & 1 deletion helpdesk_mgmt_fieldservice/views/helpdesk_ticket_views.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2019 Open Source Integrators
Copyright 2020 - TODAY, Marcel Savegnago - Escodoo
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
Expand Down Expand Up @@ -94,9 +95,10 @@
<field name="name">helpdesk.ticket.service.form.logic</field>
<field name="model">helpdesk.ticket</field>
<field name="inherit_id" ref="helpdesk_mgmt.ticket_view_form" />
<field name="priority">99</field>
<field name="arch" type="xml">
<field name="partner_name" position="attributes">
<attribute name="invisible">True</attribute>
<attribute name="invisible">1</attribute>
</field>
<field name="partner_email" position="replace">
<field
Expand Down
10 changes: 4 additions & 6 deletions helpdesk_mgmt_sla/demo/helpdesk_mgmt_sla_demo.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="0">
<odoo noupdate="0">
<record id="helpdesk_mgmt.helpdesk_team_2" model="helpdesk.ticket.team">
<field name="use_sla" eval="True" />
</record>
<record id="sla_1" model="helpdesk.sla">
<field name="name">General SLA</field>
<field
name="team_ids"
eval="[(6,0,[ref('helpdesk_mgmt.helpdesk_team_2')])]"
/>
name="team_ids"
eval="[(6,0,[ref('helpdesk_mgmt.helpdesk_team_2')])]"
/>
<field name="hours">2</field>
</record>
</data>
</odoo>
2 changes: 1 addition & 1 deletion helpdesk_mgmt_sla/views/helpdesk_sla_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<field name="name">helpdesk.sla.tree</field>
<field name="model">helpdesk.sla</field>
<field name="arch" type="xml">
<tree string="SLA">
<tree>
<field name="name" />
<field name="days" />
<field name="hours" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<record id="project_1" model="project.project">
<field name="name">Helpdesk general project</field>
</record>
Expand Down Expand Up @@ -34,5 +33,4 @@
<field name="task_id" ref="project_task_1" />
<field name="unit_amount" eval="2" />
</record>
</data>
</odoo>
4 changes: 1 addition & 3 deletions helpdesk_motive/demo/helpdesk_motive_demo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" ?>
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<record id="helpdesk_motive_1" model="helpdesk.ticket.motive">
<field name="name">Client requirement</field>
<field name="team_id" ref="helpdesk_mgmt.helpdesk_team_1" />
Expand All @@ -13,5 +12,4 @@
<record id="helpdesk_mgmt.helpdesk_ticket_7" model="helpdesk.ticket">
<field name="motive_id" ref="helpdesk_motive_1" />
</record>
</data>
</odoo>
2 changes: 1 addition & 1 deletion helpdesk_motive/views/helpdesk_ticket_motive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<field name="name">helpdesk.ticket.motive.tree</field>
<field name="model">helpdesk.ticket.motive</field>
<field name="arch" type="xml">
<tree string="Motives">
<tree>
<field name="name" />
<field name="team_id" />
</tree>
Expand Down
4 changes: 1 addition & 3 deletions helpdesk_type/demo/helpdesk_type_demo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" ?>
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<record id="helpdesk_type_1" model="helpdesk.ticket.type">
<field name="name">Document issue</field>
<field name="team_ids" eval="[(4, ref('helpdesk_mgmt.helpdesk_team_1'))]" />
Expand All @@ -11,5 +10,4 @@
<record id="helpdesk_mgmt.helpdesk_ticket_7" model="helpdesk.ticket">
<field name="type_id" ref="helpdesk_type_1" />
</record>
</data>
</odoo>
2 changes: 1 addition & 1 deletion helpdesk_type/views/helpdesk_ticket_type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<field name="name">helpdesk.ticket.type.tree</field>
<field name="model">helpdesk.ticket.type</field>
<field name="arch" type="xml">
<tree string="Types">
<tree>
<field name="name" />
</tree>
</field>
Expand Down

0 comments on commit 957bea0

Please sign in to comment.