Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
Helpdesk email Sales template Inventory
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
Helpdesk email Sales template Inventory
O tym forum
  1. Helpdesk
  2. Forum

Re-open ticket Helpdesk

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
Helpdeskre-open
6 Odpowiedzi
8493 Widoki
Awatar
Ara

Is there a way for a ticket in a closing stage to change stage in the Kanban view when a customer has replied on the ticket?

I have tested automated actions, it does not react to any changes or updates on the ticket. 

Any advice?

0
Awatar
Odrzuć
Awatar
Sebastien BOSSOUTROT (IROKOO - France)
Najlepsza odpowiedź

Hi, not easy to found the solution at the first time. Solution with Odoo studio and automated actions

first you need to position your automated action on messages (settings/technical/messages) in dev mode.

Your trigger: On creation

Domain: ["&","&",["message_type","=","email"],["model","=","helpdesk.ticket"],["author_id.user_ids","=",False]]

Action: Execute Python Code

PythonCode

if record.res_id:
    existing_ticket = env['helpdesk.ticket'].search([('id','=',record.res_id)])
    existing_ticket.write ({'stage_id': 5})

some explainations, on line 2 you go on you ticket id and then on line 2 you change the stage_id to in my example 5 that is my Open stage.


5
Awatar
Odrzuć
Jaideep

Thanks Sebastien,
This works brilliantly, would you know how to add a condition in Python Code so the stage change applies to tickets in 'closed stage' only ([["stage_id.is_won","=",True]])?

Thanks in advance!

Awatar
Paolo
Najlepsza odpowiedź

Hi guys, first of all thanks for these tips because you solved one of my point.

I added some conditions in order to get a more fine action: 

if record.res_id:
existing_ticket = env['helpdesk.ticket'].search([('id','=',record.res_id)])
#2: In progress
#3: Solved
#4: Cancelled
#13: Suspended
closed_stages = [3,4,13]
if existing_ticket.stage_id.id in closed_stages:
existing_ticket.write ({'stage_id': 2})

Closed_stages is an array of ids, and I re-open the ticket only if it is in one of them. 

5
Awatar
Odrzuć
Awatar
Stian Heidenreich-Riis
Najlepsza odpowiedź

Hi, 

Thanks for very good tips above! 

In my case I would like to move tickets from any stage (except "new") to "in progress" stage when customer replies, and I've got this working... but still need to exlude new tickets.

I have a "new" stage for tickets created by operator or automatic when customers send a new email to Helpdesk. Now, it seems like all the new tickets from email also moves to the "in progress" stage. Any good ideas to fix this?


1
Awatar
Odrzuć
Chad Argall

I'm also looking for exactly this.

Awatar
Josep Anton Belchi Riera
Najlepsza odpowiedź


Hey, friends!
The solutions provided are valid. I just want to make this contribution:
To know if a ticket is closed, one can check the "is_close" field of its stage. In this way, we should not list all the closed stages.
On the other hand, the stage we want to establish for our ticket will have to be explicitly set. In my case it is 9.
Something else: I have removed the condition ["author.id.user.ids","=",False], because some of our customers have portal user and, in this case, I also want to reopen the ticket.

if record.res_id:
existing_ticket = env['helpdesk.ticket'].search([('id','=',record.res_id)])
isclosed = existing_ticket.stage_id.is_close
if isclosed:
existing_ticket.write ({'stage_id': 9}) # 9: In progress

1
Awatar
Odrzuć
Awatar
ionesoft GmbH
Najlepsza odpowiedź

Is there a way to define an automatic action that triggers when the user adds a comment on the website in the ticketing helpdesk, instead of sending an Email?

We are using the Odoo helpdesk system with the website. When a user adds a comment on the ticket, we'd like to change the state similarly as it is defined here with a closed ticket. But I don't know how to specifiy the domain to have the automatic action fire when a comment is done due to the website.


Thanks for help.

0
Awatar
Odrzuć
Awatar
Stefan Kranz
Najlepsza odpowiedź

Hi, i like this solution it works. But how can i delete on the ticket the related user ? This dont work:

if record.res_id:
existing_ticket = env['helpdesk.ticket'].search([('id','=',record.res_id)])
isclosed = existing_ticket.stage_id.is_close
if isclosed:
existing_ticket.write ({'stage_id': 1}) # 1: New
existing_ticket.write ({'user_id': false}) # no User

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How to deny a user from team to access another teams' tickets in Helpdesk
Helpdesk
Awatar
Awatar
1
lip 25
1073
I want it so that certain stages in the HelpDesk app will not count towards the ticket open time. Rozwiązane
Helpdesk
Awatar
Awatar
1
paź 24
2394
Helpdesk editing customers and members
Helpdesk
Awatar
Awatar
Awatar
Awatar
Awatar
5
sie 23
4114
Odoo open sourse
Helpdesk
Awatar
Awatar
1
lut 22
2833
Re-open and highlight HELPDESK ticket on email reply
Helpdesk
Awatar
0
maj 21
4173
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now