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
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
Yusei Tahara
erp5
Commits
4f19f40f
Commit
4f19f40f
authored
Sep 27, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_accounting/crm/project/trade] Activate actions for ERP5JS
[erp5_core] Return 400 status code when updating a dialog
parent
87884e2a
Changes
63
Show whitespace changes
Inline
Side-by-side
Showing
63 changed files
with
1009 additions
and
117 deletions
+1009
-117
bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/add_internal_invoice_transaction_line.xml
...e%20Transaction/add_internal_invoice_transaction_line.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/campaign_detailed_report.xml
...rtal_types/Campaign%20Module/campaign_detailed_report.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/campaign_status.xml
...teItem/portal_types/Campaign%20Module/campaign_status.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/clone_ticket_and_event_list.xml
...tem/portal_types/Campaign/clone_ticket_and_event_list.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/workflow_report.xml
...plateItem/portal_types/Event%20Module/workflow_report.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/meeting_detailed_report.xml
...portal_types/Meeting%20Module/meeting_detailed_report.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/meeting_status.xml
...lateItem/portal_types/Meeting%20Module/meeting_status.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/sale_opportunity_detailed_report.xml
...Opportunity%20Module/sale_opportunity_detailed_report.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/sale_opportunity_status.xml
...s/Sale%20Opportunity%20Module/sale_opportunity_status.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/view.xml
...ateItem/portal_types/Sale%20Opportunity%20Module/view.xml
+5
-3
bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/support_request_detailed_report.xml
...rt%20Request%20Module/support_request_detailed_report.xml
+2
-2
bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/support_request_status.xml
...pes/Support%20Request%20Module/support_request_status.xml
+2
-2
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_cloneTicketAndEventList.py
...m/portal_skins/erp5_crm/Ticket_cloneTicketAndEventList.py
+1
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_cloneTicketAndEventList.xml
.../portal_skins/erp5_crm/Ticket_cloneTicketAndEventList.xml
+1
-1
bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Module/view.xml
...ActionTemplateItem/portal_types/Project%20Module/view.xml
+5
-3
bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/workflow_report.xml
...m/portal_types/Task%20Report%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Container/fast_input.xml
.../ActionTemplateItem/portal_types/Container/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Order/fast_input.xml
...TemplateItem/portal_types/Internal%20Order/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Order/fast_input_update.xml
...eItem/portal_types/Internal%20Order/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Packing%20List%20Module/workflow_report.xml
...es/Internal%20Packing%20List%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Packing%20List/fast_input.xml
...tem/portal_types/Internal%20Packing%20List/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Packing%20List/fast_input_update.xml
...tal_types/Internal%20Packing%20List/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory%20Report/calculate_product_stock.xml
...rtal_types/Inventory%20Report/calculate_product_stock.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/fast_input.xml
...TemplateItem/portal_types/Purchase%20Order/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/fast_input_update.xml
...eItem/portal_types/Purchase%20Order/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/fast_input.xml
...tem/portal_types/Purchase%20Packing%20List/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/fast_input_update.xml
...tal_types/Purchase%20Packing%20List/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/packing_list_print.xml
...al_types/Purchase%20Packing%20List/packing_list_print.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Order/fast_input.xml
...m/portal_types/Returned%20Purchase%20Order/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Order/fast_input_update.xml
...l_types/Returned%20Purchase%20Order/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List%20Module/workflow_report.xml
...%20Purchase%20Packing%20List%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order%20Module/workflow_report.xml
...ypes/Returned%20Sale%20Order%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/fast_input.xml
...eItem/portal_types/Returned%20Sale%20Order/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/fast_input_update.xml
...ortal_types/Returned%20Sale%20Order/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/reference_generate.xml
...rtal_types/Returned%20Sale%20Order/reference_generate.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Packing%20List%20Module/workflow_report.xml
...rned%20Sale%20Packing%20List%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order%20Module/workflow_report.xml
...em/portal_types/Sale%20Order%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/fast_input.xml
...tionTemplateItem/portal_types/Sale%20Order/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/fast_input_update.xml
...plateItem/portal_types/Sale%20Order/fast_input_update.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/order_summary.xml
...nTemplateItem/portal_types/Sale%20Order/order_summary.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List%20Module/workflow_report.xml
..._types/Sale%20Packing%20List%20Module/workflow_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/fast_input.xml
...ateItem/portal_types/Sale%20Packing%20List/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/fast_input_update.xml
.../portal_types/Sale%20Packing%20List/fast_input_update.xml
+2
-2
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_checkConsistencyForDeliveryFastInputDialog.py
...de/Delivery_checkConsistencyForDeliveryFastInputDialog.py
+1
-2
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_updateFastInputLineList.py
...rtal_skins/erp5_trade/Delivery_updateFastInputLineList.py
+8
-3
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_calculateProductStock.py
...skins/erp5_trade/InventoryReport_calculateProductStock.py
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_calculateProductStock.xml
...kins/erp5_trade/InventoryReport_calculateProductStock.xml
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_printAsODSSummary.py
...teItem/portal_skins/erp5_trade/Order_printAsODSSummary.py
+4
-3
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_categories/use/erp5_trade_renderjs_ui_test_use.xml
...portal_categories/use/erp5_trade_renderjs_ui_test_use.xml
+77
-0
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_preferences/erp5_trade_renderjs_ui_test_system_preference.xml
...erences/erp5_trade_renderjs_ui_test_system_preference.xml
+255
-0
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_trade_action_zuite/testTradeSaleOrderAddLines.xml
...erjs_ui_trade_action_zuite/testTradeSaleOrderAddLines.xml
+58
-0
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_trade_action_zuite/testTradeSaleOrderAddLines.zpt
...erjs_ui_trade_action_zuite/testTradeSaleOrderAddLines.zpt
+172
-0
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_trade_action_zuite/testTradeSolveDivergence.zpt
...nderjs_ui_trade_action_zuite/testTradeSolveDivergence.zpt
+1
-1
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/product_module/erp5_trade_renderjs_ui_test_product.xml
...em/product_module/erp5_trade_renderjs_ui_test_product.xml
+48
-8
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/product_module/erp5_trade_renderjs_ui_test_product/default_ssl.xml
...odule/erp5_trade_renderjs_ui_test_product/default_ssl.xml
+143
-0
bt5/erp5_trade_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_trade_renderjs_ui_test/TradeRJSZuite_createSaleOrder.py
...5_trade_renderjs_ui_test/TradeRJSZuite_createSaleOrder.py
+26
-0
bt5/erp5_trade_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_trade_renderjs_ui_test/TradeRJSZuite_createSaleOrder.xml
..._trade_renderjs_ui_test/TradeRJSZuite_createSaleOrder.xml
+62
-0
bt5/erp5_trade_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_trade_renderjs_ui_test/Zuite_CommonTemplateForTradeRenderjsUi.zpt
...nderjs_ui_test/Zuite_CommonTemplateForTradeRenderjsUi.zpt
+23
-1
bt5/erp5_trade_renderjs_ui_test/bt/template_keep_last_workflow_history_only_path_list
...est/bt/template_keep_last_workflow_history_only_path_list
+1
-0
bt5/erp5_trade_renderjs_ui_test/bt/template_keep_workflow_path_list
...rade_renderjs_ui_test/bt/template_keep_workflow_path_list
+1
-0
bt5/erp5_trade_renderjs_ui_test/bt/template_path_list
bt5/erp5_trade_renderjs_ui_test/bt/template_path_list
+2
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_updateDialogForm.py
...plateItem/portal_skins/erp5_core/Base_updateDialogForm.py
+4
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.xml
.../portal_skins/erp5_core/Folder_generateWorkflowReport.xml
+1
-1
No files found.
bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/add_internal_invoice_transaction_line.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/campaign_detailed_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/campaign_status.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/clone_ticket_and_event_list.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/meeting_detailed_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/meeting_status.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/sale_opportunity_detailed_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/sale_opportunity_status.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/view.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object
</string>
<string>
action_type/object
_list
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object
</string>
</value>
<value>
<string>
object
_list
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/support_request_detailed_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/support_request_status.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_cloneTicketAndEventList.py
View file @
4f19f40f
...
...
@@ -10,4 +10,4 @@ portal.portal_catalog.activate(activity='SQLQueue').searchAndActivate(
portal_status_message
=
portal
.
Base_translateString
(
'Events are beeing cloned in the background.'
)
keep_items
=
{
'portal_status_message'
:
portal_status_message
}
new_ticket
.
Base_redirect
(
form_id
=
form_id
,
keep_items
=
keep_items
)
return
new_ticket
.
Base_redirect
(
form_id
=
form_id
,
keep_items
=
keep_items
)
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_cloneTicketAndEventList.xml
View file @
4f19f40f
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
form_id=\'\'
</string>
</value>
<value>
<string>
form_id=\'\'
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Module/view.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/
folder
</string>
<string>
action_type/
object_list
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
folder
</string>
</value>
<value>
<string>
object_list
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Container/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Order/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Order/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Packing%20List%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Packing%20List/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Packing%20List/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory%20Report/calculate_product_stock.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/packing_list_print.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_print
</string>
<string>
action_type/object_
jio_
print
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_print
</string>
</value>
<value>
<string>
object_
jio_
print
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Order/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Order/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/reference_generate.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Packing%20List%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/order_summary.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List%20Module/workflow_report.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/fast_input.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/fast_input_update.xml
View file @
4f19f40f
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_checkConsistencyForDeliveryFastInputDialog.py
View file @
4f19f40f
...
...
@@ -40,5 +40,4 @@ if section_uid is None:
return
context
.
Base_redirect
(
'view'
,
keep_items
=
dict
(
portal_status_message
=
translateString
(
'Section must be defined.'
)))
return
context
.
Delivery_viewDeliveryFastInputDialog
(
*
args
,
**
kw
)
return
context
.
Base_renderForm
(
'Delivery_viewDeliveryFastInputDialog'
,
*
args
,
**
kw
)
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_updateFastInputLineList.py
View file @
4f19f40f
...
...
@@ -85,7 +85,7 @@ for line in listbox:
# Resource part
line
[
"resource_relative_url"
]
=
product
.
getRelativeUrl
()
#cell.getResource()
request
.
set
(
"field_listbox_resource_relative_url_new_%s"
%
line_id
,
product
.
getRelativeUrl
()
)
request
.
form
[
"field_listbox_resource_relative_url_new_%s"
%
line_id
]
=
product
.
getRelativeUrl
(
)
request
.
form
[
"field_listbox_quantity_unit_new_%s"
%
line_id
]
=
product
.
getQuantityUnit
()
variation_list
=
line
[
'variation_category_list'
]
...
...
@@ -153,6 +153,7 @@ for line in listbox:
status_message_dict
.
setdefault
(
product
.
getRelativeUrl
(),
[]).
append
(
line
[
'listbox_key'
])
status_message_list
=
[]
portal_status_message
=
None
if
status_message_dict
:
for
product_relative_url
,
line_id_list
in
status_message_dict
.
items
():
product
=
portal
.
restrictedTraverse
(
product_relative_url
)
...
...
@@ -166,8 +167,12 @@ if status_message_dict:
message
=
'Asked quantity of "${product_title} - ${product_reference}" is not available in inventory for line ${line_id}'
mapping
[
'line_id'
]
=
line_id_list
[
0
]
status_message_list
.
append
(
Base_translateString
(
message
,
mapping
=
mapping
))
request
.
set
(
'portal_status_message'
,
' -- '
.
join
(
status_message_list
)
)
portal_status_message
=
' -- '
.
join
(
status_message_list
)
request
.
form
[
"field_my_total_price"
]
=
total_price
context
.
Base_updateDialogForm
(
listbox
=
listbox
,
update
=
1
,
kw
=
kw
)
return
getattr
(
context
,
request
.
form
[
'dialog_id'
])(
listbox
=
listbox
,
kw
=
kw
)
return
context
.
Base_renderForm
(
request
.
form
[
'dialog_id'
],
message
=
portal_status_message
)
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_calculateProductStock.py
View file @
4f19f40f
...
...
@@ -7,4 +7,4 @@ context.calculate()
context
.
activate
().
InventoryReport_recordProductStock
()
if
not
batch_mode
:
message
=
context
.
Base_translateString
(
"Product Stock is creating"
)
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
message
})
return
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
message
})
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_calculateProductStock.xml
View file @
4f19f40f
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
batch_mode=False
</string>
</value>
<value>
<string>
batch_mode=False
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_printAsODSSummary.py
View file @
4f19f40f
...
...
@@ -118,9 +118,10 @@ if error is None:
if
error
is
not
None
:
return
context
.
REQUEST
.
RESPONSE
.
redirect
(
"%s/view?portal_status_message=%s"
%
(
context
.
absolute_url
(),
context
.
Base_translateString
(
error
,
mapping
=
error_kw
)))
previous_skin_selection
=
container
.
REQUEST
.
get
(
'previous_skin_selection'
,
None
)
context
.
getPortalObject
().
changeSkin
(
previous_skin_selection
)
return
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
context
.
Base_translateString
(
error
,
mapping
=
error_kw
)})
# Add a line for unit titles
for
source_trade
in
source_trade_dict
:
unit_title_dict
[
source_trade
]
=
default_quantity_unit_title
...
...
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_categories/use/erp5_trade_renderjs_ui_test_use.xml
0 → 100644
View file @
4f19f40f
<?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>
erp5_trade_renderjs_ui_test_use
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
erp5_trade_renderjs_ui_test_use
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_preferences/erp5_trade_renderjs_ui_test_system_preference.xml
0 → 100644
View file @
4f19f40f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"System Preference"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<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>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
<string>
Reviewer
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
<string>
Reviewer
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_trade_renderjs_ui_test_system_preference
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
System Preference
</string>
</value>
</item>
<item>
<key>
<string>
preferred_sale_use
</string>
</key>
<value>
<tuple>
<string>
use/erp5_trade_renderjs_ui_test_use
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
erp5_trade_renderjs_ui_test_system_preference
</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>
preference_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.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<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>
978.51388.31368.39970
</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>
1569851711.74
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
global_enable
</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>
preference_state
</string>
</key>
<value>
<string>
global
</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>
1569851797.22
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_trade_action_zuite/testTradeSaleOrderAddLines.xml
0 → 100644
View file @
4f19f40f
<?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>
testTradeSaleOrderAddLines
</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_trade_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_trade_action_zuite/testTradeSaleOrderAddLines.zpt
0 → 100644
View file @
4f19f40f
<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 Form View Editable Save Action
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test Default Module View
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForTradeRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForTradeRenderjsUi/macros/prepare_sale_order_data"
/>
<tr>
<td
colspan=
"3"
><b>
Display the add lines fast input
</b></td>
</tr>
<tr>
<td>
open
</td>
<td>
${renderjs_url}/sale_order_module/sale_order_module/erp5_trade_renderjs_ui_test_order
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': 'Actions'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': 'Add Lines'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(10)', 'footer': '10 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<tr>
<td
colspan=
"3"
><b>
Ensure that dialog update is rejected by default
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'error',
'text': 'Input data has errors.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(10)', 'footer': '10 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<tr>
<td>
assertTextNotPresent
</td>
<td>
Input is required but no input given.
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Ensure that a quantity is required when a product is entered
</b></td>
</tr>
<tr>
<td>
type
</td>
<td>
field_listbox_reference_new_3
</td>
<td>
NOTEXISTINGPRODUCT
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'error',
'text': 'Input data has errors.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(11)', 'footer': '11 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- Value is kept -->
<tr>
<td>
assertValue
</td>
<td>
field_listbox_reference_new_3
</td>
<td>
NOTEXISTINGPRODUCT
</td>
</tr>
<!--tr>
<td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-scope, 'field_listbox_quantity_new_3')]//span[text()='Input is required but no input given.']</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[contains(@data-gadget-scope, 'field_listbox_quantity_new_3')]//span[text()='Input is required but no input given.']</td>
<td></td>
</tr-->
<tr>
<td
colspan=
"3"
><b>
Select a product and a quantity, price is updated
</b></td>
</tr>
<tr>
<td>
type
</td>
<td>
field_listbox_reference_new_3
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
field_listbox_title_new_3
</td>
<td>
erp5_trade_renderjs_ui_test_product_title
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_listbox_quantity_new_3
</td>
<td>
2
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Asked quantity of "erp5_trade_renderjs_ui_test_product_title - " is not available in inventory for line 3'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<!-- Value is kept -->
<tr>
<td>
assertValue
</td>
<td>
field_listbox_reference_new_3
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
field_listbox_title_new_3
</td>
<td>
erp5_trade_renderjs_ui_test_product_title
</td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
field_listbox_resource_relative_url_new_3
</td>
<td>
product_module/erp5_trade_renderjs_ui_test_product
</td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
field_listbox_quantity_new_3
</td>
<td>
2
</td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
field_listbox_price_new_3
</td>
<td>
10.00
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Sale Order Line Created.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[contains(@data-gadget-scope, 'field_my_total_price')]//p[text()='20.00']
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_trade_action_zuite/testTradeSolveDivergence.zpt
View file @
4f19f40f
...
...
@@ -11,7 +11,7 @@
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForTradeRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForTradeRenderjsUi/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForTradeRenderjsUi/macros/prepare_
packing_list_
data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForTradeRenderjsUi/macros/view_solve_divergence_dialog"
/>
<tr>
...
...
bt5/erp5_trade_renderjs_ui_test/PathTemplateItem/product_module/erp5_trade_renderjs_ui_test_product.xml
View file @
4f19f40f
...
...
@@ -14,9 +14,7 @@
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -27,9 +25,7 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -40,9 +36,7 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -54,9 +48,33 @@
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</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/erp5_trade_renderjs_ui_test_use
</string>
</tuple>
</value>
</item>
...
...
@@ -93,4 +111,26 @@
</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_trade_renderjs_ui_test/PathTemplateItem/product_module/erp5_trade_renderjs_ui_test_product/default_ssl.xml
0 → 100644
View file @
4f19f40f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Sale Supply Line"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
base_price
</string>
</key>
<value>
<float>
10.0
</float>
</value>
</item>
<item>
<key>
<string>
base_price_per_slice
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
resource/product_module/erp5_trade_renderjs_ui_test_product
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
default_ssl
</string>
</value>
</item>
<item>
<key>
<string>
index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
mapped_value_property_list
</string>
</key>
<value>
<tuple>
<string>
base_price
</string>
<string>
additional_price
</string>
<string>
discount_ratio
</string>
<string>
exclusive_discount_ratio
</string>
<string>
surcharge_ratio
</string>
<string>
variable_additional_price
</string>
<string>
non_discountable_additional_price
</string>
<string>
priced_quantity
</string>
<string>
base_unit_price
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
max_delay
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
max_flow
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
max_stock
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
min_delay
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
min_flow
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
min_stock
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Sale Supply Line
</string>
</value>
</item>
<item>
<key>
<string>
priced_quantity
</string>
</key>
<value>
<none/>
</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>
path
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</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_trade_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_trade_renderjs_ui_test/TradeRJSZuite_createSaleOrder.py
0 → 100644
View file @
4f19f40f
from
Products.ERP5Type.DateUtils
import
getClosestDate
portal
=
context
.
getPortalObject
()
delivery_portal_type
=
"Sale Order"
delivery_id
=
"erp5_trade_renderjs_ui_test_order"
source_value
=
portal
.
restrictedTraverse
(
'organisation_module/erp5_trade_renderjs_ui_test_source_node'
)
destination_value
=
portal
.
restrictedTraverse
(
'organisation_module/erp5_trade_renderjs_ui_test_destination_node'
)
specialise_value
=
portal
.
restrictedTraverse
(
'business_process_module/erp5_trade_renderjs_ui_test_business_process'
)
resource_value
=
portal
.
restrictedTraverse
(
'product_module/erp5_trade_renderjs_ui_test_product'
)
module
=
portal
.
getDefaultModule
(
delivery_portal_type
)
delivery
=
module
.
newContent
(
portal_type
=
delivery_portal_type
,
id
=
delivery_id
,
title
=
'%s_title'
%
delivery_id
,
start_date
=
getClosestDate
(
precision
=
'day'
),
source_value
=
source_value
,
source_section_value
=
source_value
,
destination_value
=
destination_value
,
destination_section_value
=
destination_value
,
specialise_value
=
specialise_value
)
return
"Sale Order Created."
bt5/erp5_trade_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_trade_renderjs_ui_test/TradeRJSZuite_createSaleOrder.xml
0 → 100644
View file @
4f19f40f
<?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>
TradeRJSZuite_createSaleOrder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_trade_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_trade_renderjs_ui_test/Zuite_CommonTemplateForTradeRenderjsUi.zpt
View file @
4f19f40f
...
...
@@ -34,7 +34,29 @@
</tr>
</tal:block>
<tal:block metal:define-macro="prepare_data">
<tal:block metal:define-macro="prepare_sale_order_data">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForTradeRenderjsUi/macros/delete_data" />
<tr>
<td colspan="3"><b>Create Trade Test Data</b></td>
</tr>
<tr>
<td>open</td>
<td>${base_url}/TradeRJSZuite_createSaleOrder</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Sale Order Created.</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
<tal:block metal:define-macro="prepare_packing_list_data">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForTradeRenderjsUi/macros/delete_data" />
<tr>
<td colspan="3"><b>Create Trade Test Data</b></td>
...
...
bt5/erp5_trade_renderjs_ui_test/bt/template_keep_last_workflow_history_only_path_list
View file @
4f19f40f
organisation_module/erp5_trade_renderjs_ui_test_destination_node
organisation_module/erp5_trade_renderjs_ui_test_source_node
business_process_module/erp5_trade_renderjs_ui_test_business_process
portal_preferences/erp5_trade_renderjs_ui_test_system_preference
portal_rules/erp5_trade_renderjs_ui_test_delivery_rule
portal_rules/erp5_trade_renderjs_ui_test_delivering_rule
portal_rules/erp5_trade_renderjs_ui_test_order_root_rule
\ No newline at end of file
bt5/erp5_trade_renderjs_ui_test/bt/template_keep_workflow_path_list
0 → 100644
View file @
4f19f40f
portal_preferences/erp5_trade_renderjs_ui_test_system_preference
\ No newline at end of file
bt5/erp5_trade_renderjs_ui_test/bt/template_path_list
View file @
4f19f40f
...
...
@@ -6,8 +6,10 @@ organisation_module/erp5_trade_renderjs_ui_test_source_node
organisation_module/erp5_trade_renderjs_ui_test_source_node/**
portal_categories/trade_phase/erp5_trade_renderjs_ui_test_tp
portal_categories/trade_phase/erp5_trade_renderjs_ui_test_tp/**
portal_categories/use/erp5_trade_renderjs_ui_test_use
portal_deliveries/erp5_trade_renderjs_ui_test_spl_builder
portal_deliveries/erp5_trade_renderjs_ui_test_spl_builder/**
portal_preferences/erp5_trade_renderjs_ui_test_system_preference
portal_rules/erp5_trade_renderjs_ui_test_delivering_rule
portal_rules/erp5_trade_renderjs_ui_test_delivering_rule/**
portal_rules/erp5_trade_renderjs_ui_test_delivery_rule
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_updateDialogForm.py
View file @
4f19f40f
...
...
@@ -3,6 +3,10 @@ request = context.REQUEST
from
string
import
zfill
if
kw
.
get
(
'update'
,
False
):
# Ensure ERP5JS correctly refresh the page
request
.
RESPONSE
.
setStatus
(
400
)
for
k
in
kw
.
keys
():
v
=
kw
[
k
]
if
k
.
endswith
(
'listbox'
):
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.xml
View file @
4f19f40f
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
use_selection=False, selection_name=None
</string>
</value>
<value>
<string>
use_selection=False, selection_name=None
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
...
...
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