Commit 5b706bc9 authored by Sven Franck's avatar Sven Franck

data: add quotation_bid (offer) portal-type

parent dc692df2
{
"portal_type_source": "Quotation Bid",
"portal_type_title": "quotation_bid",
"initial_query": {"include_docs": true },
"property_dict": {
"no_content": true
},
"scheme": [],
"children": []
}
{
"_id": {
"type":"StringField",
"widget": {
"id": "_id",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict._id.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict._id.description",
"alternate_name": "_id",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
},
"bid_owner": {
"type":"StringField",
"widget": {
"id": "bid_owner",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_owner.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_owner.description",
"alternate_name": "bid_owner",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
},
"bid_company": {
"type":"StringField",
"widget": {
"id": "bid_company",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_company.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_company.description",
"alternate_name": "bid_company",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
},
"bid_email": {
"type":"StringField",
"widget": {
"id": "bid_email",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_email.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_email.description",
"alternate_name": "bid_email",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
},
"bid_price": {
"type":"IntegerField",
"widget": {
"id": "bid_price",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_price.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_price.description",
"alternate_name": "bid_price",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"start": null,
"end": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"not_integer": {
"message": "You did not enter an integer",
"i18n": "validation_dict.no_integer"
},
"integer_out_of_range": {
"message": "The integer you entered is out of range.",
"i18n": "validation_dict.out_of_range"
}
}
},
"bid_currency": {
"type":"ListField",
"widget": {
"id": "bid_currency",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_currency.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_currency.description",
"alternate_name": "bid_currency",
"default_value": null,
"css_class": null,
"hidden": null,
"items": "getCurrency",
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"unknown_selection": {
"message":"You selected on option not on the menu",
"i18n": "validation_dict.option_not_available"
}
}
},
"bid_made": {
"type":"DateTimeField",
"widget": {
"id": "bid_made",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_made.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_made.description",
"alternate_name": "bid_made",
"default_value": null,
"css_class": null,
"hidden": null,
"default_to_know": null,
"data_separator": null,
"time_separator": null,
"input_style": null,
"input_order": null,
"display_date_only": true,
"am_pm time style": null,
"display_timezone": null,
"hide_day": null,
"hidden_day_is_last_day_of_the_month": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"start_datetime": null,
"end_datetime": null,
"allow_empty_datetime": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"not_datetime": {
"message": "You did not enter a valid date and time.",
"i18n": "validation_dict.not_valid_datetime"
},
"datetime_out_of_range": {
"message": "The date and time you entered were out of range.",
"i18n": "validation_dict.out_of_range_datetime"
}
}
},
"bid_request_subordinate_id": {
"type":"StringField",
"widget": {
"id": "bid_request_subordinate_id",
"title_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_request_subordinate_id.title",
"description_i18n": "portal_type_dict.quotation_bid_dict.field_dict.bid_request_subordinate_id.description",
"alternate_name": "bid_request_subordinate_id",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
}
}
{
"portal_type_source": "Quotation Bid",
"portal_type_title": "quotation_bid",
"initial_query": {"include_docs": true, "limit":[0,8]},
"property_dict": {
"wrap_gadget": 2,
"search": {
"text_i18n": "portal_type_dict.quotation_bid_dict.text_dict.search_bids",
"info_list": ["records"],
"class_list": "center"
},
"pagination": {
"class_list": "center",
"option_list": [
{"value": "8", "text_i18n":"global_dict.8"},
{"value": "16", "text_i18n":"global_dict.16"},
{"value": "32", "text_i18n":"global_dict.32"},
{"value": "64", "text_i18n":"global_dict.64"}
]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"type": "icon", "icon": "tag"}
]
},
{
"position": "center",
"field_list": [
{"field": "bid_for_request", "type": "h3"},
{"field": "bid_price", "type": "span"},
{"field": "bid_currency", "type": "span"},
{"field": "bid_made", "type": "p", "aside": true}
]
}
],
"children": [{
"type": "h3",
"direct": {"className": "translate center"},
"attributes": {"data-i18n": "portal_type_dict.quotation_bid_dict.text_dict.offers"}
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"inset": true,
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}
[]
\ 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