Add an update on is_latest = false into fn_make_estimate
Motivation
- there is an update on is_latest = false to table t_result, but it is done in GUI, before calling the fn_make_estimate
- otherwise it would raise an error on unique constraint
- until now it was workable solution, but now when working with multiple threads in the GUI, there can't be more transactions, or commands within transaction, exact description of the problem would provide @zavodsky
Solution
- make an update in fn_make_estimate itself