[FIX] merge_records: don't merge if hierarchy exists
[FIX] merge_records: don't merge if hierarchy exists

When we already have recursive hierarchy, doing a merge of a parent into one of their children let the awkward situation where the child points to itself, so we avoid it checking this condition.

OCA/openupgradelib