Skip to content

Commit

Permalink
[17.0][MIG] helpdesk_motive: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ilo committed Nov 19, 2024
1 parent d468325 commit 866494a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions helpdesk_motive/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ Contributors

- Adasat Torres <[email protected]>

- \`Camptocamp <https://camptocamp.com>\_\`:

- Italo Lopes <[email protected]>

Maintainers
-----------

Expand Down
3 changes: 2 additions & 1 deletion helpdesk_motive/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"version": "17.0.1.0.0",
"license": "AGPL-3",
"summary": "Keep the motive ",
"author": "Binhex, Konos, Open Source Integrators, Odoo Community Association (OCA)",
"author": "Binhex, Konos, Open Source Integrators, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/helpdesk",
"depends": ["helpdesk_mgmt"],
"data": [
Expand Down
4 changes: 2 additions & 2 deletions helpdesk_motive/demo/helpdesk_motive_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

<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" />
<field name="team_id" ref="helpdesk_mgmt.helpdesk_team_1_demo" />
</record>
<record id="helpdesk_motive_2" model="helpdesk.ticket.motive">
<field name="name">Update required</field>
<field name="team_id" ref="helpdesk_mgmt.helpdesk_team_1" />
<field name="team_id" ref="helpdesk_mgmt.helpdesk_team_1_demo" />
</record>

<record id="helpdesk_mgmt.helpdesk_ticket_7" model="helpdesk.ticket">
Expand Down
2 changes: 2 additions & 0 deletions helpdesk_motive/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
- David Alonso \<<[email protected]>\>
- \`Binhex \<<https://binhex.cloud>\>\_\`:
- Adasat Torres \<<[email protected]>\>
- \`Camptocamp \<<https://camptocamp.com>\>\_\`:
- Italo Lopes \<<[email protected]>\>
4 changes: 4 additions & 0 deletions helpdesk_motive/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Adasat Torres &lt;<a class="reference external" href="mailto:a.torres&#64;binhex.cloud">a.torres&#64;binhex.cloud</a>&gt;</li>
</ul>
</li>
<li>`Camptocamp &lt;<a class="reference external" href="https://camptocamp.com">https://camptocamp.com</a>&gt;_`:<ul>
<li>Italo Lopes &lt;<a class="reference external" href="mailto:italo.lopes&#64;camptocamp.com">italo.lopes&#64;camptocamp.com</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
3 changes: 1 addition & 2 deletions helpdesk_motive/tests/test_helpdesk_motive.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ def setUpClass(cls):
def _create_ticket(self, team, motive, user=False):
return self.env["helpdesk.ticket"].create(
{
"name": "Ticket %s (%s)"
% (team.name, user.login if user else "unassigned"),
"name": f"Ticket {team.name} {user.login if user else 'unassigned'}",
"description": "Description",
"team_id": team.id,
"user_id": user.id if user else False,
Expand Down

0 comments on commit 866494a

Please sign in to comment.