Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
5b706bc9
Commit
5b706bc9
authored
Apr 25, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: add quotation_bid (offer) portal-type
parent
dc692df2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
374 additions
and
0 deletions
+374
-0
data/quotation_bid_dump.json
data/quotation_bid_dump.json
+10
-0
data/quotation_bid_fieldlist.json
data/quotation_bid_fieldlist.json
+306
-0
data/quotation_bid_overview.json
data/quotation_bid_overview.json
+57
-0
data/quotation_bid_sample.json
data/quotation_bid_sample.json
+1
-0
No files found.
data/quotation_bid_dump.json
0 → 100644
View file @
5b706bc9
{
"portal_type_source"
:
"Quotation Bid"
,
"portal_type_title"
:
"quotation_bid"
,
"initial_query"
:
{
"include_docs"
:
true
},
"property_dict"
:
{
"no_content"
:
true
},
"scheme"
:
[],
"children"
:
[]
}
data/quotation_bid_fieldlist.json
0 → 100644
View file @
5b706bc9
{
"_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"
}
}
}
}
data/quotation_bid_overview.json
0 → 100644
View file @
5b706bc9
{
"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"
:[]
}]
}
data/quotation_bid_sample.json
0 → 100644
View file @
5b706bc9
[]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment