Commit f00a69f6 authored by Sven Franck's avatar Sven Franck

added JSON config (fields, gadgets, page layout) for person

parent 10d869cc
{
"portal_type_source": "Person",
"portal_type_title": "person",
"portal_type_fields": "person_fields",
"base_element": {"type": "table", "direct": {"id": "persons_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_persons","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1, "data-sorting":"true"}, "logic": {}},
"form_wrapper": null,
"initial_query": {"include_documents": true, "limit":[0,10]},
"configuration": {
"wrapper": [
{"pagination": true, "slot": "4", "widget": {"type": "controlgroup", "widget_class": "pagination", "direction": "horizontal"},"children":[
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"},"logic":{"text":"First"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic":{"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_invoices_01", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "10", "text": "10", "data-i18n":"", "selected":"", "disabled":""},{"value": "25", "text": "25", "data-i18n":"", "selected":"", "disabled":""},{"value": "50", "text": "50", "data-i18n":"", "selected":"", "disabled":""}]}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic":{"text":"Step Forward"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic":{"text": "Last"}}]}
],
"controlbar": [
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_invoices", "className": "action"},"attributes":{"data-action":"search", "data-enhanced":"true", "data-i18n": "","placeholder":"Search Invoices", "data-icon":"search", "data-type":"search", "type":"search"},"logic":{"clear":"true"}}, "children":[]},
{"record_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}}, "children":[]},
{"select_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}}, "children":[]},
{"filter_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}}, "children":[]}
],
"table": {
"select_all": true,
"checkbox_rows": true,
"sorting_columns": true,
"linkable_rows": true
}
},
"layout": {
"columns": [
{"title": "default_email_url_string", "show": true, "priority": 6, "sort":true},
{"title": "first_name", "show": true, "priority": 6, "sort": true}
]
},
"actions": []
}
\ No newline at end of file
[
{
"Group": null,
"career_subordination_title": null,
"first_name": "Sven",
"State": "Draft",
"career_role_list": "Employee",
"Address (Full Text)": "86, Avenue des Muy\nAppt. 33\n3ieme Etage\n59800 Lille\nFrance",
"Function": "Director",
"default_fax": "+45123300012",
"description": "Test account",
"default_email_url_string": "svenfranck@hoo.com",
"Nationality": null,
"Origin Campaign": null,
"Gender": "Male",
"Region": "France",
"Activity": null,
"Login": null,
"destination_reference": "P000009",
"Usual Name": "Sven Franck",
"last_name": "Franck",
"default_telephone": "+49123456789",
"Marital Status": null,
"Owner": "ERP5TypeTestCase",
"Product Interest": null,
"Skill": null
}
]
\ No newline at end of file
{
"default_fax": {
"type":"Stringfield",
"widget": {
"id": "default_fax",
"alternate_name": "default_fax",
"title": "Fax",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"default_telephone": {
"type":"Stringfield",
"widget": {
"id": "default_telephone",
"alternate_name": "default_telephone",
"title": "Default Telephone",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"first_name": {
"type":"Stringfield",
"widget": {
"id": "first_name",
"alternate_name": "first_name",
"title": "First Name",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"last_name": {
"type":"Stringfield",
"widget": {
"id": "last_name",
"alternate_name": "last_name",
"title": "Last Name",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"destination_reference": {
"type":"Stringfield",
"widget": {
"id": "destination_reference",
"alternate_name": "destination_reference",
"title": "Identifier",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"career_subordination_title": {
"type":"RelationStringField",
"widget": {
"id": "career_subordination_title",
"alternate_name": "career_subordination_title",
"title": "Organisation",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null,
"update_method": null,
"jump_method": null,
"allow_jump": null,
"base_category": null,
"portal_type": null,
"allow_creation": null,
"container_getter_method": null,
"context_getter_method": null,
"catalog_index": null,
"relation_update_method": null,
"relation_forms": null,
"columns": null,
"default_sort": null,
"parameter_list": null,
"select_first_item": null,
"items": null,
"listbox_proxy_ids": null,
"size": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null,
"maxiumum_lines": null,
"maxiumum_length_of_line": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"description": {
"type":"TextareaField",
"widget": {
"id": "description",
"alternate_name": "description",
"title": "Identifier",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"width":null,
"height":null,
"extra":null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_lines": null,
"maximum_length_of_line": null,
"maximum_characters": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"career_role_list": {
"type":"ParallelListField",
"widget": {
"id": "career_role_list",
"alternate_name": "career_role_list",
"title": "Role",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null,
"select_first_item": null,
"hash_script": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
},
"default_email_url_string": {
"type":"Stringfield",
"widget": {
"id": "default_fax",
"alternate_name": "default_fax",
"title": "Email",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"hidden": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": ""
}
}
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment