Skip to content
Snippets Groups Projects
Commit f5f14d9d authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fill the configuration idProperty for each Model.

parent f80853eb
No related branches found
No related tags found
2 merge requests!6Master,!57 preferences
......@@ -760,7 +760,7 @@ def to_model(table):
db = table._db
tablename = table._tablename
cfg = Model(fields=[])
cfg = Model(fields=[], idProperty=encode_field(tablename, "Id"))
for field in table:
fieldname = field.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment