Skip to content

Commit

Permalink
[FIX] helpdesk_mgmtsystem_nonconformity: Avoid non-existing external_…
Browse files Browse the repository at this point in the history
…id error in action_nonconformity_create()

TT38205

helpdesk_mgmtsystem_nonconformity 13.0.1.0.1
  • Loading branch information
victoralmau committed Nov 21, 2022
1 parent 77235a4 commit 08c6805
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion helpdesk_mgmtsystem_nonconformity/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Helpdesk Management - Nonconformity",
"summary": "Links helpdesk tickets with nonconformities",
"version": "13.0.1.0.0",
"version": "13.0.1.0.1",
"category": "After-Sales",
"website": "https://github.com/OCA/helpdesk",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
3 changes: 0 additions & 3 deletions helpdesk_mgmtsystem_nonconformity/models/helpdesk_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ def _prepare_nonconformity_vals(self):
"manager_user_id": self.team_id.user_id.id or self.user_id.id,
"responsible_user_id": self.team_id.user_id.id or self.user_id.id,
"description": self.description,
"origin_ids": [
(6, 0, self.env.ref("mgmtsystem_nonconformity.demo_origin").ids)
],
}
if stage.state == "open":
vals.update({"action_comments": self.description})
Expand Down

0 comments on commit 08c6805

Please sign in to comment.