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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
erp5
Commits
707eaed2
Commit
707eaed2
authored
Dec 04, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
CRM and Support Requests translations
See merge request
nexedi/erp5!1285
parents
e5a90536
d8a85748
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
600 additions
and
505 deletions
+600
-505
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Folder_viewTicketList/listbox.xml
...m/portal_skins/erp5_crm/Folder_viewTicketList/listbox.xml
+0
-176
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox.xml
...m/SupportRequestModule_viewSupportRequestList/listbox.xml
+10
-200
bt5/erp5_l10n_fr/MessageTranslationTemplateItem/fr/erp5_ui/translation.po
.../MessageTranslationTemplateItem/fr/erp5_ui/translation.po
+27
-0
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
...ateItem/web_page_module/gadget_supportrequest_panel_js.js
+8
-4
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml
...teItem/web_page_module/gadget_supportrequest_panel_js.xml
+1
-1
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox.xml
...rtRequestModule_viewForOfficejsSupportRequest/listbox.xml
+9
-5
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox.xml
...pportRequestModule_viewLastSupportRequestList/listbox.xml
+6
-110
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewSupportRequestFastInputDialog/your_resource.xml
...odule_viewSupportRequestFastInputDialog/your_resource.xml
+1
-1
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequest_viewForOfficejsSupportRequest/my_resource.xml
...portRequest_viewForOfficejsSupportRequest/my_resource.xml
+0
-5
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testAddSupportRequest.zpt
...ficejs_support_request_ui_zuite/testAddSupportRequest.zpt
+1
-1
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testAddSupportRequestAttachment.zpt
...port_request_ui_zuite/testAddSupportRequestAttachment.zpt
+1
-1
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite.xml
...s/officejs_support_request_ui_zuite/translation_zuite.xml
+26
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePageListboxTranslation.xml
...uite/translation_zuite/testHomePageListboxTranslation.xml
+58
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePageListboxTranslation.zpt
...uite/translation_zuite/testHomePageListboxTranslation.zpt
+123
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePagePanelTranslation.xml
..._zuite/translation_zuite/testHomePagePanelTranslation.xml
+58
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePagePanelTranslation.zpt
..._zuite/translation_zuite/testHomePagePanelTranslation.zpt
+74
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testSupportRequestPanelTranslation.xml
.../translation_zuite/testSupportRequestPanelTranslation.xml
+58
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testSupportRequestPanelTranslation.zpt
.../translation_zuite/testSupportRequestPanelTranslation.zpt
+100
-0
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/service_module/erp5_officejs_support_request_ui_test_service_001.xml
...ule/erp5_officejs_support_request_ui_test_service_001.xml
+21
-0
bt5/erp5_officejs_support_request_ui_test/SkinTemplateItem/portal_skins/erp5_officejs_support_request_test/ERP5Site_createSupportRequestUITestDataSet.py
...equest_test/ERP5Site_createSupportRequestUITestDataSet.py
+9
-0
bt5/erp5_officejs_support_request_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSupportRequest.py
...rtal_components/test.erp5.testFunctionalSupportRequest.py
+6
-0
bt5/erp5_officejs_support_request_ui_test/bt/dependency_list
bt5/erp5_officejs_support_request_ui_test/bt/dependency_list
+3
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Folder_viewTicketList/listbox.xml
View file @
707eaed2
...
@@ -15,9 +15,7 @@
...
@@ -15,9 +15,7 @@
<string>
domain_root_list
</string>
<string>
domain_root_list
</string>
<string>
domain_tree
</string>
<string>
domain_tree
</string>
<string>
editable_columns
</string>
<string>
editable_columns
</string>
<string>
search_columns
</string>
<string>
selection_name
</string>
<string>
selection_name
</string>
<string>
sort_columns
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
...
@@ -254,184 +252,10 @@
...
@@ -254,184 +252,10 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
destination_section_title
</string>
<string>
Client
</string>
</tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
Requester
</string>
</tuple>
<tuple>
<string>
source_section_title
</string>
<string>
Supplier
</string>
</tuple>
<tuple>
<string>
source_decision_title
</string>
<string>
Supervisor
</string>
</tuple>
<tuple>
<string>
source_title
</string>
<string>
Operations Manager
</string>
</tuple>
<tuple>
<string>
destination_title
</string>
<string>
Location
</string>
</tuple>
<tuple>
<string>
delivery.start_date
</string>
<string>
Begin Date
</string>
</tuple>
<tuple>
<string>
delivery.stop_date
</string>
<string>
End Date
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
Operator
</string>
</tuple>
<tuple>
<string>
translated_simulation_state_title
</string>
<string>
State
</string>
</tuple>
<tuple>
<string>
quantity
</string>
<string>
Quantity
</string>
</tuple>
<tuple>
<string>
quantity_unit_title
</string>
<string>
Quantity Unit
</string>
</tuple>
<tuple>
<string>
price
</string>
<string>
Unit Price
</string>
</tuple>
<tuple>
<string>
price_currency_title
</string>
<string>
Currency
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
Description
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
<tuple>
<string>
owner_title
</string>
<string>
Owner
</string>
</tuple>
</list>
</value>
</item>
<item>
<item>
<key>
<string>
selection_name
</string>
</key>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
ticket_selection
</string>
</value>
<value>
<string>
ticket_selection
</string>
</value>
</item>
</item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
destination_section_title
</string>
<string>
Client
</string>
</tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
Requester
</string>
</tuple>
<tuple>
<string>
source_section_title
</string>
<string>
Supplier
</string>
</tuple>
<tuple>
<string>
source_decision_title
</string>
<string>
Supervisor
</string>
</tuple>
<tuple>
<string>
source_title
</string>
<string>
Operations Manager
</string>
</tuple>
<tuple>
<string>
destination_title
</string>
<string>
Location
</string>
</tuple>
<tuple>
<string>
delivery.start_date
</string>
<string>
Begin Date
</string>
</tuple>
<tuple>
<string>
delivery.stop_date
</string>
<string>
End Date
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
Operator
</string>
</tuple>
<tuple>
<string>
translated_simulation_state_title
</string>
<string>
State
</string>
</tuple>
<tuple>
<string>
quantity
</string>
<string>
Quantity
</string>
</tuple>
<tuple>
<string>
quantity_unit_title
</string>
<string>
Quantity Unit
</string>
</tuple>
<tuple>
<string>
price
</string>
<string>
Unit Price
</string>
</tuple>
<tuple>
<string>
price_currency_title
</string>
<string>
Currency
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
Description
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
<tuple>
<string>
owner_title
</string>
<string>
Owner
</string>
</tuple>
</list>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox.xml
View file @
707eaed2
...
@@ -105,8 +105,12 @@
...
@@ -105,8 +105,12 @@
<string>
Location
</string>
<string>
Location
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource__translated__title
</string>
<string>
Type
</string>
<string>
Support Request Type
</string>
</tuple>
<tuple>
<string>
resource_reference
</string>
<string>
Support Request Type Reference
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
source_trade_title
</string>
...
@@ -180,8 +184,8 @@
...
@@ -180,8 +184,8 @@
<string>
Reference
</string>
<string>
Reference
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource_
_translated__
title
</string>
<string>
Type
</string>
<string>
Support Request
Type
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
causality_translated_portal_type
</string>
<string>
causality_translated_portal_type
</string>
...
@@ -255,207 +259,13 @@
...
@@ -255,207 +259,13 @@
<item>
<item>
<key>
<string>
search_columns
</string>
</key>
<key>
<string>
search_columns
</string>
</key>
<value>
<value>
<list>
<list/>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
causality_translated_portal_type
</string>
<string>
Channel
</string>
</tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
Requester
</string>
</tuple>
<tuple>
<string>
source_title
</string>
<string>
Operations Manager
</string>
</tuple>
<tuple>
<string>
delivery.start_date
</string>
<string>
Begin Date
</string>
</tuple>
<tuple>
<string>
delivery.stop_date
</string>
<string>
End Date
</string>
</tuple>
<tuple>
<string>
translated_simulation_state_title
</string>
<string>
State
</string>
</tuple>
<tuple>
<string>
destination_section_title
</string>
<string>
Client
</string>
</tuple>
<tuple>
<string>
source_section_title
</string>
<string>
Supplier
</string>
</tuple>
<tuple>
<string>
source_decision_title
</string>
<string>
Supervisor
</string>
</tuple>
<tuple>
<string>
destination_title
</string>
<string>
Location
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
Operator
</string>
</tuple>
<tuple>
<string>
quantity_unit_title
</string>
<string>
Quantity Unit
</string>
</tuple>
<tuple>
<string>
price_currency_title
</string>
<string>
Currency
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
Description
</string>
</tuple>
<tuple>
<string>
destination_decision_reference
</string>
<string>
Requester Reference
</string>
</tuple>
<tuple>
<string>
destination_project_title
</string>
<string>
Requested Project
</string>
</tuple>
<tuple>
<string>
source_project_title
</string>
<string>
Handled Project
</string>
</tuple>
<tuple>
<string>
owner_title
</string>
<string>
Owner
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<key>
<string>
sort_columns
</string>
</key>
<value>
<value>
<list>
<list/>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
causality_translated_portal_type
</string>
<string>
Channel
</string>
</tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
Requester
</string>
</tuple>
<tuple>
<string>
source_title
</string>
<string>
Operations Manager
</string>
</tuple>
<tuple>
<string>
delivery.start_date
</string>
<string>
Begin Date
</string>
</tuple>
<tuple>
<string>
delivery.stop_date
</string>
<string>
End Date
</string>
</tuple>
<tuple>
<string>
translated_simulation_state_title
</string>
<string>
State
</string>
</tuple>
<tuple>
<string>
destination_section_title
</string>
<string>
Client
</string>
</tuple>
<tuple>
<string>
source_section_title
</string>
<string>
Supplier
</string>
</tuple>
<tuple>
<string>
source_decision_title
</string>
<string>
Supervisor
</string>
</tuple>
<tuple>
<string>
destination_title
</string>
<string>
Location
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
Operator
</string>
</tuple>
<tuple>
<string>
quantity_unit_title
</string>
<string>
Quantity Unit
</string>
</tuple>
<tuple>
<string>
price_currency_title
</string>
<string>
Currency
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
Description
</string>
</tuple>
<tuple>
<string>
destination_decision_reference
</string>
<string>
Requester Reference
</string>
</tuple>
<tuple>
<string>
destination_project_title
</string>
<string>
Requested Project
</string>
</tuple>
<tuple>
<string>
source_project_title
</string>
<string>
Handled Project
</string>
</tuple>
<tuple>
<string>
owner_title
</string>
<string>
Owner
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
...
...
bt5/erp5_l10n_fr/MessageTranslationTemplateItem/fr/erp5_ui/translation.po
View file @
707eaed2
...
@@ -679,6 +679,9 @@ msgstr "l'état d'une affectation toujours valide."
...
@@ -679,6 +679,9 @@ msgstr "l'état d'une affectation toujours valide."
msgid "Action that will trigger the confirmed state of a workflow, for example for an accounting transaction or a sale packing list."
msgid "Action that will trigger the confirmed state of a workflow, for example for an accounting transaction or a sale packing list."
msgstr "Action qui permet de confirmer un document dans ERP5"
msgstr "Action qui permet de confirmer un document dans ERP5"
msgid "Action to be triggered on the Response Event"
msgstr "Action à effectuer sur l'événement de réponse"
msgid "Action which will disable the preference"
msgid "Action which will disable the preference"
msgstr "Cette action permet de désactiver une préférence."
msgstr "Cette action permet de désactiver une préférence."
...
@@ -3394,6 +3397,9 @@ msgstr "Créer l'écriture de trésorerie correspondante"
...
@@ -3394,6 +3397,9 @@ msgstr "Créer l'écriture de trésorerie correspondante"
msgid "Create Related Payments"
msgid "Create Related Payments"
msgstr "Créer les écritures de trésorerie correspondantes"
msgstr "Créer les écritures de trésorerie correspondantes"
msgid "Create Response and Close Ticket"
msgstr "Répondre et Clôturer le Ticket"
msgid "Create Reversal Transaction"
msgid "Create Reversal Transaction"
msgstr "Contrepasser l'écriture"
msgstr "Contrepasser l'écriture"
...
@@ -3835,12 +3841,21 @@ msgstr "Débiteurs"
...
@@ -3835,12 +3841,21 @@ msgstr "Débiteurs"
msgid "December"
msgid "December"
msgstr "Décembre"
msgstr "Décembre"
msgid "Decision"
msgstr "Décision"
msgid "Decisions"
msgstr "Décisions"
msgid "Declare Reachable"
msgid "Declare Reachable"
msgstr "Déclarer joignable"
msgstr "Déclarer joignable"
msgid "Declare Unreachable"
msgid "Declare Unreachable"
msgstr "Déclarer injoignable"
msgstr "Déclarer injoignable"
msgid "Declare as Delivered"
msgstr "Déclarer livré"
msgid "Declare as Received"
msgid "Declare as Received"
msgstr "Déclarer reçu"
msgstr "Déclarer reçu"
...
@@ -4990,6 +5005,9 @@ msgstr "Éditer"
...
@@ -4990,6 +5005,9 @@ msgstr "Éditer"
msgid "Edit [transition in processing_status_workflow]"
msgid "Edit [transition in processing_status_workflow]"
msgstr "Éditer"
msgstr "Éditer"
msgid "Edit it as a draft"
msgstr "Éditer comme un brouillon"
msgid "Editable"
msgid "Editable"
msgstr "Éditable"
msgstr "Éditable"
...
@@ -9151,6 +9169,9 @@ msgstr "Planifier l'écriture"
...
@@ -9151,6 +9169,9 @@ msgstr "Planifier l'écriture"
msgid "Plan [transition in bug_event_workflow]"
msgid "Plan [transition in bug_event_workflow]"
msgstr "Planifier"
msgstr "Planifier"
msgid "Plan it at the given date"
msgstr "Planifier à la date donnée"
msgid "Plan will set the document State as planned in ERP5"
msgid "Plan will set the document State as planned in ERP5"
msgstr "Cette action permet de planifier une action. Cette dernière sera exécutée par la suite."
msgstr "Cette action permet de planifier une action. Cette dernière sera exécutée par la suite."
...
@@ -11494,6 +11515,9 @@ msgstr "Envoyer Requête Aux Experts"
...
@@ -11494,6 +11515,9 @@ msgstr "Envoyer Requête Aux Experts"
msgid "Send by Email"
msgid "Send by Email"
msgstr "Envoyer par email"
msgstr "Envoyer par email"
msgid "Send it immediately"
msgstr "Envoyer immédiatement"
msgid "Sender"
msgid "Sender"
msgstr "Expéditeur"
msgstr "Expéditeur"
...
@@ -12550,6 +12574,9 @@ msgstr "État"
...
@@ -12550,6 +12574,9 @@ msgstr "État"
msgid "Support Request Type"
msgid "Support Request Type"
msgstr "Type de la demande d'assistance"
msgstr "Type de la demande d'assistance"
msgid "Support Request Type Reference"
msgstr "Reference du type de la demande d'assistance"
msgid "Support Request Types"
msgid "Support Request Types"
msgstr "Types des demandes d'assistance"
msgstr "Types des demandes d'assistance"
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
View file @
707eaed2
...
@@ -191,10 +191,14 @@
...
@@ -191,10 +191,14 @@
href
:
result_list
[
i
+
workflow_list
.
length
]
href
:
result_list
[
i
+
workflow_list
.
length
]
});
});
}
}
gadget
.
element
.
querySelector
(
"
dl
"
).
innerHTML
=
panel_template_body_desktop
({
return
gadget
.
translateHtml
(
workflow_list
:
result_workflow_list
,
panel_template_body_desktop
({
view_list
:
result_view_list
workflow_list
:
result_workflow_list
,
});
view_list
:
result_view_list
})
).
push
(
function
(
my_translated_or_plain_html
)
{
gadget
.
element
.
querySelector
(
"
dl
"
).
innerHTML
=
my_translated_or_plain_html
;
})
});
});
}
}
}
}
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml
View file @
707eaed2
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
593352467.41
</float>
<float>
1
601621295.36
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox.xml
View file @
707eaed2
...
@@ -132,6 +132,10 @@
...
@@ -132,6 +132,10 @@
<key>
<string>
all_columns
</string>
</key>
<key>
<string>
all_columns
</string>
</key>
<value>
<value>
<list>
<list>
<tuple>
<string>
resource_reference
</string>
<string>
Support Request Type Reference
</string>
</tuple>
<tuple>
<tuple>
<string>
stop_date
</string>
<string>
stop_date
</string>
<string>
End Date
</string>
<string>
End Date
</string>
...
@@ -153,8 +157,8 @@
...
@@ -153,8 +157,8 @@
<string>
Location
</string>
<string>
Location
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource_
_translated__
title
</string>
<string>
Type
</string>
<string>
Support Request
Type
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
causality_translated_portal_type
</string>
<string>
causality_translated_portal_type
</string>
...
@@ -240,8 +244,8 @@
...
@@ -240,8 +244,8 @@
<string>
Reference
</string>
<string>
Reference
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource_
_translated__
title
</string>
<string>
Type
</string>
<string>
Support Request
Type
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
destination_decision_title
</string>
...
@@ -270,7 +274,7 @@
...
@@ -270,7 +274,7 @@
<list>
<list>
<tuple>
<tuple>
<string>
ticket_use_domain
</string>
<string>
ticket_use_domain
</string>
<string>
Type
</string>
<string>
Support Request
Type
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
causality_event_portal_type_domain
</string>
<string>
causality_event_portal_type_domain
</string>
...
...
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox.xml
View file @
707eaed2
...
@@ -118,28 +118,14 @@
...
@@ -118,28 +118,14 @@
<key>
<string>
portal_types
</string>
</key>
<key>
<string>
portal_types
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
sort
</string>
</key>
<key>
<string>
sort
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -168,8 +154,8 @@
...
@@ -168,8 +154,8 @@
<string>
Location
</string>
<string>
Location
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource_
_translated__
title
</string>
<string>
Type
</string>
<string>
Support Request
Type
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
source_trade_title
</string>
...
@@ -243,8 +229,8 @@
...
@@ -243,8 +229,8 @@
<string>
Reference
</string>
<string>
Reference
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource_
_translated__
title
</string>
<string>
Type
</string>
<string>
Support Request
Type
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
destination_decision_title
</string>
...
@@ -332,7 +318,7 @@
...
@@ -332,7 +318,7 @@
<item>
<item>
<key>
<string>
list_method
</string>
</key>
<key>
<string>
list_method
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -349,84 +335,7 @@
...
@@ -349,84 +335,7 @@
<item>
<item>
<key>
<string>
search_columns
</string>
</key>
<key>
<string>
search_columns
</string>
</key>
<value>
<value>
<list>
<list/>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
destination_section_title
</string>
<string>
Client
</string>
</tuple>
<tuple>
<string>
destination_decision_title
</string>
<string>
Requester
</string>
</tuple>
<tuple>
<string>
destination_decision_language
</string>
<string>
Requester Language
</string>
</tuple>
<tuple>
<string>
source_section_title
</string>
<string>
Supplier
</string>
</tuple>
<tuple>
<string>
source_decision_title
</string>
<string>
Supervisor
</string>
</tuple>
<tuple>
<string>
source_title
</string>
<string>
Operations Manager
</string>
</tuple>
<tuple>
<string>
destination_title
</string>
<string>
Location
</string>
</tuple>
<tuple>
<string>
start_date
</string>
<string>
Begin Date
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
causality_translated_portal_type
</string>
<string>
Channel
</string>
</tuple>
<tuple>
<string>
source_trade_title
</string>
<string>
Operator
</string>
</tuple>
<tuple>
<string>
quantity
</string>
<string>
Quantity
</string>
</tuple>
<tuple>
<string>
quantity_unit_title
</string>
<string>
Quantity Unit
</string>
</tuple>
<tuple>
<string>
price
</string>
<string>
Unit Price
</string>
</tuple>
<tuple>
<string>
price_currency_title
</string>
<string>
Currency
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
Description
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -456,19 +365,6 @@
...
@@ -456,19 +365,6 @@
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.Base_translateString("Recent Updates")
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
</pickle>
...
...
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewSupportRequestFastInputDialog/your_resource.xml
View file @
707eaed2
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Support Type
</string>
</value>
<value>
<string>
Support
Request
Type
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
...
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequest_viewForOfficejsSupportRequest/my_resource.xml
View file @
707eaed2
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
<string>
editable
</string>
<string>
editable
</string>
<string>
first_item
</string>
<string>
first_item
</string>
<string>
hidden
</string>
<string>
hidden
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -110,10 +109,6 @@
...
@@ -110,10 +109,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Support Type
</string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testAddSupportRequest.zpt
View file @
707eaed2
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
waitForTextPresent
</td>
<td>
Support Type
</td>
<td>
Support
Request
Type
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testAddSupportRequestAttachment.zpt
View file @
707eaed2
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
waitForTextPresent
</td>
<td>
Support Type
</td>
<td>
Support
Request
Type
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite.xml
0 → 100644
View file @
707eaed2
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Zuite"
module=
"Products.Zelenium.zuite"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
translation_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePageListboxTranslation.xml
0 → 100644
View file @
707eaed2
<?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>
testHomePageListboxTranslation
</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_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePageListboxTranslation.zpt
0 → 100644
View file @
707eaed2
<html>
<head>
<title
tal:content=
"template/title"
>
The title
</title>
<meta
http-equiv=
"content-type"
content=
"text/html;charset=utf-8"
>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Home Page Listbox Translation
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/cleanup_module"
/>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/create_data"
/>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/erp5_officejs_support_request_ui/fr/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@data-i18n='[value]Submit New Support Request']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class="document_table"]//tr/td[1]
</td>
<td></td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//h1
</td>
<td>
glob:Modifications récentes*
</td>
</tr>
<!-- listbox title -->
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[1]
</td>
<td>
Titre
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[2]
</td>
<td>
Référence
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[3]
</td>
<td>
Type de la demande d'assistance
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[4]
</td>
<td>
Demandé par
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[5]
</td>
<td>
Date du commentaire
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[6]
</td>
<td>
Auteur du commentaire
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[7]
</td>
<td>
Date de début
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//thead/tr/th[8]
</td>
<td>
État
</td>
</tr>
<!-- listbox content -->
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[1]
</td>
<td>
Yesterday - PlaneMaking - Open
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[2]
</td>
<td>
glob:SR*
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[3]
</td>
<td>
Rapport d'anomalie
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[4]
</td>
<td></td>
</tr>
<!-- this is a date relative to now, so we can not really test this part -->
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[5]
</td>
<td>
glob:*20*
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[6]
</td>
<td></td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[7]
</td>
<td>
glob:*20*
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[@class="document_table"]//tr/td[8]
</td>
<td>
Ouvert
</td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePagePanelTranslation.xml
0 → 100644
View file @
707eaed2
<?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>
testHomePagePanelTranslation
</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_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testHomePagePanelTranslation.zpt
0 → 100644
View file @
707eaed2
<html>
<head>
<title
tal:content=
"template/title"
>
The title
</title>
<meta
http-equiv=
"content-type"
content=
"text/html;charset=utf-8"
>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Home Page Panel Translation
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/init"
/>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/erp5_officejs_support_request_ui/fr/
</td>
<td></td>
</tr>
<!-- hack to display Views&Decisions on panel for small screen-->
<tr>
<td>
getEval
</td>
<td>
window.matchMedia = function () {return {matches:true}}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@data-i18n='[value]Submit New Support Request']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, "panel")]//a
</td>
<td></td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-home")]
</td>
<td>
Accueil
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-life-ring")]
</td>
<td>
Demandes d'assistance
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-sliders")]
</td>
<td>
Préférences
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-power-off")]
</td>
<td>
Déconnexion
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, "panel")]//dt[contains(@class, "ui-icon-eye")]
</td>
<td></td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//dt[contains(@class, "ui-icon-eye")]
</td>
<td>
Vues
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//dt[contains(@class, "ui-icon-cogs")]
</td>
<td>
Décisions
</td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testSupportRequestPanelTranslation.xml
0 → 100644
View file @
707eaed2
<?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>
testSupportRequestPanelTranslation
</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_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/translation_zuite/testSupportRequestPanelTranslation.zpt
0 → 100644
View file @
707eaed2
<html>
<head>
<title
tal:content=
"template/title"
>
Support Request Panel Translation
</title>
<meta
http-equiv=
"content-type"
content=
"text/html;charset=utf-8"
>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Support Request Panel Translation
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/cleanup_module"
/>
<tal:block
metal:use-macro=
"here/Zuite_SupportRequestUITemplate/macros/create_data"
/>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/erp5_officejs_support_request_ui/fr/
</td>
<td></td>
</tr>
<!-- hack to display Views&Decisions on panel for small screen-->
<tr>
<td>
getEval
</td>
<td>
window.matchMedia = function () {return {matches:true}}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@data-i18n='[value]Submit New Support Request']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class="document_table"]//tr/td[1]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@class="document_table"]//tr/td[1]/a
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-home")]
</td>
<td>
Accueil
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-life-ring")]
</td>
<td>
Demandes d'assistance
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-sliders")]
</td>
<td>
Préférences
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//a[contains(@class, "ui-icon-power-off")]
</td>
<td>
Déconnexion
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, "panel")]//dt[contains(@class, "ui-icon-eye")]
</td>
<td></td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//dt[contains(@class, "ui-icon-eye")]
</td>
<td>
Vues
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//dl/dd[1]
</td>
<td>
Général
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//dl/dd[2]
</td>
<td>
Historique
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "panel")]//dt[contains(@class, "ui-icon-cogs")]
</td>
<td>
Décisions
</td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[contains(@class, "panel")]//dl/dd/a[text() = "Clôturer le ticket"]
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/service_module/erp5_officejs_support_request_ui_test_service_001.xml
View file @
707eaed2
...
@@ -52,6 +52,27 @@
...
@@ -52,6 +52,27 @@
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
__translation_dict
</string>
</key>
<value>
<dictionary>
<item>
<key>
<tuple>
<string>
title
</string>
<string>
fr
</string>
</tuple>
</key>
<value>
<tuple>
<string>
BugReport
</string>
<string>
Rapport d\'anomalie
</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
...
...
bt5/erp5_officejs_support_request_ui_test/SkinTemplateItem/portal_skins/erp5_officejs_support_request_test/ERP5Site_createSupportRequestUITestDataSet.py
View file @
707eaed2
...
@@ -6,6 +6,7 @@ included in business template.
...
@@ -6,6 +6,7 @@ included in business template.
display statistics about recent support requests (like "less than 2 days from now"),
display statistics about recent support requests (like "less than 2 days from now"),
we need to generate support requests at a date relative from now.
we need to generate support requests at a date relative from now.
"""
"""
import
time
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
datetime
import
timedelta
from
datetime
import
timedelta
...
@@ -25,30 +26,38 @@ portal.support_request_module.newContent(
...
@@ -25,30 +26,38 @@ portal.support_request_module.newContent(
portal_type
=
'Support Request'
,
portal_type
=
'Support Request'
,
title
=
"Two Weeks ago - PlaneMaking - Submitted"
,
title
=
"Two Weeks ago - PlaneMaking - Submitted"
,
start_date
=
DateTime
(
now
-
timedelta
(
days
=
15
)),
start_date
=
DateTime
(
now
-
timedelta
(
days
=
15
)),
resource_value
=
portal
.
service_module
.
erp5_officejs_support_request_ui_test_service_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
).
submit
()
).
submit
()
portal
.
support_request_module
.
newContent
(
portal
.
support_request_module
.
newContent
(
portal_type
=
'Support Request'
,
portal_type
=
'Support Request'
,
title
=
"Last Week 2 - RobotMaking - Open"
,
title
=
"Last Week 2 - RobotMaking - Open"
,
start_date
=
DateTime
(
now
-
timedelta
(
days
=
5
)),
start_date
=
DateTime
(
now
-
timedelta
(
days
=
5
)),
resource_value
=
portal
.
service_module
.
erp5_officejs_support_request_ui_test_service_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
).
validate
()
).
validate
()
portal
.
support_request_module
.
newContent
(
portal
.
support_request_module
.
newContent
(
portal_type
=
'Support Request'
,
portal_type
=
'Support Request'
,
title
=
"Last Week - RobotMaking - Open"
,
title
=
"Last Week - RobotMaking - Open"
,
start_date
=
DateTime
(
now
-
timedelta
(
days
=
4
)),
start_date
=
DateTime
(
now
-
timedelta
(
days
=
4
)),
resource_value
=
portal
.
service_module
.
erp5_officejs_support_request_ui_test_service_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
).
validate
()
).
validate
()
portal
.
support_request_module
.
newContent
(
portal
.
support_request_module
.
newContent
(
portal_type
=
'Support Request'
,
portal_type
=
'Support Request'
,
title
=
"Yesterday - RobotMaking - Submitted"
,
title
=
"Yesterday - RobotMaking - Submitted"
,
start_date
=
DateTime
(
now
-
timedelta
(
days
=
1
)),
start_date
=
DateTime
(
now
-
timedelta
(
days
=
1
)),
resource_value
=
portal
.
service_module
.
erp5_officejs_support_request_ui_test_service_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
).
submit
()
).
submit
()
# sleep a bit to make sure "Yesterday - PlaneMaking - Open" is the most recent, some tests asserts
# the listbox sorted by modification date
time
.
sleep
(
1
)
portal
.
support_request_module
.
newContent
(
portal
.
support_request_module
.
newContent
(
portal_type
=
'Support Request'
,
portal_type
=
'Support Request'
,
title
=
"Yesterday - PlaneMaking - Open"
,
title
=
"Yesterday - PlaneMaking - Open"
,
start_date
=
DateTime
(
now
-
timedelta
(
days
=
1
)),
start_date
=
DateTime
(
now
-
timedelta
(
days
=
1
)),
resource_value
=
portal
.
service_module
.
erp5_officejs_support_request_ui_test_service_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
source_project_value
=
portal
.
project_module
.
erp5_officejs_support_request_ui_test_project_001
,
).
validate
()
).
validate
()
...
...
bt5/erp5_officejs_support_request_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSupportRequest.py
View file @
707eaed2
...
@@ -30,4 +30,10 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
...
@@ -30,4 +30,10 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
class
TestSupportRequestUI
(
ERP5TypeFunctionalTestCase
):
class
TestSupportRequestUI
(
ERP5TypeFunctionalTestCase
):
run_only
=
"officejs_support_request_ui_zuite"
run_only
=
"officejs_support_request_ui_zuite"
def
afterSetUp
(
self
):
super
(
TestSupportRequestUI
,
self
).
afterSetUp
()
# fix consistency to update translation
self
.
portal
.
web_site_module
.
erp5_officejs_support_request_ui
.
fixConsistency
()
self
.
tic
()
del
ERP5TypeFunctionalTestCase
del
ERP5TypeFunctionalTestCase
\ No newline at end of file
bt5/erp5_officejs_support_request_ui_test/bt/dependency_list
View file @
707eaed2
...
@@ -2,4 +2,6 @@ erp5_ui_test_core
...
@@ -2,4 +2,6 @@ erp5_ui_test_core
erp5_ui_test
erp5_ui_test
erp5_web_renderjs_ui
erp5_web_renderjs_ui
erp5_officejs_support_request_ui
erp5_officejs_support_request_ui
erp5_web_renderjs_ui_test
erp5_web_renderjs_ui_test
\ No newline at end of file
erp5_content_translation
erp5_l10n_fr
\ 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