FSN#33635 Scaffolding generiek via bonnen printen

svn path=/Website/trunk/; revision=26106
This commit is contained in:
Jos Groot Lipman
2015-08-27 21:14:04 +00:00
parent ed9fca3be1
commit 57d27b10bb
3 changed files with 13 additions and 3 deletions

View File

@@ -91,6 +91,7 @@ function scaffolding(model, scf_params)
def(model, mode, {});
def(model, "list", {});
def(model, "edit", {});
def(model, "print", {});
if ("id" in model.fields && "name" in model.fields)
def(model.list, "columns", ["id", "name"]);