Generate a journal entry when the completion percentage is set to 100%

If the "record completed to-dos in journal entries" preference is set,
this patch will record the competion if the to-do is completed by setting
the completion percentage to 100% in an incidence editor.

BUG: 423121
1 job for !1 with fix423121 in 8 minutes (queued for 2 minutes and 10 seconds)
latest merge request