Skip to content
Snippets Groups Projects
Commit 02f05e9f authored by Ruchir Shukla's avatar Ruchir Shukla Committed by Yannick Tivisse
Browse files

[FIX] martketing_campaing: Check if record related to res_id exists to compute res_name

Closes 16971

If the record with id `res_id` on the model `res_model` doesn't exists anymore, do not call name_get method on it in the method `_compute_res_name`. That could lead to tracebacks or inconsistencies.
parent 5cf2bb6e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment