Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
290fdc03
Commit
290fdc03
authored
Sep 20, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Plain Diff
Travel expense improvement
See merge request
nexedi/erp5!1493
parents
007891da
d5ab284a
Changes
93
Hide whitespace changes
Inline
Side-by-side
Showing
93 changed files
with
5760 additions
and
990 deletions
+5760
-990
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequestModule_viewLeaveRequestList.xml
...erp5_calendar/LeaveRequestModule_viewLeaveRequestList.xml
+10
-0
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequestModule_viewLeaveRequestList/listbox_delivery_start_date.xml
...dule_viewLeaveRequestList/listbox_delivery_start_date.xml
+89
-0
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequestModule_viewLeaveRequestList/listbox_delivery_stop_date.xml
...odule_viewLeaveRequestList/listbox_delivery_stop_date.xml
+89
-0
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequest_view.xml
...lateItem/portal_skins/erp5_calendar/LeaveRequest_view.xml
+1
-0
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequest_view/my_resource_title.xml
...ins/erp5_calendar/LeaveRequest_view/my_resource_title.xml
+272
-0
bt5/erp5_travel_expense/ActionTemplateItem/portal_types/Expense%20Validation%20Request/jump_to_related_document.xml
...pense%20Validation%20Request/jump_to_related_document.xml
+104
-0
bt5/erp5_travel_expense/ActionTemplateItem/portal_types/Expense%20Validation%20Request/jump_to_related_transaction.xml
...se%20Validation%20Request/jump_to_related_transaction.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.js
...em/web_page_module/gadget_hr_add_expense_sheet_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.xml
...m/web_page_module/gadget_hr_add_expense_sheet_view_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.js
...eItem/web_page_module/gadget_hr_expense_record_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.xml
...Item/web_page_module/gadget_hr_expense_record_view_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_gadget_html.html
...thTemplateItem/web_page_module/gadget_hr_gadget_html.html
+0
-20
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_geoLocalisation_js.js
...plateItem/web_page_module/gadget_hr_geoLocalisation_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_geoLocalisation_js.xml
...lateItem/web_page_module/gadget_hr_geoLocalisation_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_jio_js.js
...ense/PathTemplateItem/web_page_module/gadget_hr_jio_js.js
+0
-386
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.js
...teItem/web_page_module/gadget_hr_leave_request_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.xml
...eItem/web_page_module/gadget_hr_leave_request_view_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.js
...b_page_module/gadget_hr_mission_request_record_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.xml
..._page_module/gadget_hr_mission_request_record_view_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_html.html
...age_module/gadget_hr_page_jio_erp5_configurator_html.html
+1
-0
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_html.xml
...page_module/gadget_hr_page_jio_erp5_configurator_html.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.js
...eb_page_module/gadget_hr_page_jio_erp5_configurator_js.js
+5
-10
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.xml
...b_page_module/gadget_hr_page_jio_erp5_configurator_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_html.html
...TemplateItem/web_page_module/gadget_hr_page_jio_html.html
+2
-0
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_html.xml
...hTemplateItem/web_page_module/gadget_hr_page_jio_html.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_js.js
...PathTemplateItem/web_page_module/gadget_hr_page_jio_js.js
+81
-24
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_js.xml
...athTemplateItem/web_page_module/gadget_hr_page_jio_js.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_tool_js.js
...nse/PathTemplateItem/web_page_module/gadget_hr_tool_js.js
+268
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_tool_js.xml
...se/PathTemplateItem/web_page_module/gadget_hr_tool_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_translation_html.html
...plateItem/web_page_module/gadget_hr_translation_html.html
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_translation_html.xml
...mplateItem/web_page_module/gadget_hr_translation_html.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_translation_js.js
...hTemplateItem/web_page_module/gadget_hr_translation_js.js
+0
-135
bt5/erp5_travel_expense/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+1
-0
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint.xml
...al_property_sheets/ExpenseValidationRequestConstraint.xml
+66
-0
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint/section_existence_constraint.xml
...idationRequestConstraint/section_existence_constraint.xml
+88
-0
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/Alarm_createRepresentativeRecordForExpenseValidationRequest.py
..._createRepresentativeRecordForExpenseValidationRequest.py
+5
-0
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/Alarm_createRepresentativeRecordForLeaveRequest.py
...record/Alarm_createRepresentativeRecordForLeaveRequest.py
+5
-0
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/ExpenseRecord_viewAsJio/your_modification_date.xml
...record/ExpenseRecord_viewAsJio/your_modification_date.xml
+1
-1
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LeaveRequestRecord_updateRelatedTicket.py
.../erp5_hr_record/LeaveRequestRecord_updateRelatedTicket.py
+1
-0
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LeaveRequestRecord_viewAsJio/your_modification_date.xml
...d/LeaveRequestRecord_viewAsJio/your_modification_date.xml
+1
-1
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/TravelRequestRecord_viewAsJio/your_modification_date.xml
.../TravelRequestRecord_viewAsJio/your_modification_date.xml
+1
-1
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_request/ExpenseValidationRequest_createPurchaseTransaction.py
...est/ExpenseValidationRequest_createPurchaseTransaction.py
+4
-0
bt5/erp5_travel_expense/WorkflowTemplateItem/portal_workflow/ticket_acceptance_simulation_workflow/transition_accept_action.xml
...ceptance_simulation_workflow/transition_accept_action.xml
+1
-0
bt5/erp5_travel_expense/bt/template_action_path_list
bt5/erp5_travel_expense/bt/template_action_path_list
+1
-0
bt5/erp5_travel_expense/bt/template_portal_type_property_sheet_list
...ravel_expense/bt/template_portal_type_property_sheet_list
+1
-1
bt5/erp5_travel_expense/bt/template_property_sheet_id_list
bt5/erp5_travel_expense/bt/template_property_sheet_id_list
+2
-1
bt5/erp5_travel_expense_ui_test/PathTemplateItem/account_module/travel_expense_credit_account.xml
...lateItem/account_module/travel_expense_credit_account.xml
+38
-112
bt5/erp5_travel_expense_ui_test/PathTemplateItem/account_module/travel_expense_debit_account.xml
...plateItem/account_module/travel_expense_debit_account.xml
+233
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/currency_module/hr_test_currency.xml
...est/PathTemplateItem/currency_module/hr_test_currency.xml
+230
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/person_module/hr_user.xml
...xpense_ui_test/PathTemplateItem/person_module/hr_user.xml
+80
-79
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/publication_section/hr_document.xml
...tem/portal_categories/publication_section/hr_document.xml
+233
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/expense_validation_request.xml
...m/portal_categories/use/hr/expense_validation_request.xml
+137
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/expense_validation_request/expense.xml
..._categories/use/hr/expense_validation_request/expense.xml
+77
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/leave.xml
..._test/PathTemplateItem/portal_categories/use/hr/leave.xml
+133
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/leave/maladie.xml
...thTemplateItem/portal_categories/use/hr/leave/maladie.xml
+233
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/travel_request.xml
...hTemplateItem/portal_categories/use/hr/travel_request.xml
+137
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/travel_request/travel.xml
...teItem/portal_categories/use/hr/travel_request/travel.xml
+77
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSOnlyGetRelatedService.xml
...pense_ui_test_zuite/testOfficeJSOnlyGetRelatedService.xml
+1
-1
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSOnlyGetRelatedService.zpt
...pense_ui_test_zuite/testOfficeJSOnlyGetRelatedService.zpt
+137
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpensePreference.xml
...nse_ui_test_zuite/testOfficeJSTravelExpensePreference.xml
+58
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpensePreference.zpt
...nse_ui_test_zuite/testOfficeJSTravelExpensePreference.zpt
+59
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.xml
...se_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.xml
+58
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.zpt
...se_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.zpt
+494
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpenseSheet.xml
..._test_zuite/testOfficeJSTravelExpenseSyncExpenseSheet.xml
+58
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpenseSheet.zpt
..._test_zuite/testOfficeJSTravelExpenseSyncExpenseSheet.zpt
+0
-60
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncLeave.xml
...ense_ui_test_zuite/testOfficeJSTravelExpenseSyncLeave.xml
+58
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncLeave.zpt
...ense_ui_test_zuite/testOfficeJSTravelExpenseSyncLeave.zpt
+172
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncTravel.xml
...nse_ui_test_zuite/testOfficeJSTravelExpenseSyncTravel.xml
+58
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncTravel.zpt
...nse_ui_test_zuite/testOfficeJSTravelExpenseSyncTravel.zpt
+174
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_need_to_sync.xml
.../PathTemplateItem/service_module/hr_test_need_to_sync.xml
+244
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_need_to_sync_expense.xml
...plateItem/service_module/hr_test_need_to_sync_expense.xml
+244
-0
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_need_to_sync_travel.xml
...mplateItem/service_module/hr_test_need_to_sync_travel.xml
+23
-121
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_no_need_to_sync.xml
...thTemplateItem/service_module/hr_test_no_need_to_sync.xml
+242
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test.xml
...kinTemplateItem/portal_skins/erp5_travel_expense_test.xml
+47
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Alarm_launchRecordAlarm.py
...skins/erp5_travel_expense_test/Alarm_launchRecordAlarm.py
+2
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Alarm_launchRecordAlarm.xml
...kins/erp5_travel_expense_test/Alarm_launchRecordAlarm.xml
+70
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseAccountTuple.py
..._expense_test/ERP5Site_getPreferredExpenseAccountTuple.py
+1
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseAccountTuple.xml
...expense_test/ERP5Site_getPreferredExpenseAccountTuple.xml
+62
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseDocumentPublicationSectionValue.py
...ite_getPreferredExpenseDocumentPublicationSectionValue.py
+1
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseDocumentPublicationSectionValue.xml
...te_getPreferredExpenseDocumentPublicationSectionValue.xml
+62
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseRecord_askQuestionForLatestExpenseValidationRequest.py
...nseRecord_askQuestionForLatestExpenseValidationRequest.py
+10
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseRecord_askQuestionForLatestExpenseValidationRequest.xml
...seRecord_askQuestionForLatestExpenseValidationRequest.xml
+71
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseValidationRequest_launchAlarms.py
...vel_expense_test/ExpenseValidationRequest_launchAlarms.py
+2
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseValidationRequest_launchAlarms.xml
...el_expense_test/ExpenseValidationRequest_launchAlarms.xml
+70
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Person_assignHRUserRole.py
...skins/erp5_travel_expense_test/Person_assignHRUserRole.py
+19
-0
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Person_assignHRUserRole.xml
...kins/erp5_travel_expense_test/Person_assignHRUserRole.xml
+70
-0
bt5/erp5_travel_expense_ui_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSTravelExpense.py
.../portal_components/test.erp5.testOfficeJSTravelExpense.py
+299
-0
bt5/erp5_travel_expense_ui_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSTravelExpense.xml
...portal_components/test.erp5.testOfficeJSTravelExpense.xml
+127
-0
bt5/erp5_travel_expense_ui_test/bt/dependency_list
bt5/erp5_travel_expense_ui_test/bt/dependency_list
+2
-1
bt5/erp5_travel_expense_ui_test/bt/template_keep_last_workflow_history_only_path_list
...est/bt/template_keep_last_workflow_history_only_path_list
+8
-0
bt5/erp5_travel_expense_ui_test/bt/template_path_list
bt5/erp5_travel_expense_ui_test/bt/template_path_list
+13
-1
bt5/erp5_travel_expense_ui_test/bt/template_skin_id_list
bt5/erp5_travel_expense_ui_test/bt/template_skin_id_list
+1
-0
bt5/erp5_travel_expense_ui_test/bt/template_test_id_list
bt5/erp5_travel_expense_ui_test/bt/template_test_id_list
+2
-1
No files found.
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequestModule_viewLeaveRequestList.xml
View file @
290fdc03
...
...
@@ -50,6 +50,7 @@
<value>
<list>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
...
...
@@ -65,6 +66,15 @@
</list>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list>
<string>
listbox_delivery_start_date
</string>
<string>
listbox_delivery_stop_date
</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
...
...
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequestModule_viewLeaveRequestList/listbox_delivery_start_date.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
required
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_delivery_start_date
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_date_time_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Start Date
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequestModule_viewLeaveRequestList/listbox_delivery_stop_date.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
required
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_delivery_stop_date
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_date_time_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Stop Date
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequest_view.xml
View file @
290fdc03
...
...
@@ -95,6 +95,7 @@
<string>
my_destination_title
</string>
<string>
my_default_leave_request_period_quantity
</string>
<string>
my_default_leave_request_period_resource
</string>
<string>
my_resource_title
</string>
</list>
</value>
</item>
...
...
bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/LeaveRequest_view/my_resource_title.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StringField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_resource_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
<item>
<key>
<string>
too_long
</string>
</key>
<value>
<string>
Too much input was given.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Leave Request Type
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense/ActionTemplateItem/portal_types/Expense%20Validation%20Request/jump_to_related_document.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_jump
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_jump
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
jump_to_related_document
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
2.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Documents
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
string:${object_url}/Base_jumpToRelatedObject?base_category=follow_up&portal_type:list=PDF&portal_type:list=Image&target_form_id=PDF_viewPDFJSPreview&reset:int=1
]]>
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
python:portal.Base_checkPermission(\'document_module\', \'View\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense/ActionTemplateItem/portal_types/Expense%20Validation%20Request/jump_to_related_transaction.xml
View file @
290fdc03
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jump
</string>
<string>
action_type/object_j
io_j
ump
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jump
</string>
</value>
<value>
<string>
object_j
io_j
ump
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.js
View file @
290fdc03
...
...
@@ -109,7 +109,7 @@
doc
=
{
parent_relative_url
:
"
expense_sheet_module
"
,
portal_type
:
"
Expense Sheet
"
,
modification_date
:
new
Date
().
toISOString
()
modification_date
:
new
Date
().
toISOString
()
.
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
)
};
for
(
i
=
0
;
i
<
submit_event
.
target
.
length
;
i
+=
1
)
{
if
((
form
[
i
].
type
==
"
radio
"
)
&&
!
form
[
i
].
checked
){
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.xml
View file @
290fdc03
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
<value>
<string>
9
94.55194.7094.63129
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
16
13394000.2
2
</float>
<float>
16
31870322.6
2
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.js
View file @
290fdc03
...
...
@@ -37,7 +37,7 @@
visible_in_html5_app_flag
:
1
,
record_revision
:
(
gadget
.
options
.
doc
.
record_revision
||
1
),
photo_data
:
gadget
.
options
.
doc
.
photo_data
||
""
,
modification_date
:
new
Date
().
toISOString
()
modification_date
:
new
Date
().
toISOString
()
.
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
)
};
for
(
i
=
0
;
i
<
form
.
length
;
i
+=
1
)
{
// XXX Should check input type instead
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.xml
View file @
290fdc03
...
...
@@ -249,7 +249,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
<value>
<string>
9
94.55211.54129.37256
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -267,7 +267,7 @@
</tuple>
<state>
<tuple>
<float>
16
13394030.7
6
</float>
<float>
16
31870156.3
6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_gadget_html.html
deleted
100644 → 0
View file @
007891da
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
Jio Gadget
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"alertify.css"
/>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"jiodev.js"
type=
"text/javascript"
></script>
<script
src=
"alertify.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_hr_jio.js"
type=
"text/javascript"
></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_geoLocalisation_js.js
View file @
290fdc03
...
...
@@ -59,7 +59,7 @@
latitude
:
gadget
.
geoLocation
.
coords
.
latitude
,
source_title
:
gadget
.
author
,
simulation_state
:
'
draft
'
,
creation_date
:
new
Date
().
toISOString
().
slice
(
0
,
10
)
modification_date
:
new
Date
().
toISOString
().
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
)
});
});
});
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_geoLocalisation_js.xml
View file @
290fdc03
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.50385.17297.63180
</string>
</value>
<value>
<string>
9
94.55194.7094.63129
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
1
485167188.03
</float>
<float>
1
631882043.11
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_jio_js.js
deleted
100644 → 0
View file @
007891da
/*global window, rJS, RSVP, jIO, alertify, UriTemplate, indexedDB*/
/*jslint indent: 2, nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
jIO
,
UriTemplate
,
alertify
,
indexedDB
)
{
"
use strict
"
;
// xxxxxxxxxxxxxxxxx overwrite
/*
function openIndexedDB(jio_storage) {
var db_name = jio_storage._database_name;
function resolver(resolve, reject) {
// Open DB //
var request = indexedDB.open(db_name);
request.onerror = function (error) {
if (request.result) {
request.result.close();
}
reject(error);
};
request.onabort = function () {
request.result.close();
reject("Aborting connection to: " + db_name);
};
request.ontimeout = function () {
request.result.close();
reject("Connection to: " + db_name + " timeout");
};
request.onblocked = function () {
request.result.close();
reject("Connection to: " + db_name + " was blocked");
};
// Create DB if necessary //
request.onupgradeneeded = function () {
return;
};
request.onversionchange = function () {
request.result.close();
reject(db_name + " was upgraded");
};
request.onsuccess = function () {
resolve(request.result);
};
}
// XXX Canceller???
return new RSVP.Queue()
.push(function () {
return new RSVP.Promise(resolver);
});
}
function openTransaction(db, stores, flag, autoclosedb) {
var tx = db.transaction(stores, flag);
if (autoclosedb !== false) {
tx.oncomplete = function () {
db.close();
};
}
tx.onabort = function () {
db.close();
};
return tx;
}
function handleRequest(request) {
function resolver(resolve, reject) {
request.onerror = reject;
request.onsuccess = function () {
resolve(request.result);
};
}
return new RSVP.Promise(resolver);
}
jIO.__storage_types.indexeddb.prototype.remove = function (id) {
return openIndexedDB(this)
.push(function (db) {
var transaction = openTransaction(db, ["metadata"], "readwrite");
return handleRequest(transaction
.objectStore("metadata")["delete"](id));
});
};*/
function
endsWith
(
str
,
suffix
)
{
return
str
.
indexOf
(
suffix
,
str
.
length
-
suffix
.
length
)
!==
-
1
;
}
function
hashParams
()
{
var
hash
=
window
.
location
.
toString
().
split
(
'
#
'
)[
1
],
split
,
query
=
""
,
subhashes
,
subhash
,
keyvalue
,
index
,
key
,
tmp
,
args
=
{};
if
(
hash
!==
undefined
)
{
split
=
hash
.
split
(
'
?
'
);
query
=
split
[
0
]
||
""
;
}
subhashes
=
query
.
split
(
'
&
'
);
for
(
index
in
subhashes
)
{
if
(
subhashes
.
hasOwnProperty
(
index
))
{
subhash
=
subhashes
[
index
];
if
(
subhash
!==
''
)
{
keyvalue
=
subhash
.
split
(
'
=
'
);
if
(
keyvalue
.
length
===
2
)
{
key
=
decodeURIComponent
(
keyvalue
[
0
]);
tmp
=
decodeURIComponent
(
keyvalue
[
1
]);
if
(
tmp
&&
(
endsWith
(
key
,
"
:json
"
)))
{
tmp
=
JSON
.
parse
(
tmp
);
}
args
[
key
]
=
tmp
;
}
}
}
}
return
args
;
}
function
handleHTTPError
(
gadget
,
error
,
method_name
)
{
var
regexp
=
/^X-Delegate uri="
(
http
[
s
]
*:
\/\/[\/\-\[\]
{}()*+:?.,
\\\^
$|#
\s\w
%
]
+
)
"$/
,
login_page
;
if
((
error
.
target
!==
undefined
)
&&
(
error
.
target
.
status
===
401
))
{
login_page
=
error
.
target
.
getResponseHeader
(
'
WWW-Authenticate
'
);
// Only connect to https to login
var
regexp
=
/^X-Delegate uri="
(
http
[
s
]
*:
\/\/[\/\-\[\]
{}()*+:?.,
\\\^
$|#
\s\w
%
]
+
)
"$/
var
auth_page
=
error
.
target
.
getResponseHeader
(
'
WWW-Authenticate
'
),
site
;
if
(
regexp
.
test
(
auth_page
))
{
site
=
UriTemplate
.
parse
(
regexp
.
exec
(
auth_page
)[
1
]
).
expand
({
came_from
:
window
.
location
.
href
+
"
#{&n.me}
"
,
cors_origin
:
window
.
location
.
origin
,
});
}
if
(
site
)
{
return
gadget
.
redirect
({
toExternal
:
true
,
url
:
site
});
}
}
if
((
error
.
target
!==
undefined
)
&&
(
error
.
target
.
status
===
0
))
{
alertify
.
error
(
"
you are offline
"
);
window
.
setTimeout
(
function
()
{
if
(
method_name
===
'
repair
'
)
{
alertify
.
error
(
"
synchronisation failed
"
);
}
if
(
method_name
===
'
getAttachment
'
)
{
alertify
.
error
(
"
please try again when online
"
);
}
},
2000
);
return
;
}
throw
error
;
}
function
wrapJioCall
(
gadget
,
method_name
,
argument_list
,
default_storage
)
{
var
storage
=
default_storage
||
gadget
.
state_parameter_dict
.
jio_storage
;
/*if (!gadget.state_parameter_dict.authenticated) {
// Access ERP5 to get information about the login page
return gadget.state_parameter_dict.jio_storage.__storage._remote_sub_storage.getAttachment(
'acl_users',
'links',
{format: 'json'}
)
.push(function () {
gadget.state_parameter_dict.authenticated = true;
return wrapJioCall(gadget, method_name, argument_list);
}, function (error) {
return handleHTTPError(gadget, error);
});
}*/
return
storage
[
method_name
].
apply
(
storage
,
argument_list
)
.
push
(
undefined
,
function
(
error
)
{
return
handleHTTPError
(
gadget
,
error
,
method_name
);
});
}
function
setUserTitle
(
gadget
,
no_auto_resync
)
{
// Get user information
return
;
return
gadget
.
getSetting
(
'
user_title
'
)
.
push
(
function
(
user_title
)
{
if
(
!
user_title
)
{
// Force synchro when user login
return
wrapJioCall
(
gadget
,
'
repair
'
);
}
})
.
push
(
function
()
{
return
wrapJioCall
(
gadget
,
'
get
'
,
[
gadget
.
state_parameter_dict
.
me
]);
})
.
push
(
function
(
person
)
{
if
(
person
)
{
return
gadget
.
setSetting
(
'
user_title
'
,
person
.
first_name
+
"
"
+
person
.
last_name
);
}
else
{
return
gadget
.
setSetting
(
'
user_title
'
,
''
);
}
},
function
(
error
)
{
if
((
error
instanceof
jIO
.
util
.
jIOError
)
&&
(
error
.
status_code
===
404
))
{
if
(
no_auto_resync
!==
true
)
{
// Prevent repair infinite loop if person document is not synchronized
// This is the first automatic synchro to init DB
return
wrapJioCall
(
gadget
,
'
repair
'
)
.
push
(
function
()
{
return
setUserTitle
(
gadget
,
true
);
});
}
return
gadget
.
setSetting
(
'
user_title
'
,
''
);
}
return
gadget
.
setSetting
(
'
user_title
'
,
''
)
.
push
(
function
()
{
throw
error
;
});
});
}
rJS
(
window
)
.
ready
(
function
(
gadget
)
{
alertify
.
set
({
delay
:
1500
});
gadget
.
state_parameter_dict
=
{
authenticated
:
false
};
})
.
declareAcquiredMethod
(
'
setSetting
'
,
'
setSetting
'
)
.
declareAcquiredMethod
(
'
getSetting
'
,
'
getSetting
'
)
.
declareAcquiredMethod
(
'
getUrlFor
'
,
'
getUrlFor
'
)
.
declareAcquiredMethod
(
'
redirect
'
,
'
redirect
'
)
.
declareAcquiredMethod
(
"
getUrlParameter
"
,
"
getUrlParameter
"
)
.
declareMethod
(
'
createJio
'
,
function
()
{
var
gadget
=
this
,
tmp
=
hashParams
(),
hateoas_url
,
default_view
,
me
;
me
=
tmp
[
'
n.me
'
]
||
''
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
if
(
me
)
{
return
gadget
.
setSetting
(
'
me
'
,
me
);
}
})
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getSetting
(
'
hateoas_url
'
),
gadget
.
getSetting
(
'
default_view_reference
'
),
gadget
.
getSetting
(
'
me
'
)
]);
})
.
push
(
function
(
setting_list
)
{
var
jio_storage
;
hateoas_url
=
setting_list
[
0
];
default_view
=
setting_list
[
1
];
me
=
setting_list
[
2
];
if
(
!
me
)
{
jio_storage
=
jIO
.
createJIO
({
type
:
"
erp5
"
,
url
:
setting_list
[
0
],
default_view_reference
:
setting_list
[
1
]
});
return
wrapJioCall
(
gadget
,
'
getAttachment
'
,
[
'
acl_users
'
,
hateoas_url
,
{
format
:
"
json
"
}],
jio_storage
)
.
push
(
function
(
result
)
{
me
=
result
.
_links
.
me
.
href
;
return
gadget
.
setSetting
(
'
me
'
,
me
);
});
}
})
.
push
(
function
()
{
var
current_date
=
new
Date
(),
new_date
=
new
Date
(
current_date
.
getFullYear
(),
current_date
.
getMonth
(),
current_date
.
getDate
()
-
60
);
gadget
.
state_parameter_dict
.
me
=
me
;
//gadget.state_parameter_dict.authenticated = true;
gadget
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
// XXX This drop the signature lists...
query
:
{
query
:
'
(portal_type: "Expense Record" AND (simulation_state:"draft" OR simulation_state:"sent" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Travel Request Record" AND (simulation_state:"draft" OR simulation_state:"sent" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Leave Report Record" AND simulation_state:"stopped")
'
+
'
OR (portal_type: "Leave Request Record" AND (simulation_state:"draft" OR simulation_state:"sent" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Localisation Record" AND (simulation_state:"draft" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Expense Sheet" AND (reference: "expense_sheet"))
'
+
'
OR (portal_type: "Currency" AND validation_state:"validated")
'
+
'
OR (portal_type: "Service" AND validation_state:"validated")
'
+
'
OR (portal_type: "Person" AND id: "
'
+
me
.
split
(
"
/
"
)[
1
]
+
'
")
'
,
limit
:
[
0
,
1234567890
]
},
use_remote_post
:
true
,
conflict_handling
:
2
,
check_local_modification
:
false
,
check_local_creation
:
true
,
check_local_deletion
:
false
,
check_remote_modification
:
false
,
check_remote_creation
:
true
,
check_remote_deletion
:
true
,
local_sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
type
:
"
indexeddb
"
,
database
:
"
mmr-erp5-tmp
"
}
}
},
remote_sub_storage
:
{
type
:
"
erp5
"
,
url
:
hateoas_url
,
default_view_reference
:
default_view
},
signature_sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
type
:
"
indexeddb
"
,
database
:
"
expense-hash-list
"
}
}
});
});
})
.
declareMethod
(
'
get
'
,
function
()
{
return
wrapJioCall
(
this
,
'
get
'
,
arguments
);
})
.
declareMethod
(
'
getAttachment
'
,
function
()
{
if
(
this
.
state_parameter_dict
.
online
)
{
return
wrapJioCall
(
this
,
'
getAttachment
'
,
[
arguments
[
0
],
arguments
[
1
],
{
format
:
"
json
"
}]);
}
return
wrapJioCall
(
this
,
'
getAttachment
'
,
[
arguments
[
0
],
arguments
[
1
],
{
format
:
"
json
"
}],
this
.
state_parameter_dict
.
jio_storage
.
__storage
.
_remote_sub_storage
);
})
.
declareMethod
(
'
post
'
,
function
()
{
return
wrapJioCall
(
this
,
'
post
'
,
arguments
);
})
.
declareMethod
(
'
put
'
,
function
()
{
return
wrapJioCall
(
this
,
'
put
'
,
arguments
);
})
.
declareMethod
(
'
remove
'
,
function
()
{
return
wrapJioCall
(
this
,
'
remove
'
,
arguments
);
})
.
declareMethod
(
'
repair
'
,
function
()
{
var
gadget
=
this
;
return
wrapJioCall
(
this
,
'
repair
'
,
arguments
)
.
push
(
function
()
{
return
setUserTitle
(
gadget
);
})
.
push
(
function
()
{
return
gadget
.
setSetting
(
'
last_sync_date
'
,
new
Date
().
toLocaleString
());
});
})
.
declareMethod
(
'
allDocs
'
,
function
()
{
if
(
arguments
[
0
].
query
)
{
if
(
arguments
[
0
].
query
.
indexOf
(
'
relative_url
'
)
!==
-
1
)
{
return
this
.
getSetting
(
'
user_title
'
)
.
push
(
function
(
result
)
{
return
{
'
data
'
:
{
'
rows
'
:
[{
'
value
'
:
{
'
title
'
:
result
}
}]
}
};
});
}
}
return
wrapJioCall
(
this
,
'
allDocs
'
,
arguments
);
});
}(
window
,
rJS
,
RSVP
,
jIO
,
UriTemplate
,
alertify
,
indexedDB
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.js
View file @
290fdc03
...
...
@@ -241,7 +241,7 @@
parent_relative_url
:
"
record_module
"
,
portal_type
:
"
Leave Request Record
"
,
source_reference
:
source_reference
,
modification_date
:
new
Date
().
toISOString
()
modification_date
:
new
Date
().
toISOString
()
.
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
)
};
for
(
i
=
0
;
i
<
submit_event
.
target
.
length
;
i
+=
1
)
{
// XXX Should check input type instead
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.xml
View file @
290fdc03
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
<value>
<string>
9
94.55194.7094.63129
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
16
13394086.14
</float>
<float>
16
31870226.12
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.js
View file @
290fdc03
...
...
@@ -250,7 +250,7 @@
source_reference
:
source_reference
,
visible_in_html5_app_flag
:
1
,
record_revision
:
(
gadget
.
options
.
doc
.
record_revision
||
1
),
modification_date
:
new
Date
().
toISOString
()
modification_date
:
new
Date
().
toISOString
()
.
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
)
};
for
(
i
=
0
;
i
<
submit_event
.
target
.
length
;
i
+=
1
)
{
// XXX Should check input type instead
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.xml
View file @
290fdc03
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
<value>
<string>
9
94.55194.7094.63129
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
16
13394114.93
</float>
<float>
16
31870363.32
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_html.html
View file @
290fdc03
...
...
@@ -9,6 +9,7 @@
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"jiodev.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_officejs_hr_tool.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_officejs_page_jio_erp5_configurator.js"
></script>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_html.xml
View file @
290fdc03
...
...
@@ -246,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.52991.40280.18790
</string>
</value>
<value>
<string>
9
94.52542.52680.32887
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,8 +264,8 @@
</tuple>
<state>
<tuple>
<float>
1
523626101.75
</float>
<string>
GMT+2
</string>
<float>
1
631713807.8
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.js
View file @
290fdc03
/*global window, rJS, RSVP, URI, location,
/*global window, rJS, RSVP, URI, location,
getSynchronizeQuery,
btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setjIOERP5Configuration
(
gadget
)
{
var
erp5_url
=
gadget
.
props
.
element
.
querySelector
(
"
input[name='erp5_url']
"
).
value
;
var
erp5_url
=
gadget
.
props
.
element
.
querySelector
(
"
input[name='erp5_url']
"
).
value
,
original_query
=
getSynchronizeQuery
(
null
);
return
gadget
.
setSetting
(
"
me
"
,
''
)
.
push
(
function
()
{
var
configuration
=
{
type
:
"
replicate
"
,
query
:
{
query
:
'
(portal_type: "Expense Record" AND (simulation_state:"draft" OR simulation_state:"sent" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Travel Request Record" AND (simulation_state:"draft" OR simulation_state:"sent" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Leave Report Record" AND simulation_state:"stopped")
'
+
'
OR (portal_type: "Leave Request Record" AND (simulation_state:"draft" OR simulation_state:"sent" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Localisation Record" AND (simulation_state:"draft" OR simulation_state:"stopped"))
'
+
'
OR (portal_type: "Expense Sheet" AND (reference: "expense_sheet"))
'
+
'
OR (portal_type: "Currency" AND validation_state:"validated")
'
+
'
OR (portal_type: "Service" AND validation_state:"validated")
'
,
query
:
original_query
,
limit
:
[
0
,
1234567890
]
},
use_remote_post
:
true
,
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.xml
View file @
290fdc03
...
...
@@ -245,7 +245,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
<value>
<string>
9
94.52549.19733.34850
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -263,7 +263,7 @@
</tuple>
<state>
<tuple>
<float>
16
13394309.96
</float>
<float>
16
31711329.34
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_html.html
View file @
290fdc03
...
...
@@ -10,6 +10,8 @@
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"jiodev.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_officejs_hr_tool.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_officejs_hr_jio.js"
type=
"text/javascript"
></script>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_html.xml
View file @
290fdc03
...
...
@@ -246,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.52672.52784.27187
</string>
</value>
<value>
<string>
9
94.52543.36230.12339
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,8 +264,8 @@
</tuple>
<state>
<tuple>
<float>
1
523518145.13
</float>
<string>
GMT+2
</string>
<float>
1
631713769.69
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_js.js
View file @
290fdc03
...
...
@@ -56,6 +56,7 @@
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
getSettingList
"
,
"
getSettingList
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareMethod
(
'
createJio
'
,
function
(
jio_options
)
{
...
...
@@ -99,31 +100,87 @@
.
declareMethod
(
'
repair
'
,
function
()
{
var
gadget
=
this
;
return
this
.
getSetting
(
"
jio_storage_name
"
)
.
push
(
function
(
jio_storage_name
)
{
//try to specify me
if
(
jio_storage_name
===
'
ERP5
'
)
{
return
gadget
.
getSetting
(
'
me
'
)
.
push
(
function
(
me
)
{
if
(
!
me
)
{
return
gadget
.
getSetting
(
'
jio_storage_description
'
)
.
push
(
function
(
configuration
)
{
gadget
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
(
configuration
.
remote_sub_storage
);
return
wrapJioCall
(
gadget
,
'
getAttachment
'
,
[
'
acl_users
'
,
configuration
.
remote_sub_storage
.
url
,
{
format
:
"
json
"
}])
.
push
(
function
(
result
)
{
//recreate erp5 storage with indexeddb
me
=
result
.
_links
.
me
?
result
.
_links
.
me
.
href
:
'
manager
'
;
configuration
.
query
.
query
+=
'
OR (portal_type: "Person" AND id: "
'
+
me
.
split
(
"
/
"
)[
1
]
+
'
")
'
,
gadget
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
(
configuration
);
return
gadget
.
setSetting
(
'
me
'
,
me
);
})
.
push
(
function
()
{
return
gadget
.
setSetting
(
'
jio_storage_description
'
,
configuration
);
});
});
}
});
.
push
(
function
(
jio_storage_name
)
{
if
(
jio_storage_name
===
'
ERP5
'
)
{
return
gadget
.
getSettingList
([
'
jio_storage_description
'
,
'
me
'
])
.
push
(
function
(
result_list
)
{
var
additional_query_list
=
[],
service_query
=
new
ComplexQuery
({
operator
:
'
OR
'
,
query_list
:
[],
type
:
"
complex
"
}),
me
;
gadget
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
(
result_list
[
0
].
remote_sub_storage
);
return
wrapJioCall
(
gadget
,
'
allDocs
'
,
[
{
"
query
"
:
'
(selection_domain_use:"hr" AND translated_validation_state_title: "validated")
'
,
"
limit
"
:
[
0
,
1000
]
}
])
.
push
(
function
(
result
)
{
var
i
;
if
(
result
.
data
.
rows
.
length
)
{
for
(
i
=
0
;
i
<
result
.
data
.
rows
.
length
;
i
+=
1
)
{
service_query
.
query_list
.
push
(
new
SimpleQuery
({
key
:
'
id
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
result
.
data
.
rows
[
i
].
id
.
split
(
'
/
'
)[
1
]
}));
}
additional_query_list
.
push
(
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Service
'
}),
service_query
],
type
:
"
complex
"
}));
}
if
(
!
result_list
[
1
])
{
return
wrapJioCall
(
gadget
,
'
getAttachment
'
,
[
'
acl_users
'
,
result_list
[
0
].
remote_sub_storage
.
url
,
{
format
:
"
json
"
}])
.
push
(
function
(
result
)
{
me
=
result
.
_links
.
me
?
result
.
_links
.
me
.
href
:
'
manager
'
;
return
gadget
.
setSetting
(
'
me
'
,
me
);
})
}
else
{
me
=
result_list
[
1
];
}
})
.
push
(
function
()
{
additional_query_list
.
push
(
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Person
'
}),
new
SimpleQuery
({
key
:
'
id
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
me
.
split
(
"
/
"
)[
1
]
})
],
type
:
"
complex
"
}));
result_list
[
0
].
query
.
query
=
getSynchronizeQuery
(
additional_query_list
);
gadget
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
(
result_list
[
0
]);
return
gadget
.
setSetting
(
'
jio_storage_description
'
,
result_list
[
0
]);
});
});
}
})
})
.
push
(
function
()
{
return
wrapJioCall
(
gadget
,
'
repair
'
,
arguments
);
})
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_js.xml
View file @
290fdc03
...
...
@@ -245,7 +245,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.59878.54409.55825
</string>
</value>
<value>
<string>
9
94.52646.4747.8277
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -263,8 +263,8 @@
</tuple>
<state>
<tuple>
<float>
1
523950559.17
</float>
<string>
GMT+2
</string>
<float>
1
631780404.96
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_tool_js.js
View file @
290fdc03
/*global window, RSVP, FileReader */
/*global window, RSVP, FileReader
, QueryFactory, SimpleQuery, ComplexQuery, Query
*/
/*jslint indent: 2, maxerr: 3, unparam: true */
(
function
(
window
,
RSVP
)
{
"
use strict
"
;
...
...
@@ -96,4 +96,271 @@
}
return
String
.
fromCharCode
(
random
())
+
String
.
fromCharCode
(
random
())
+
String
.
fromCharCode
(
random
());
};
window
.
getSynchronizeQuery
=
function
(
additional_query_list
)
{
var
basic_query
,
expense_record_query
,
travel_request_record_query
,
leave_report_record_query
,
leave_request_record_query
,
localisation_record_query
,
expense_sheet_query
,
currency_query
,
six_month_ago
,
one_year_ago
;
six_month_ago
=
new
Date
();
six_month_ago
.
setMonth
(
six_month_ago
.
getMonth
()
-
6
);
six_month_ago
=
six_month_ago
.
toISOString
().
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
);
one_year_ago
=
new
Date
();
one_year_ago
.
setFullYear
(
one_year_ago
.
getFullYear
()
-
1
);
one_year_ago
=
one_year_ago
.
toISOString
().
slice
(
0
,
10
).
replace
(
/-/g
,
"
/
"
);
expense_record_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Expense Record
'
}),
new
SimpleQuery
({
key
:
'
modification_date
'
,
operator
:
'
>
'
,
type
:
"
simple
"
,
value
:
six_month_ago
}),
new
ComplexQuery
({
operator
:
'
OR
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
draft
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
sent
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
stopped
"
})
],
type
:
"
complex
"
})
],
type
:
"
complex
"
});
travel_request_record_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Travel Request Record
'
}),
new
SimpleQuery
({
key
:
'
modification_date
'
,
operator
:
'
>
'
,
type
:
"
simple
"
,
value
:
six_month_ago
}),
new
ComplexQuery
({
operator
:
'
OR
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
draft
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
sent
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
stopped
"
})
],
type
:
"
complex
"
})
],
type
:
"
complex
"
});
leave_report_record_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Leave Report Record
'
}),
new
SimpleQuery
({
key
:
'
modification_date
'
,
operator
:
'
>
'
,
type
:
"
simple
"
,
value
:
six_month_ago
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
stopped
"
})
],
type
:
"
complex
"
});
leave_request_record_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Leave Request Record
'
}),
new
SimpleQuery
({
key
:
'
modification_date
'
,
operator
:
'
>
'
,
type
:
"
simple
"
,
value
:
one_year_ago
}),
new
ComplexQuery
({
operator
:
'
OR
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
draft
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
sent
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
stopped
"
})
],
type
:
"
complex
"
})
],
type
:
"
complex
"
});
localisation_record_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Localisation Record
'
}),
new
SimpleQuery
({
key
:
'
modification_date
'
,
operator
:
'
>
'
,
type
:
"
simple
"
,
value
:
six_month_ago
}),
new
ComplexQuery
({
operator
:
'
OR
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
draft
"
}),
new
SimpleQuery
({
key
:
'
simulation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
stopped
"
})
],
type
:
"
complex
"
})
],
type
:
"
complex
"
});
expense_sheet_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Expense Sheet
'
}),
new
SimpleQuery
({
key
:
'
reference
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
expense_sheet
"
})
],
type
:
"
complex
"
});
currency_query
=
new
ComplexQuery
({
operator
:
'
AND
'
,
query_list
:
[
new
SimpleQuery
({
key
:
'
portal_type
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
'
Currency
'
}),
new
SimpleQuery
({
key
:
'
validation_state
'
,
operator
:
''
,
type
:
"
simple
"
,
value
:
"
validated
"
})
],
type
:
"
complex
"
});
basic_query
=
new
ComplexQuery
({
operator
:
'
OR
'
,
type
:
'
complex
'
,
query_list
:
[
expense_record_query
,
travel_request_record_query
,
leave_report_record_query
,
leave_request_record_query
,
localisation_record_query
,
expense_sheet_query
,
currency_query
]
});
if
(
additional_query_list
)
{
basic_query
.
query_list
=
basic_query
.
query_list
.
concat
(
additional_query_list
);
}
return
Query
.
objectToSearchText
(
basic_query
);
};
}(
window
,
RSVP
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_tool_js.xml
View file @
290fdc03
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.57355.19823.1464
3
</string>
</value>
<value>
<string>
9
94.42603.26741.3896
3
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
1
485347131.83
</float>
<float>
1
631713737.85
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_translation_html.html
View file @
290fdc03
...
...
@@ -49,7 +49,7 @@
<!-- custom script -->
<script
src=
"gadget_hr_translation_data.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_
hr_
translation.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_translation.js"
type=
"text/javascript"
></script>
</head>
<body>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_translation_html.xml
View file @
290fdc03
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.10717.51315.25070
</string>
</value>
<value>
<string>
9
94.42603.26741.38963
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
1
486476623.77
</float>
<float>
1
631191673.79
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_translation_js.js
deleted
100644 → 0
View file @
007891da
/*global document, window, rJS, translation_data, RSVP */
/*jslint nomen: true, indent: 2 */
(
function
(
document
,
window
,
rJS
,
translation_data
,
RSVP
)
{
"
use strict
"
;
function
translate
(
string
,
gadget
)
{
if
(
translation_data
[
gadget
.
state
.
language
])
{
return
translation_data
[
gadget
.
state
.
language
][
string
]
||
string
;
}
return
string
;
}
// translate a list of elements passed and returned as string
function
translateHtml
(
string
,
gadget
)
{
var
temp
,
element_list
,
i
,
i_len
,
element
,
lookup
,
translate_list
,
target
,
route_text
,
has_breaks
,
l
,
l_len
,
j
,
j_len
;
// NOTE: <div> cannot be used for everything... (like table rows)
// XXX: currently I only update where needed. Eventually all calls to
// translateHtml should pass "their" proper wrapping element
temp
=
document
.
createElement
(
"
div
"
);
temp
.
innerHTML
=
string
;
element_list
=
temp
.
querySelectorAll
(
"
[data-i18n]
"
);
for
(
i
=
0
,
i_len
=
element_list
.
length
;
i
<
i_len
;
i
+=
1
)
{
element
=
element_list
[
i
];
lookup
=
element
.
getAttribute
(
"
data-i18n
"
);
if
(
lookup
)
{
translate_list
=
lookup
.
split
(
"
;
"
);
for
(
l
=
0
,
l_len
=
translate_list
.
length
;
l
<
l_len
;
l
+=
1
)
{
target
=
translate_list
[
l
].
split
(
"
]
"
);
switch
(
target
[
0
])
{
case
"
[placeholder
"
:
case
"
[alt
"
:
case
"
[title
"
:
element
.
setAttribute
(
target
[
0
].
substr
(
1
),
translate
(
target
[
1
],
gadget
));
break
;
case
"
[value
"
:
has_breaks
=
element
.
previousSibling
.
textContent
.
match
(
/
\n
/g
);
// JQM inputs > this avoids calling checkboxRadio("refresh")!
if
(
element
.
tagName
===
"
INPUT
"
)
{
switch
(
element
.
type
)
{
case
"
submit
"
:
case
"
reset
"
:
case
"
button
"
:
route_text
=
true
;
break
;
}
}
if
(
route_text
&&
(
has_breaks
||
[]).
length
===
0
)
{
element
.
previousSibling
.
textContent
=
translate
(
target
[
1
],
gadget
);
}
element
.
value
=
translate
(
target
[
1
],
gadget
);
break
;
case
"
[parent
"
:
element
.
parentNode
.
childNodes
[
0
].
textContent
=
translate
(
target
[
1
],
gadget
);
break
;
case
"
[node
"
:
element
.
childNodes
[
0
].
textContent
=
translate
(
target
[
1
],
gadget
);
break
;
case
"
[last
"
:
// if null, append, if textnode replace, if span, appned
if
(
element
.
lastChild
&&
element
.
lastChild
.
nodeType
===
3
)
{
element
.
lastChild
.
textContent
=
translate
(
target
[
1
],
gadget
);
}
else
{
element
.
appendChild
(
document
.
createTextNode
(
translate
(
target
[
1
],
gadget
)));
}
break
;
case
"
[html
"
:
element
.
innerHTML
=
translate
(
target
[
1
],
gadget
);
break
;
default
:
if
(
element
.
hasChildNodes
())
{
for
(
j
=
0
,
j_len
=
element
.
childNodes
.
length
;
j
<
j_len
;
j
+=
1
)
{
if
(
element
.
childNodes
[
j
].
nodeType
===
3
)
{
element
.
childNodes
[
j
].
textContent
=
translate
(
translate_list
[
l
],
gadget
);
}
}
}
else
{
element
.
textContent
=
translate
(
translate_list
[
l
],
gadget
);
}
break
;
}
}
}
}
// return string
return
temp
.
innerHTML
;
}
rJS
(
window
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareMethod
(
'
translate
'
,
function
(
string
)
{
// XXX Allow to change the language
var
gadget
=
this
;
if
(
!
gadget
.
state
.
language
)
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getSetting
(
"
selected_language
"
),
gadget
.
getSetting
(
"
default_selected_language
"
)
]);
})
.
push
(
function
(
results
)
{
gadget
.
state
.
language
=
results
[
0
]
||
results
[
1
];
return
translate
(
string
,
gadget
);
});
}
return
translate
(
string
,
gadget
);
})
.
declareMethod
(
'
translateHtml
'
,
function
(
string
)
{
var
gadget
=
this
;
if
(
!
gadget
.
state
.
language
)
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getSetting
(
"
selected_language
"
),
gadget
.
getSetting
(
"
default_selected_language
"
)
]);
})
.
push
(
function
(
results
)
{
gadget
.
state
.
language
=
results
[
0
]
||
results
[
1
];
return
translateHtml
(
string
,
gadget
);
});
}
return
translateHtml
(
string
,
gadget
);
});
}(
document
,
window
,
rJS
,
translation_data
,
RSVP
));
bt5/erp5_travel_expense/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
290fdc03
...
...
@@ -4,6 +4,7 @@
</portal_type>
<portal_type
id=
"Expense Validation Request"
>
<item>
ExpenseValidationRequest
</item>
<item>
ExpenseValidationRequestConstraint
</item>
</portal_type>
<portal_type
id=
"Leave Request Record"
>
<item>
LeaveRequestRecord
</item>
...
...
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ExpenseValidationRequestConstraint
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint/section_existence_constraint.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category Existence Constraint"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
constraint_base_category
</string>
</key>
<value>
<tuple>
<string>
source_section
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
constraint_portal_type
</string>
</key>
<value>
<string>
python: ()
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
section_existence_constraint
</string>
</value>
</item>
<item>
<key>
<string>
message_category_not_set
</string>
</key>
<value>
<string>
Section must be defined
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Existence Constraint
</string>
</value>
</item>
<item>
<key>
<string>
use_acquisition
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/Alarm_createRepresentativeRecordForExpenseValidationRequest.py
View file @
290fdc03
from
Products.ZSQLCatalog.SQLCatalog
import
Query
from
erp5.component.module.DateUtils
import
addToDate
from
DateTime
import
DateTime
portal
=
context
.
getPortalObject
()
portal
.
portal_catalog
.
searchAndActivate
(
portal_type
=
"Expense Validation Request"
,
method_id
=
'ExpenseValidationRequest_createRepresentativeRecord'
,
creation_date
=
Query
(
creation_date
=
addToDate
(
DateTime
(),
to_add
=
{
'day'
:
-
120
}),
range
=
"min"
),
activate_kw
=
{
'tag'
:
tag
},
)
context
.
activate
(
after_tag
=
tag
).
getId
()
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/Alarm_createRepresentativeRecordForLeaveRequest.py
View file @
290fdc03
from
Products.ZSQLCatalog.SQLCatalog
import
Query
from
erp5.component.module.DateUtils
import
addToDate
from
DateTime
import
DateTime
portal
=
context
.
getPortalObject
()
portal
.
portal_catalog
.
searchAndActivate
(
portal_type
=
"Leave Request"
,
method_id
=
'LeaveRequest_createRepresentativeRecord'
,
creation_date
=
Query
(
creation_date
=
addToDate
(
DateTime
(),
to_add
=
{
'day'
:
-
90
}),
range
=
"min"
),
activate_kw
=
{
'tag'
:
tag
},
)
context
.
activate
(
after_tag
=
tag
).
getId
()
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/ExpenseRecord_viewAsJio/your_modification_date.xml
View file @
290fdc03
...
...
@@ -279,7 +279,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getModificationDate().
HTML4
()
</string>
</value>
<value>
<string>
python: here.getModificationDate().
Date
()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LeaveRequestRecord_updateRelatedTicket.py
View file @
290fdc03
...
...
@@ -17,6 +17,7 @@ else:
)
ticket
=
record
.
getFollowUpValue
()
ticket
.
setDestination
(
record
.
getSource
())
ticket
.
setResource
(
record
.
getResource
())
ticket
.
plan
()
record
.
setDestinationReference
(
ticket
.
getReference
())
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LeaveRequestRecord_viewAsJio/your_modification_date.xml
View file @
290fdc03
...
...
@@ -279,7 +279,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getModificationDate().
HTML4
()
</string>
</value>
<value>
<string>
python: here.getModificationDate().
Date
()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/TravelRequestRecord_viewAsJio/your_modification_date.xml
View file @
290fdc03
...
...
@@ -279,7 +279,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getModificationDate().
HTML4
()
</string>
</value>
<value>
<string>
python: here.getModificationDate().
Date
()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_request/ExpenseValidationRequest_createPurchaseTransaction.py
View file @
290fdc03
...
...
@@ -27,6 +27,10 @@ transaction = portal.accounting_module.newContent(
causality
=
context
.
getRelativeUrl
(),
)
document
=
context
.
getFollowUpRelatedValue
(
portal_type
=
[
'PDF'
,
'Image'
])
if
document
:
document
.
setFollowUpValueList
(
document
.
getFollowUpValueList
()
+
[
transaction
])
transaction
.
newContent
(
portal_type
=
'Purchase Invoice Transaction Line'
,
destination
=
mission_account
,
...
...
bt5/erp5_travel_expense/WorkflowTemplateItem/portal_workflow/ticket_acceptance_simulation_workflow/transition_accept_action.xml
View file @
290fdc03
...
...
@@ -20,6 +20,7 @@
<tuple>
<string>
action_type/workflow
</string>
<string>
after_script/portal_workflow/ticket_acceptance_simulation_workflow/transition_accept
</string>
<string>
before_script/portal_workflow/ticket_acceptance_simulation_workflow/script_checkConsistency
</string>
</tuple>
</value>
</item>
...
...
bt5/erp5_travel_expense/bt/template_action_path_list
View file @
290fdc03
...
...
@@ -7,6 +7,7 @@ Expense Sheet Module | view
Expense Sheet | jio_view
Expense Sheet | view
Expense Validation Request Module | view
Expense Validation Request | jump_to_related_document
Expense Validation Request | jump_to_related_transaction
Expense Validation Request | records
Expense Validation Request | view
...
...
bt5/erp5_travel_expense/bt/template_portal_type_property_sheet_list
View file @
290fdc03
Expense Record | ExpenseRecord
Expense Validation Request | ExpenseValidationRequest
Expense Validation Request | ExpenseValidationRequest
Expense Validation Request | ExpenseValidationRequest
Constraint
Leave Request Record | LeaveRequestRecord
Localisation Record | GeographicalPoint
Travel Request Record | TravelRequestRecord
...
...
bt5/erp5_travel_expense/bt/template_property_sheet_id_list
View file @
290fdc03
...
...
@@ -2,4 +2,5 @@ ExpenseRecord
LeaveRequestRecord
TravelRequestRecord
TravelRequest
ExpenseValidationRequest
\ No newline at end of file
ExpenseValidationRequest
ExpenseValidationRequestConstraint
\ No newline at end of file
bt5/erp5_travel_expense
/PathTemplateItem/web_page_module/gadget_hr_jio_js
.xml
→
bt5/erp5_travel_expense
_ui_test/PathTemplateItem/account_module/travel_expense_credit_account
.xml
View file @
290fdc03
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"
Web Scrip
t"
module=
"erp5.portal_type"
/>
<global
name=
"
Accoun
t"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -10,7 +10,6 @@
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
...
...
@@ -27,15 +26,18 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_
Change_local_role
s_Permission
</string>
</key>
<key>
<string>
_
Delete_object
s_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -46,6 +48,7 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -53,7 +56,6 @@
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
...
...
@@ -63,56 +65,13 @@
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/2
</string>
<string>
contributor/person_module/5
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_hr_jio.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_hr_jio_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
<value>
<string>
travel_expense_credit_account
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
HR Gadget JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
<value>
<string>
Account
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
...
...
@@ -134,7 +93,7 @@
<value>
<dictionary>
<item>
<key>
<string>
document_publication
_workflow
</string>
</key>
<key>
<string>
account
_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
...
...
@@ -145,12 +104,6 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
...
...
@@ -170,7 +123,9 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -196,7 +151,7 @@
</tuple>
<state>
<tuple>
<float>
1
479221739.78
</float>
<float>
1
631277642.55
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -205,7 +160,7 @@
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
<value>
<string>
draft
</string>
</value>
</item>
</dictionary>
</list>
...
...
@@ -236,7 +191,7 @@
<item>
<key>
<string>
comment
</string>
</key>
<value>
<
none/
>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent
>
</value>
</item>
<item>
...
...
@@ -245,7 +200,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
966.50115.49905.16025
</string>
</value>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -263,8 +218,8 @@
</tuple>
<state>
<tuple>
<float>
1
523364927.08
</float>
<string>
GMT+2
</string>
<float>
1
631277642.55
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
@@ -279,62 +234,33 @@
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"
WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow
"
/>
<global
name=
"
Message"
module=
"Products.ERP5Type.Message
"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<string>
Object copied from ${source_item}
</string>
</value>
</item>
<item>
<key>
<string>
domain
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
mapping
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1479221698.05
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
<dictionary>
<item>
<key>
<string>
source_item
</string>
</key>
<value>
<string>
/erp5/account_module/1
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
message
</string>
</key>
<value>
<string>
Object copied from ${source_item}
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_travel_expense_ui_test/PathTemplateItem/account_module/travel_expense_debit_account.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Account"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
travel_expense_debit_account
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Account
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
account_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631277631.12
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
draft
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631277631.13
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/currency_module/hr_test_currency.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Currency"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
hr_test_currency
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Currency
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
TEST_CURRENCY
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.55204.22462.64989
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631869709.01
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631869713.2
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense
/PathTemplateItem/web_page_module/gadget_hr_translation_js
.xml
→
bt5/erp5_travel_expense
_ui_test/PathTemplateItem/person_module/hr_user
.xml
View file @
290fdc03
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"
Web Script
"
module=
"erp5.portal_type"
/>
<global
name=
"
Person
"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -10,11 +10,11 @@
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
...
...
@@ -26,16 +26,10 @@
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -45,7 +39,10 @@
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -53,72 +50,78 @@
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
_count
</string>
</key>
<value>
<
none/
>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent
>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_hr_translation.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
_mt_index
</string>
</key>
<value>
<
none/
>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent
>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_hr_translation_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
_tree
</string>
</key>
<value>
<
none/
>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent
>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
<key>
<string>
id
</string>
</key>
<value>
<string>
hr_user
</string>
</value>
</item>
<item>
<key>
<string>
titl
e
</string>
</key>
<value>
<string>
Gadget Hr Translation JS
</string>
</value>
<key>
<string>
portal_typ
e
</string>
</key>
<value>
<string>
Person
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
<key>
<string>
user_id
</string>
</key>
<value>
<string>
P0
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
...
...
@@ -129,21 +132,21 @@
<value>
<dictionary>
<item>
<key>
<string>
document_publication
_workflow
</string>
</key>
<key>
<string>
edit
_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edi
t_workflow
</string>
</key>
<key>
<string>
user_accoun
t_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status
_workflow
</string>
</key>
<key>
<string>
validation
_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
g
=
</string>
</persistent>
</value>
</item>
</dictionary>
...
...
@@ -152,7 +155,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
3"
aka=
"AAAAAAAAAAM
="
>
<record
id=
"
6"
aka=
"AAAAAAAAAAY
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -165,7 +168,7 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -179,6 +182,14 @@
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
...
...
@@ -191,17 +202,13 @@
</tuple>
<state>
<tuple>
<float>
1
486474115.47
</float>
<float>
1
631277135.33
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</value>
...
...
@@ -209,7 +216,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<record
id=
"
7"
aka=
"AAAAAAAAAAc
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -222,7 +229,9 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -230,22 +239,12 @@
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.10696.38833.4625
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
...
...
@@ -258,13 +257,17 @@
</tuple>
<state>
<tuple>
<float>
1
486474204.8
3
</float>
<float>
1
631277135.3
3
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
user_account_state
</string>
</key>
<value>
<string>
draft
</string>
</value>
</item>
</dictionary>
</list>
</value>
...
...
@@ -272,7 +275,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<record
id=
"
8"
aka=
"AAAAAAAAAAg
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -285,7 +288,9 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -299,14 +304,6 @@
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
...
...
@@ -319,13 +316,17 @@
</tuple>
<state>
<tuple>
<float>
1
486474082.13
</float>
<float>
1
631277135.34
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
draft
</string>
</value>
</item>
</dictionary>
</list>
</value>
...
...
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/publication_section/hr_document.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
hr_document
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
HR Document
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
category_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631277360.11
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
embedded
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.45332.133.7936
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631277374.77
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/expense_validation_request.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
use/hr/expense_validation_request
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
codification
</string>
</key>
<value>
<string>
EVR
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
EVR
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
expense_validation_request
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<string>
Expense Validation
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Expense Validation Request
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/expense_validation_request/expense.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
expense
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Expense
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/leave.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
use/hr/leave
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
LEAVE
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
leave
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<string>
Leave
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Leave
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/leave/maladie.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
maladie
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
maladie
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
category_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631279222.36
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
embedded
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.45363.2594.5444
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631279234.05
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/travel_request.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
use/hr/travel_request
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
codification
</string>
</key>
<value>
<string>
TR
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
TR
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
travel_request
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<string>
Travel Request
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Travel Request
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_categories/use/hr/travel_request/travel.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
travel
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Travel
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJS
TravelExpenseSync
.xml
→
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJS
OnlyGetRelatedService
.xml
View file @
290fdc03
...
...
@@ -42,7 +42,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJS
TravelExpenseSync
</string>
</value>
<value>
<string>
testOfficeJS
OnlyGetRelatedService
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
...
...
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSOnlyGetRelatedService.zpt
0 → 100644
View file @
290fdc03
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS HR
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=erp5_url
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=erp5_url
</td>
<td>
${base_url}/web_site_module/
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Connect']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_document']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_document']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=leave_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=leave_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_leave_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_leave_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//option[@value='service_module/hr_test_need_to_sync']
</td>
<td></td>
</tr>
<tr>
<td>
verifyElementNotPresent
</td>
<td>
//option[@value='service_module/hr_test_no_need_to_sync']
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpensePreference.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSTravelExpensePreference
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpensePreference.zpt
0 → 100644
View file @
290fdc03
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS HR
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/#page=jio_configurator
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//a[@href='#page=preference']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=preference']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=preference']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
User
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSTravelExpenseSyncExpense
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.zpt
0 → 100644
View file @
290fdc03
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS HR
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/Person_assignHRUserRole/
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
ok
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/logout
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="__ac_name"]
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_name"]
</td>
<td>
test
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_password"]
</td>
<td>
test
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@value='Login']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Logged In as
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=erp5_url
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=erp5_url
</td>
<td>
${base_url}/web_site_module/
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Connect']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_document']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_document']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name='comment']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//textarea[@name='comment']
</td>
<td>
Test
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='quantity']
</td>
<td>
12
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='sync_flag']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Waiting for approval
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Alarm_launchRecordAlarm
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
ok
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/ExpenseRecord_askQuestionForLatestExpenseValidationRequest
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
ok
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[contains(text(), 'Suspended')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[contains(text(), 'Suspended')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Ask question test
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//div[@class="discussion"]//textarea
</td>
<td>
sososo
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@class="discussion"]//button[@name='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Not synced
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Synchronize"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Synchronize"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
State
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextNotPresent
</td>
<td>
Not synced
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/ExpenseValidationRequest_launchAlarms
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
ok
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=expense_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[contains(text(), "Test")]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[contains(text(), "Test")]
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
sososo
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpenseSheet.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSTravelExpenseSyncExpenseSheet
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSync.zpt
→
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSync
ExpenseSheet
.zpt
View file @
290fdc03
...
...
@@ -94,66 +94,6 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=travel_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=travel_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_travel_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_travel_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=leave_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=leave_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_leave_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_leave_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=expense_sheet_list']
</td>
...
...
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncLeave.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSTravelExpenseSyncLeave
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncLeave.zpt
0 → 100644
View file @
290fdc03
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS HR
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=erp5_url
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=erp5_url
</td>
<td>
${base_url}/web_site_module/
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Connect']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_leave_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_leave_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name='comment']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//textarea[@name='comment']
</td>
<td>
Test
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='sync_flag']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=leave_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=leave_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Waiting for approval
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncTravel.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSTravelExpenseSyncTravel
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncTravel.zpt
0 → 100644
View file @
290fdc03
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS HR
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_hr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//div[contains(@class, 'ui-state-disabled')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=erp5_url
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=erp5_url
</td>
<td>
${base_url}/web_site_module/
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Connect']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=travel_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=travel_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=add_travel_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=add_travel_request_record']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name='comment']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//textarea[@name='comment']
</td>
<td>
Test
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='sync_flag']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Send
&
Receive']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@href='#page=travel_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=travel_request_record_list']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Waiting for approval
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_need_to_sync.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Service"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
use/hr/leave/maladie
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
hr_test_need_to_sync
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Service
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
need_to_sync
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.45365.32949.5905
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631780950.91
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631279126.09
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_need_to_sync_expense.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Service"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
use/hr/expense_validation_request/expense
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
hr_test_need_to_sync_expense
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Service
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
need_to_sync_expense
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.55218.19439.48025
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631871215.44
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631869500.96
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense
/PathTemplateItem/web_page_module/gadget_hr_gadget_htm
l.xml
→
bt5/erp5_travel_expense
_ui_test/PathTemplateItem/service_module/hr_test_need_to_sync_trave
l.xml
View file @
290fdc03
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"
Web Pag
e"
module=
"erp5.portal_type"
/>
<global
name=
"
Servic
e"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -10,13 +10,11 @@
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -26,15 +24,7 @@
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
...
...
@@ -45,6 +35,7 @@
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
...
...
@@ -53,13 +44,11 @@
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -67,53 +56,33 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/2
</string>
<string>
use/hr/travel_request/travel
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
co
ntent_md5
</string>
</key>
<key>
<string>
co
mment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_hr_jio.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Jio access
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_hr_gadget_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
<value>
<string>
hr_test_need_to_sync_travel
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
<value>
<string>
Service
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Jio Gadget for HR
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
<value>
<string>
need_to_sync_travel
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
...
...
@@ -135,23 +104,17 @@
<value>
<dictionary>
<item>
<key>
<string>
document_publication
_workflow
</string>
</key>
<key>
<string>
edit
_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit
_workflow
</string>
</key>
<key>
<string>
validation
_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
...
...
@@ -159,63 +122,6 @@
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1479221737.93
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -232,7 +138,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
supercedriclen
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -246,7 +152,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
55.64152.22474.31095
</string>
</value>
<value>
<string>
9
94.55253.15580.36727
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,7 +170,7 @@
</tuple>
<state>
<tuple>
<float>
1
481817158.93
</float>
<float>
1
631872643.72
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -278,7 +184,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
@@ -291,7 +197,7 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_fil
e
</string>
</value>
<value>
<string>
validat
e
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -305,14 +211,6 @@
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
...
...
@@ -325,13 +223,17 @@
</tuple>
<state>
<tuple>
<float>
1
479221700.82
</float>
<float>
1
631872647.56
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
...
...
bt5/erp5_travel_expense_ui_test/PathTemplateItem/service_module/hr_test_no_need_to_sync.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Service"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
hr_test_no_need_to_sync
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Service
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
no_need_to_sync
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.53725.583.46062
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631780962.79
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1631276559.37
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
90.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_travel_expense_test
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Alarm_launchRecordAlarm.py
0 → 100644
View file @
290fdc03
context
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
return
'ok'
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Alarm_launchRecordAlarm.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Alarm_launchRecordAlarm
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseAccountTuple.py
0 → 100644
View file @
290fdc03
return
'account_module/travel_expense_debit_account'
,
'account_module/travel_expense_credit_account'
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseAccountTuple.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_getPreferredExpenseAccountTuple
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseDocumentPublicationSectionValue.py
0 → 100644
View file @
290fdc03
return
context
.
getPortalObject
().
portal_categories
.
publication_section
.
hr_document
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ERP5Site_getPreferredExpenseDocumentPublicationSectionValue.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_getPreferredExpenseDocumentPublicationSectionValue
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseRecord_askQuestionForLatestExpenseValidationRequest.py
0 → 100644
View file @
290fdc03
expense_validation_request
=
context
.
portal_catalog
.
getResultValue
(
portal_type
=
'Expense Validation Request'
,
simulation_state
=
'validated'
,
sort_on
=
((
'creation_date'
,
'DESC'
,),))
if
expense_validation_request
:
context
.
getPortalObject
().
portal_workflow
.
doActionFor
(
expense_validation_request
,
'suspend_action'
,
comment
=
'Ask question test'
)
return
'ok'
return
'error'
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseRecord_askQuestionForLatestExpenseValidationRequest.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ExpenseRecord_askQuestionForLatestExpenseValidationRequest
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseValidationRequest_launchAlarms.py
0 → 100644
View file @
290fdc03
context
.
portal_alarms
.
create_representative_record_for_expense_validation_request
.
activeSense
()
return
'ok'
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/ExpenseValidationRequest_launchAlarms.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ExpenseValidationRequest_launchAlarms
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Person_assignHRUserRole.py
0 → 100644
View file @
290fdc03
if
context
.
person_module
.
hr_user
.
contentValues
(
portal_type
=
'ERP5 Login'
):
return
'ok'
acl_users
=
context
.
getPortalObject
().
acl_users
user_id
=
context
.
person_module
.
hr_user
.
getUserId
()
response
=
container
.
REQUEST
.
RESPONSE
acl_users
.
zodb_roles
.
manage_assignRoleToPrincipals
(
'Manager'
,(
user_id
,),
RESPONSE
=
response
)
assignment
=
context
.
person_module
.
hr_user
.
newContent
(
portal_type
=
"Assignment"
)
assignment
.
open
()
login
=
context
.
person_module
.
hr_user
.
newContent
(
portal_type
=
'ERP5 Login'
,
reference
=
'test'
,
password
=
'test'
)
login
.
validate
()
response
.
setStatus
(
200
)
return
'ok'
bt5/erp5_travel_expense_ui_test/SkinTemplateItem/portal_skins/erp5_travel_expense_test/Person_assignHRUserRole.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Person_assignHRUserRole
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSTravelExpense.py
0 → 100644
View file @
290fdc03
##############################################################################
#
# Copyright (c) 2002-2021 Nexedi SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
DateTime
import
DateTime
class
TestOfficeJSTravelExpense
(
ERP5TypeTestCase
):
def
afterSetUp
(
self
):
for
rule
in
self
.
getPortalObject
().
portal_rules
.
contentValues
():
if
rule
.
getValidationState
()
==
'draft'
:
rule
.
validate
()
self
.
tic
()
def
test_create_expense_request_from_record
(
self
):
"""
"""
now
=
DateTime
()
date
=
"%s"
%
now
.
Date
().
replace
(
'/'
,
'-'
)
quantity
=
3.14
resource
=
"currency_module/CNY"
resource_title
=
"Money"
comment
=
"New Work is Comming %s"
%
now
latitude
=
121012012
longitude
=
121012012.30
record
=
self
.
portal
.
expense_record_module
.
newContent
(
date
=
date
,
quantity
=
quantity
,
resource
=
resource
,
resource_title
=
resource_title
,
comment
=
comment
,
source_reference
=
'%s'
%
now
,
source
=
'person_module/hr_user'
,
latitude
=
latitude
,
longitude
=
longitude
,
)
record
.
setTitle
(
"Test Expense Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
self
.
assertTrue
(
record
.
getSimulationState
(),
"delivered"
)
ticket
=
record
.
getFollowUpValue
()
new_record
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Expense Record"
,
strict_follow_up_uid
=
record
.
getFollowUpUid
(),
simulation_state
=
"stopped"
)
self
.
assertIsNotNone
(
new_record
)
self
.
assertEqual
(
record
.
getDestinationReference
(),
ticket
.
getReference
()
)
self
.
assertEqual
(
quantity
,
ticket
.
getPrice
())
self
.
assertEqual
(
DateTime
(
date
),
ticket
.
getStartDate
())
self
.
assertEqual
(
resource
,
ticket
.
getPriceCurrency
())
self
.
assertEqual
(
comment
,
ticket
.
getDescription
())
self
.
assertEqual
(
longitude
,
ticket
.
getLongitude
())
self
.
assertEqual
(
latitude
,
ticket
.
getLatitude
())
self
.
assertEqual
(
record
.
getDestinationReference
(),
new_record
.
getDestinationReference
()
)
def
test_accept_expense_record_create_purchase_invoice_transaction
(
self
):
"""
"""
now
=
DateTime
()
date
=
"%s"
%
now
.
Date
().
replace
(
'/'
,
'-'
)
quantity
=
3.14
resource
=
"currency_module/CNY"
resource_title
=
"Money"
comment
=
"New Work is Comming %s"
%
now
latitude
=
121012012
longitude
=
121012012.30
record
=
self
.
portal
.
expense_record_module
.
newContent
(
date
=
date
,
quantity
=
quantity
,
resource
=
resource
,
resource_title
=
resource_title
,
source_reference
=
'%s'
%
now
,
source
=
'person_module/hr_user'
,
comment
=
comment
,
latitude
=
latitude
,
longitude
=
longitude
,
)
record
.
setTitle
(
"Test Expense Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
ticket
=
record
.
getFollowUpValue
()
ticket
.
accept
()
self
.
tic
()
purchase_invoice_transaction
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Purchase Invoice Transaction"
,
strict_causality_uid
=
ticket
.
getUid
(),
)
self
.
assertIsNotNone
(
purchase_invoice_transaction
)
self
.
assertEqual
(
ticket
.
getDestinationDecision
(),
purchase_invoice_transaction
.
getSourceSection
())
self
.
assertEqual
(
ticket
.
getSourceProject
(),
purchase_invoice_transaction
.
getSourceProject
())
self
.
assertEqual
(
ticket
.
getSourceSection
(),
purchase_invoice_transaction
.
getDestinationSection
(),)
self
.
assertEqual
(
ticket
.
getPriceCurrency
(),
purchase_invoice_transaction
.
getResource
())
self
.
assertEqual
(
ticket
.
getStartDate
(),
purchase_invoice_transaction
.
getStartDate
())
self
.
assertEqual
(
"confirmed"
,
purchase_invoice_transaction
.
getSimulationState
())
line_list
=
purchase_invoice_transaction
.
objectValues
(
portal_type
=
"Purchase Invoice Transaction Line"
)
self
.
assertEqual
(
2
,
len
(
line_list
))
def
test_change_expense_record_create_new_record
(
self
):
"""
"""
now
=
DateTime
()
date
=
"%s"
%
now
.
Date
().
replace
(
'/'
,
'-'
)
quantity
=
3.14
resource
=
"currency_module/CNY"
resource_title
=
"Money"
comment
=
"New Work is Comming %s"
%
now
latitude
=
121012012
longitude
=
121012012.30
record
=
self
.
portal
.
expense_record_module
.
newContent
(
date
=
date
,
quantity
=
quantity
,
resource
=
resource
,
resource_title
=
resource_title
,
comment
=
comment
,
source_reference
=
'%s'
%
now
,
source
=
'person_module/hr_user'
,
latitude
=
latitude
,
longitude
=
longitude
,
)
record
.
setTitle
(
"Test Expense Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
ticket
=
record
.
getFollowUpValue
()
ticket
.
accept
()
self
.
portal
.
portal_alarms
.
create_representative_record_for_expense_validation_request
()
self
.
tic
()
expense_record_list
=
ticket
.
getFollowUpRelatedValueList
(
portal_type
=
'Expense Record'
)
self
.
assertEqual
(
len
(
expense_record_list
),
3
)
self
.
assertEqual
(
1
,
len
(
self
.
portal
.
portal_catalog
(
portal_type
=
"Expense Record"
,
strict_follow_up_uid
=
ticket
.
getUid
(),
simulation_state
=
"stopped"
)))
self
.
assertEqual
(
2
,
len
(
self
.
portal
.
portal_catalog
(
portal_type
=
"Expense Record"
,
strict_follow_up_uid
=
ticket
.
getUid
(),
simulation_state
=
"delivered"
)))
def
test_create_leave_request_from_record
(
self
):
"""
"""
now
=
DateTime
()
record
=
self
.
portal
.
record_module
.
newContent
(
portal_type
=
"Leave Request Record"
,
resource
=
'service_module/hr_test_need_to_sync'
,
start_date
=
now
.
Date
(),
stop_date
=
now
.
Date
(),
source_reference
=
"%s"
%
now
,
source
=
'person_module/hr_user'
,
title
=
"Test Leave Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
self
.
assertTrue
(
record
.
getSimulationState
(),
"delivered"
)
ticket
=
record
.
getFollowUpValue
()
new_record
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Leave Request Record"
,
strict_follow_up_uid
=
record
.
getFollowUpUid
(),
simulation_state
=
"stopped"
)
self
.
assertIsNotNone
(
new_record
)
self
.
assertEqual
(
record
.
getSource
(),
ticket
.
getDestination
())
self
.
assertEqual
(
record
.
getResource
(),
ticket
.
getResource
())
self
.
assertEqual
(
record
.
getStartDate
(),
ticket
.
getStartDate
())
self
.
assertEqual
(
record
.
getStopDate
().
latestTime
(),
ticket
.
getStopDate
())
def
test_change_leave_request_create_record
(
self
):
"""
"""
now
=
DateTime
()
record
=
self
.
portal
.
record_module
.
newContent
(
portal_type
=
"Leave Request Record"
,
resource
=
'service_module/hr_test_need_to_sync'
,
start_date
=
now
.
Date
(),
stop_date
=
now
.
Date
(),
source_reference
=
"%s"
%
now
,
source
=
'person_module/hr_user'
,
title
=
"Test Leave Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
self
.
assertTrue
(
record
.
getSimulationState
(),
"delivered"
)
ticket
=
record
.
getFollowUpValue
()
ticket
.
confirm
()
self
.
tic
()
self
.
portal
.
portal_alarms
.
create_representative_record_for_leave_request
()
self
.
tic
()
record_list
=
ticket
.
getFollowUpRelatedValueList
(
portal_type
=
'Leave Request Record'
)
self
.
assertEqual
(
len
(
record_list
),
3
)
self
.
assertEqual
(
1
,
len
(
self
.
portal
.
portal_catalog
(
portal_type
=
"Leave Request Record"
,
strict_follow_up_uid
=
ticket
.
getUid
(),
simulation_state
=
"stopped"
)))
self
.
assertEqual
(
2
,
len
(
self
.
portal
.
portal_catalog
(
portal_type
=
"Leave Request Record"
,
strict_follow_up_uid
=
ticket
.
getUid
(),
simulation_state
=
"delivered"
)))
def
test_create_travel_request_from_record
(
self
):
"""
"""
now
=
DateTime
()
record
=
self
.
portal
.
record_module
.
newContent
(
portal_type
=
"Travel Request Record"
,
start_date
=
now
.
Date
(),
stop_date
=
now
.
Date
(),
source_reference
=
"%s"
%
now
,
source
=
'person_module/hr_user'
,
title
=
"Test Leave Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
self
.
assertTrue
(
record
.
getSimulationState
(),
"delivered"
)
ticket
=
record
.
getFollowUpValue
()
new_record
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Travel Request Record"
,
strict_follow_up_uid
=
record
.
getFollowUpUid
(),
simulation_state
=
"stopped"
)
self
.
assertIsNotNone
(
new_record
)
self
.
assertEqual
(
record
.
getSource
(),
ticket
.
getDestinationDecision
())
self
.
assertEqual
(
record
.
getStartDate
(),
ticket
.
getStartDate
())
self
.
assertEqual
(
record
.
getStopDate
(),
ticket
.
getStopDate
())
def
test_change_travel_request_create_record
(
self
):
"""
"""
now
=
DateTime
()
record
=
self
.
portal
.
record_module
.
newContent
(
portal_type
=
"Travel Request Record"
,
start_date
=
now
.
Date
(),
stop_date
=
now
.
Date
(),
source_reference
=
"%s"
%
now
,
source
=
'person_module/hr_user'
,
title
=
"Test Travel Request Record %s"
%
now
)
self
.
tic
()
self
.
portal
.
portal_alarms
.
alarm_process_draft_record_list
.
activeSense
()
self
.
tic
()
ticket
=
record
.
getFollowUpValue
()
ticket
.
accept
()
self
.
tic
()
self
.
portal
.
portal_alarms
.
create_representative_record_for_travel_request
.
activeSense
()
self
.
tic
()
record_list
=
ticket
.
getFollowUpRelatedValueList
(
portal_type
=
'Travel Request Record'
)
self
.
assertEqual
(
len
(
record_list
),
3
)
self
.
assertEqual
(
1
,
len
(
self
.
portal
.
portal_catalog
(
portal_type
=
"Travel Request Record"
,
strict_follow_up_uid
=
ticket
.
getUid
(),
simulation_state
=
"stopped"
)))
self
.
assertEqual
(
2
,
len
(
self
.
portal
.
portal_catalog
(
portal_type
=
"Travel Request Record"
,
strict_follow_up_uid
=
ticket
.
getUid
(),
simulation_state
=
"delivered"
)))
bt5/erp5_travel_expense_ui_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSTravelExpense.xml
0 → 100644
View file @
290fdc03
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testOfficeJSTravelExpense
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testOfficeJSTravelExpense
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense_ui_test/bt/dependency_list
View file @
290fdc03
erp5_travel_expense
erp5_ui_test_core
erp5_ui_test
\ No newline at end of file
erp5_ui_test
erp5_configurator_standard_accounting_template
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/bt/template_keep_last_workflow_history_only_path_list
0 → 100644
View file @
290fdc03
service_module/hr_test*
portal_categories/use/hr/leave/*
portal_categories/use/hr/leave
portal_categories/publication_section/hr_document
account_module/travel_expense_credit_account
account_module/travel_expense_debit_account
person_module/hr_user
currency_module/hr_test*
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/bt/template_path_list
View file @
290fdc03
account_module/travel_expense_credit_account
account_module/travel_expense_debit_account
currency_module/hr_test*
person_module/hr_user
portal_categories/publication_section/hr_document
portal_categories/use/hr/expense_validation_request
portal_categories/use/hr/expense_validation_request/*
portal_categories/use/hr/leave
portal_categories/use/hr/leave/*
portal_categories/use/hr/travel_request
portal_categories/use/hr/travel_request/*
portal_tests/officejs_ui_travel_expense_ui_test_zuite
portal_tests/officejs_ui_travel_expense_ui_test_zuite/**
\ No newline at end of file
portal_tests/officejs_ui_travel_expense_ui_test_zuite/**
service_module/hr_test*
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/bt/template_skin_id_list
0 → 100644
View file @
290fdc03
erp5_travel_expense_test
\ No newline at end of file
bt5/erp5_travel_expense_ui_test/bt/template_test_id_list
View file @
290fdc03
test.erp5.testFunctionalOfficeJSTravelExpense
\ No newline at end of file
test.erp5.testFunctionalOfficeJSTravelExpense
test.erp5.testOfficeJSTravelExpense
\ 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