[REF] openupgrade_records: use simpler syntax
Merge pull request #36 from florentx/refactor_addon

[REF] openupgrade_records: use simpler syntax