Use Set instead of Map to iter on common fields

issue11416
review378751003
This commit is contained in:
Hodei Navarro
2022-04-18 19:42:08 +02:00
parent e6308a58d3
commit c8b554aa71
+1 -1
View File
@@ -1772,7 +1772,7 @@
}
// Add common fields
const common_fields = new Map([
const common_fields = new Set([
['id', Sao.i18n.gettext('ID'), 'integer'],
['create_uid', Sao.i18n.gettext('Created by'), 'many2one'],
['create_date', Sao.i18n.gettext('Created at'), 'datetime'],