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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
49dfc705
Commit
49dfc705
authored
Sep 18, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_*] Enable actions for ERP5JS
parent
a7e8e5fe
Changes
65
Show whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
228 additions
and
165 deletions
+228
-165
bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_new_file.xml
...ypes/Internal%20Invoice%20Transaction/create_new_file.xml
+5
-3
bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_reversal.xml
...ypes/Internal%20Invoice%20Transaction/create_reversal.xml
+2
-2
bt5/erp5_authentication_policy/ActionTemplateItem/portal_types/ERP5%20Login/unblock_user_login.xml
...lateItem/portal_types/ERP5%20Login/unblock_user_login.xml
+2
-2
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Login_unblockLogin.py
...al_skins/erp5_authentication_policy/Login_unblockLogin.py
+2
-2
bt5/erp5_base/ActionTemplateItem/portal_types/Embedded%20File/download.xml
...ionTemplateItem/portal_types/Embedded%20File/download.xml
+5
-3
bt5/erp5_base/ActionTemplateItem/portal_types/File/update_content_from_url.xml
...emplateItem/portal_types/File/update_content_from_url.xml
+2
-2
bt5/erp5_base/ActionTemplateItem/portal_types/Image/update_content_from_url.xml
...mplateItem/portal_types/Image/update_content_from_url.xml
+2
-2
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Document_updateContentFromURL.py
...m/portal_skins/erp5_base/Document_updateContentFromURL.py
+1
-1
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Document_updateContentFromURL.xml
.../portal_skins/erp5_base/Document_updateContentFromURL.xml
+1
-1
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/create_new_file.xml
...ionTemplateItem/portal_types/Campaign/create_new_file.xml
+5
-3
bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/create_new_file.xml
...tionTemplateItem/portal_types/Meeting/create_new_file.xml
+5
-3
bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/create_new_file.xml
...eItem/portal_types/Sale%20Opportunity/create_new_file.xml
+5
-3
bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/create_new_file.xml
...teItem/portal_types/Support%20Request/create_new_file.xml
+5
-3
bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/print.xml
...rp5_dms/ActionTemplateItem/portal_types/Drawing/print.xml
+5
-3
bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/update_content_from_url.xml
...lateItem/portal_types/Drawing/update_content_from_url.xml
+2
-2
bt5/erp5_dms/ActionTemplateItem/portal_types/PDF/update_content_from_url.xml
...TemplateItem/portal_types/PDF/update_content_from_url.xml
+2
-2
bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/print.xml
...ms/ActionTemplateItem/portal_types/Presentation/print.xml
+5
-3
bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/update_content_from_url.xml
...tem/portal_types/Presentation/update_content_from_url.xml
+2
-2
bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/print.xml
...dms/ActionTemplateItem/portal_types/Spreadsheet/print.xml
+2
-2
bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/update_content_from_url.xml
...Item/portal_types/Spreadsheet/update_content_from_url.xml
+2
-2
bt5/erp5_dms/ActionTemplateItem/portal_types/Text/print.xml
bt5/erp5_dms/ActionTemplateItem/portal_types/Text/print.xml
+5
-3
bt5/erp5_dms/ActionTemplateItem/portal_types/Text/suggest_reference.xml
...ctionTemplateItem/portal_types/Text/suggest_reference.xml
+6
-4
bt5/erp5_dms/ActionTemplateItem/portal_types/Text/update_content_from_url.xml
...emplateItem/portal_types/Text/update_content_from_url.xml
+2
-2
bt5/erp5_dms/ActionTemplateItem/portal_types/Web%20Illustration/send_email.xml
...mplateItem/portal_types/Web%20Illustration/send_email.xml
+5
-3
bt5/erp5_dms/ActionTemplateItem/portal_types/Web%20Table/send_email.xml
...ctionTemplateItem/portal_types/Web%20Table/send_email.xml
+5
-3
bt5/erp5_hr/ActionTemplateItem/portal_types/Position%20Announcement/send_email.xml
...eItem/portal_types/Position%20Announcement/send_email.xml
+5
-3
bt5/erp5_ingestion/ActionTemplateItem/portal_types/Organisation/create_new_file.xml
...emplateItem/portal_types/Organisation/create_new_file.xml
+5
-3
bt5/erp5_ingestion/ActionTemplateItem/portal_types/Person/create_new_file.xml
...ctionTemplateItem/portal_types/Person/create_new_file.xml
+5
-3
bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/apply_model.xml
...em/portal_types/Pay%20Sheet%20Transaction/apply_model.xml
+5
-3
bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
...ateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
+5
-3
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_applyModel.py
...rtal_skins/erp5_payroll/PaySheetTransaction_applyModel.py
+7
-2
bt5/erp5_pdm/ActionTemplateItem/portal_types/Transformation%20Operation/complete_quantity_matrix.xml
...s/Transformation%20Operation/complete_quantity_matrix.xml
+5
-3
bt5/erp5_pdm/ActionTemplateItem/portal_types/Transformation%20Transformed%20Resource/complete_quantity_matrix.xml
...ion%20Transformed%20Resource/complete_quantity_matrix.xml
+5
-3
bt5/erp5_pdm/ActionTemplateItem/portal_types/Transformation%20Transformed%20Resource/complete_variation_matrix.xml
...on%20Transformed%20Resource/complete_variation_matrix.xml
+5
-3
bt5/erp5_pdm/ActionTemplateItem/portal_types/Transformation/update_variation_list.xml
...tem/portal_types/Transformation/update_variation_list.xml
+5
-3
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformedResource_completeQuantityMatrix.py
...ns/erp5_pdm/TransformedResource_completeQuantityMatrix.py
+1
-7
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformedResource_completeVariationMatrix.py
...s/erp5_pdm/TransformedResource_completeVariationMatrix.py
+2
-6
bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/add_task_related.xml
...lateItem/portal_types/Project%20Line/add_task_related.xml
+2
-2
bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/cleanup_descriptions.xml
...tal_types/Requirement%20Document/cleanup_descriptions.xml
+5
-3
bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/reference_generate.xml
...ortal_types/Requirement%20Document/reference_generate.xml
+5
-3
bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/reference_generate.xml
...plateItem/portal_types/Requirement/reference_generate.xml
+5
-3
bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/icalendar_export.xml
.../portal_types/Task%20Report%20Module/icalendar_export.xml
+2
-2
bt5/erp5_project/ActionTemplateItem/portal_types/Task/apply_trade_condition.xml
...nTemplateItem/portal_types/Task/apply_trade_condition.xml
+5
-3
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_addTask.py
...TemplateItem/portal_skins/erp5_project/Project_addTask.py
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_generateReference.py
...ortal_skins/erp5_project/Requirement_generateReference.py
+2
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_exportTaskReportListAsiCalendar.xml
...ject/TaskReportModule_exportTaskReportListAsiCalendar.xml
+1
-1
bt5/erp5_simplified_invoicing/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/apply_trade_condition.xml
...urchase%20Invoice%20Transaction/apply_trade_condition.xml
+5
-3
bt5/erp5_simplified_invoicing/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/apply_trade_condition.xml
...es/Sale%20Invoice%20Transaction/apply_trade_condition.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Internal%20Order/apply_trade_condition.xml
...m/portal_types/Internal%20Order/apply_trade_condition.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/apply_trade_condition.xml
...m/portal_types/Purchase%20Order/apply_trade_condition.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/reset_movement_price_list.xml
...rtal_types/Purchase%20Order/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/reset_movement_price_list.xml
...s/Purchase%20Packing%20List/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Order/apply_trade_condition.xml
...pes/Returned%20Purchase%20Order/apply_trade_condition.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Purchase%20Order/reset_movement_price_list.xml
...Returned%20Purchase%20Order/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/apply_trade_condition.xml
...l_types/Returned%20Sale%20Order/apply_trade_condition.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Order/reset_movement_price_list.xml
...pes/Returned%20Sale%20Order/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Returned%20Sale%20Packing%20List/reset_movement_price_list.xml
...ned%20Sale%20Packing%20List/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/apply_trade_condition.xml
...eItem/portal_types/Sale%20Order/apply_trade_condition.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/reference_generate.xml
...lateItem/portal_types/Sale%20Order/reference_generate.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order/reset_movement_price_list.xml
...m/portal_types/Sale%20Order/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/reset_movement_price_list.xml
...types/Sale%20Packing%20List/reset_movement_price_list.xml
+2
-2
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InternalOrder_applyTradeCondition.xml
...al_skins/erp5_trade/InternalOrder_applyTradeCondition.xml
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_generateReference.py
...teItem/portal_skins/erp5_trade/Order_generateReference.py
+2
-1
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Page/send_email.xml
...ActionTemplateItem/portal_types/Web%20Page/send_email.xml
+5
-3
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebPage_viewSendByEmail.py
...lateItem/portal_skins/erp5_web/WebPage_viewSendByEmail.py
+1
-1
No files found.
bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</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_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_reversal.xml
View file @
49dfc705
...
...
@@ -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_authentication_policy/ActionTemplateItem/portal_types/ERP5%20Login/unblock_user_login.xml
View file @
49dfc705
...
...
@@ -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_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Login_unblockLogin.py
View file @
49dfc705
...
...
@@ -5,7 +5,7 @@ portal_preferences = portal.portal_preferences
if
not
portal
.
portal_preferences
.
isAuthenticationPolicyEnabled
():
# no policy, no sense to unblock account
return
0
return
context
.
Base_redirect
(
form_id
=
form_id
)
now
=
DateTime
()
one_second
=
1
/
24.0
/
60.0
/
60.0
...
...
@@ -31,7 +31,7 @@ for authentication_event in authentication_event_list:
if
not
batch_mode
:
message
=
context
.
Base_translateString
(
'User Login unblocked.'
)
if
cancel_url
is
None
:
context
.
Base_redirect
(
form_id
=
form_id
,
keep_items
=
{
'portal_status_message'
:
message
})
return
context
.
Base_redirect
(
form_id
=
form_id
,
keep_items
=
{
'portal_status_message'
:
message
})
else
:
context
.
REQUEST
.
RESPONSE
.
redirect
(
'%s?portal_status_message=%s'
%
(
cancel_url
,
message
))
...
...
bt5/erp5_base/ActionTemplateItem/portal_types/Embedded%20File/download.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_exchange
</string>
<string>
action_type/object_
jio_
exchange
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_exchange
</string>
</value>
<value>
<string>
object_
jio_
exchange
</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_base/ActionTemplateItem/portal_types/File/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_base/ActionTemplateItem/portal_types/Image/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_base/SkinTemplateItem/portal_skins/erp5_base/Document_updateContentFromURL.py
View file @
49dfc705
context
.
updateContentFromURL
(
repeat
=
repeat
,
crawling_depth
=
crawling_depth
)
message
=
context
.
Base_translateString
(
'Update started.'
)
context
.
Base_redirect
(
form_id
,
keep_items
=
dict
(
portal_status_message
=
message
))
return
context
.
Base_redirect
(
form_id
,
keep_items
=
dict
(
portal_status_message
=
message
))
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Document_updateContentFromURL.xml
View file @
49dfc705
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
repeat=10, crawling_depth=0, form_id=None
</string>
</value>
<value>
<string>
repeat=10, crawling_depth=0, form_id=None
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -32,7 +32,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/Meeting/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -32,7 +32,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/Sale%20Opportunity/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -32,7 +32,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/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -32,7 +32,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/print.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Drawing/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/PDF/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Presentation/print.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Presentation/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Spreadsheet/print.xml
View file @
49dfc705
...
...
@@ -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>
...
...
bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Text/print.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Text/suggest_reference.xml
View file @
49dfc705
...
...
@@ -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>
...
...
@@ -71,7 +73,7 @@
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Document_suggestReference
</string>
</value>
<value>
<string>
string:${object_url}/Document_suggestReference
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_dms/ActionTemplateItem/portal_types/Text/update_content_from_url.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Web%20Illustration/send_email.xml
View file @
49dfc705
...
...
@@ -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_dms/ActionTemplateItem/portal_types/Web%20Table/send_email.xml
View file @
49dfc705
...
...
@@ -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_hr/ActionTemplateItem/portal_types/Position%20Announcement/send_email.xml
View file @
49dfc705
...
...
@@ -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_ingestion/ActionTemplateItem/portal_types/Organisation/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</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_ingestion/ActionTemplateItem/portal_types/Person/create_new_file.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_button
</string>
<string>
action_type/object_
jio_
button
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_button
</string>
</value>
<value>
<string>
object_
jio_
button
</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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/apply_model.xml
View file @
49dfc705
...
...
@@ -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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
View file @
49dfc705
...
...
@@ -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>
...
...
@@ -32,7 +32,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_applyModel.py
View file @
49dfc705
...
...
@@ -8,9 +8,14 @@ category_list = [
]
new_category_dict
=
{}
model
=
paysheet
.
getSpecialiseValue
().
getEffectiveModel
(
\
specialise_value
=
paysheet
.
getSpecialiseValue
()
if
specialise_value
is
None
:
model
=
None
else
:
model
=
specialise_value
.
getEffectiveModel
(
start_date
=
paysheet
.
getStartDate
(),
stop_date
=
paysheet
.
getStopDate
())
stop_date
=
paysheet
.
getStopDate
()
)
if
model
is
None
:
return
context
.
Base_redirect
(
form_id
,
...
...
bt5/erp5_pdm/ActionTemplateItem/portal_types/Transformation%20Operation/complete_quantity_matrix.xml
View file @
49dfc705
...
...
@@ -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_pdm/ActionTemplateItem/portal_types/Transformation%20Transformed%20Resource/complete_quantity_matrix.xml
View file @
49dfc705
...
...
@@ -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_pdm/ActionTemplateItem/portal_types/Transformation%20Transformed%20Resource/complete_variation_matrix.xml
View file @
49dfc705
...
...
@@ -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_pdm/ActionTemplateItem/portal_types/Transformation/update_variation_list.xml
View file @
49dfc705
...
...
@@ -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_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformedResource_completeQuantityMatrix.py
View file @
49dfc705
...
...
@@ -30,10 +30,4 @@ for cell_key in cell_key_list:
cell
.
setMembershipCriterionCategoryList
(
cell_key
)
cell
.
setMembershipCriterionBaseCategoryList
(
context
.
getQVariationBaseCategoryList
()
)
redirect_url
=
'%s/%s?%s&%s&%s'
%
(
context
.
absolute_url
()
,
form_id
,
'selection_index=%s'
%
selection_index
,
'selection_name=%s'
%
selection_name
,
'portal_status_message=Consumption+applied.'
)
return
request
[
'RESPONSE'
].
redirect
(
redirect_url
)
return
context
.
Base_redirect
(
form_id
,
keep_item
=
{
'portal_status_message'
:
'Consumption applied.'
})
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformedResource_completeVariationMatrix.py
View file @
49dfc705
...
...
@@ -12,8 +12,4 @@ for cell_key in cell_key_list:
cell
.
setMembershipCriterionCategoryList
(
cell_key
)
cell
.
setMembershipCriterionBaseCategoryList
(
context
.
getVVariationBaseCategoryList
()
)
redirect_url
=
'%s/%s?%s'
%
(
context
.
absolute_url
()
,
form_id
,
'portal_status_message=Variation+matrix++updated.'
)
return
request
[
'RESPONSE'
].
redirect
(
redirect_url
)
return
context
.
Base_redirect
(
form_id
,
keep_items
=
{
'portal_status_message'
:
'Variation matrix updated.'
})
bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/add_task_related.xml
View file @
49dfc705
...
...
@@ -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_project/ActionTemplateItem/portal_types/Requirement%20Document/cleanup_descriptions.xml
View file @
49dfc705
...
...
@@ -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_project/ActionTemplateItem/portal_types/Requirement%20Document/reference_generate.xml
View file @
49dfc705
...
...
@@ -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_project/ActionTemplateItem/portal_types/Requirement/reference_generate.xml
View file @
49dfc705
...
...
@@ -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_project/ActionTemplateItem/portal_types/Task%20Report%20Module/icalendar_export.xml
View file @
49dfc705
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_exchange
</string>
<string>
action_type/object_
jio_
exchange
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_exchange
</string>
</value>
<value>
<string>
object_
jio_
exchange
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_project/ActionTemplateItem/portal_types/Task/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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_project/SkinTemplateItem/portal_skins/erp5_project/Project_addTask.py
View file @
49dfc705
...
...
@@ -5,4 +5,4 @@ task = context.task_module.newContent( portal_type = 'Task')
# Set the source_project
task
.
setSourceProjectValue
(
context_obj
)
return
context
.
REQUEST
.
RESPONSE
.
redirect
(
task
.
absolute_url
()
+
'?portal_status_message=Created+Task.'
)
return
task
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
'Created Task.'
}
)
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_generateReference.py
View file @
49dfc705
...
...
@@ -18,4 +18,5 @@ generateReference(reference, context, "Requirement")
msg
=
translateString
(
'Reference generated for all requirements.'
)
# Return to view mode
return
context
.
Base_redirect
(
form_id
,
keep_items
=
{
'portal_status_message'
:
msg
},
**
kw
)
kw
[
'keep_items'
]
=
{
'portal_status_message'
:
msg
}
return
context
.
Base_redirect
(
form_id
,
**
kw
)
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_exportTaskReportListAsiCalendar.xml
View file @
49dfc705
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_simplified_invoicing/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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_simplified_invoicing/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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/Internal%20Order/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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/Purchase%20Order/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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%20Packing%20List/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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/Returned%20Purchase%20Order/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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%20Purchase%20Order/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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/Returned%20Sale%20Order/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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%20Order/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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/Returned%20Sale%20Packing%20List/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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/Sale%20Order/apply_trade_condition.xml
View file @
49dfc705
...
...
@@ -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/Sale%20Order/reference_generate.xml
View file @
49dfc705
...
...
@@ -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/Sale%20Order/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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/Sale%20Packing%20List/reset_movement_price_list.xml
View file @
49dfc705
...
...
@@ -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/SkinTemplateItem/portal_skins/erp5_trade/InternalOrder_applyTradeCondition.xml
View file @
49dfc705
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
form_id=\'view\', batch_mode=0, force=1
</string>
</value>
<value>
<string>
form_id=\'view\', batch_mode=0, force=1
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_generateReference.py
View file @
49dfc705
...
...
@@ -20,4 +20,5 @@ generateReference('%s-M' % reference, context, "%s Milestone" % context.getPorta
msg
=
translateString
(
'Reference generated for all order lines and milestones.'
)
# Return to view mode
return
context
.
Base_redirect
(
form_id
,
keep_items
=
{
'portal_status_message'
:
msg
},
**
kw
)
kw
[
'keep_items'
]
=
{
'portal_status_message'
:
msg
}
return
context
.
Base_redirect
(
form_id
,
**
kw
)
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Page/send_email.xml
View file @
49dfc705
...
...
@@ -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_web/SkinTemplateItem/portal_skins/erp5_web/WebPage_viewSendByEmail.py
View file @
49dfc705
...
...
@@ -3,4 +3,4 @@ for email in email_recipient_list:
mto
=
email
,
mfrom
=
email_sender
,
subject
=
email_title
,
encode
=
'8bit'
)
return
"Done"
return
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
"Done"
})
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