FSN#36226 fac_email bewerken via scaffolding

svn path=/Website/trunk/; revision=29361
This commit is contained in:
Erik Groener
2016-05-11 10:59:13 +00:00
parent 0e4e3e6646
commit 690066cb07
2 changed files with 5 additions and 4 deletions

View File

@@ -35,10 +35,9 @@ function fac_email_setting()
}, },
"name": { "name": {
"dbs": "fac_email_setting_user", "dbs": "fac_email_setting_user",
"label": L("lcl_user"), "label": L("fac_email_setting_user"),
"typ": "varchar", "typ": "varchar",
"required": true, "required": true
"insertonly": true
}, },
"from": { "from": {
"dbs": "fac_email_setting_from", "dbs": "fac_email_setting_from",
@@ -53,7 +52,8 @@ function fac_email_setting()
"expire": { "expire": {
"dbs": "fac_email_setting_expire", "dbs": "fac_email_setting_expire",
"label": L("fac_email_setting_expire"), "label": L("fac_email_setting_expire"),
"typ": "date" "typ": "date",
"readonly": true
}, },
"attachmentspath": { "attachmentspath": {
"dbs": "fac_email_setting_attachpath", "dbs": "fac_email_setting_attachpath",

View File

@@ -30,6 +30,7 @@ scaffolding(this_model,
"columns": [ "columns": [
"id", "id",
"name", "name",
"from",
"action", "action",
"attachmentspath" "attachmentspath"
] ]