Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3186 Vizualizări

Hello everyone,
I'm dealing with a scenario where I would like a ticket to be re-opened with in 24 hours if a client responds. Currently, I don't see that there's any way to re-open a ticket in Odoo after it has been closed, let alone re-open it within a specific window of time.

I'm sure I'm missing something basic, as I'm very new to all this.

Any help would be appreciated!


Thanks,
Nathan

Imagine profil
Abandonează
Autor

To be clear here is my code that I'm using for the computed field:
Dependencies street, city, state_id, zip

def generate_maps_link(streetID, cityID, stateID, zipID):
base_url = "https://www.google.com/maps/search/?api=1&query="
address = streetID + "," + cityID + "," + stateID + " " + zipID
encoded_address = address.replace(" ", "+")
final_url = base_url + encoded_address
return final_url

for record in self:
street_gm = record['street']
city_gm = record['city']
state_gm = record['state_id']
zip_gm = record['zip']
record['x_studio_google_maps'] = generate_maps_link(street_gm, city_gm, state_gm, zip_gm)

Autor

In my code, 'x_studio_google_maps' is the read-only text field where I want the link to be displayed.

But nothing happens. So something is wrong with my code somewhere.

Cel mai bun răspuns

You can create automated actions to reopen/ change stage of a ticket. Do refer the below posts, might help define specific to your need

https://www.odoo.com/forum/helpdesk-29/re-open-ticket-helpdesk-181636
https://www.odoo.com/forum/helpdesk-29/automated-action-stage-update-169382

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iul. 24
1869
3
mar. 25
4823
2
mar. 24
2127
0
mai 21
3955
0
nov. 20
2067