Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
fe983b38
Commit
fe983b38
authored
Jun 23, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: drop jump_related_grouped_sale_packing_list
parent
4f67ba1d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
185 deletions
+0
-185
master/bt5/slapos_accounting/ActionTemplateItem/portal_types/Sale%20Packing%20List/jump_related_grouped_sale_packing_list.xml
...Packing%20List/jump_related_grouped_sale_packing_list.xml
+0
-81
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SalePackingList_jumpToRelatedGroupedSalePackingList.py
...ng/SalePackingList_jumpToRelatedGroupedSalePackingList.py
+0
-41
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SalePackingList_jumpToRelatedGroupedSalePackingList.xml
...g/SalePackingList_jumpToRelatedGroupedSalePackingList.xml
+0
-62
master/bt5/slapos_accounting/bt/template_action_path_list
master/bt5/slapos_accounting/bt/template_action_path_list
+0
-1
No files found.
master/bt5/slapos_accounting/ActionTemplateItem/portal_types/Sale%20Packing%20List/jump_related_grouped_sale_packing_list.xml
deleted
100644 → 0
View file @
4f67ba1d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_jump
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_jump
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
jump_related_grouped_sale_packing_list
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
8.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Related Grouped Sale Packing List Lines
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/SalePackingList_jumpToRelatedGroupedSalePackingList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SalePackingList_jumpToRelatedGroupedSalePackingList.py
deleted
100644 → 0
View file @
4f67ba1d
portal
=
context
.
getPortalObject
()
business_process_uid_list
=
[
portal
.
business_process_module
.
slapos_subscription_business_process
.
getUid
()]
subscription_delivery_specialise_uid_list
=
[
q
.
getUid
()
for
q
in
portal
.
ERP5Site_searchRelatedInheritedSpecialiseList
(
specialise_uid
=
business_process_uid_list
,
portal_type
=
'Sale Trade Condition'
)]
search_kw
=
{
'portal_type'
:
'Sale Packing List Line'
,
'simulation_state'
:
'delivered'
,
# Default Aggregate UID to the instance tree?
"parent_specialise_uid"
:
subscription_delivery_specialise_uid_list
,
'grouping_reference'
:
context
.
getReference
()}
related_line_list
=
portal
.
portal_catalog
(
**
search_kw
)
if
len
(
related_line_list
)
==
0
:
return
context
.
Base_redirect
(
"view"
,
keep_items
=
{
"portal_status_message"
:
context
.
Base_translateString
(
"No Packing List related."
)}
)
elif
len
(
related_line_list
)
==
1
:
related_line_list
[
0
].
Base_redirect
(
"view"
,
keep_items
=
{
"portal_status_message"
:
context
.
Base_translateString
(
"Related Grouped Sale Packing List"
)}
)
else
:
selection_uid_list
=
[
x
.
getUid
()
for
x
in
related_line_list
]
message
=
context
.
Base_translateString
(
"Documents related to %s."
%
context
.
getPortalType
(),
# if not found, fallback to generic translation
default
=
context
.
Base_translateString
(
'Documents related to ${that_portal_type} : ${that_title}.'
,
mapping
=
{
"that_portal_type"
:
context
.
getTranslatedPortalType
(),
"that_title"
:
context
.
getTitleOrId
()
}),)
return
context
.
Base_redirect
(
"Base_jumpToRelatedObjectList"
,
keep_items
=
dict
(
reset
=
1
,
uid
=
selection_uid_list
,
portal_status_message
=
message
))
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SalePackingList_jumpToRelatedGroupedSalePackingList.xml
deleted
100644 → 0
View file @
4f67ba1d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</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>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SalePackingList_jumpToRelatedGroupedSalePackingList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_accounting/bt/template_action_path_list
View file @
fe983b38
...
@@ -13,7 +13,6 @@ Person | jump_to_cloud_contract
...
@@ -13,7 +13,6 @@ Person | jump_to_cloud_contract
Root Applied Rule Causality Causality Movement Group | view
Root Applied Rule Causality Causality Movement Group | view
Sale Invoice Transaction | create_slapos_reversal
Sale Invoice Transaction | create_slapos_reversal
Sale Packing List | jump_related_aggregated_packing_list
Sale Packing List | jump_related_aggregated_packing_list
Sale Packing List | jump_related_grouped_sale_packing_list
SlapOS Accounting Quantity Updating Order Builder | view
SlapOS Accounting Quantity Updating Order Builder | view
SlapOS Accounting Quantity Updating Order Builder | view_predicate_group
SlapOS Accounting Quantity Updating Order Builder | view_predicate_group
SlapOS Accounting Quantity Updating Order Builder | view_profile
SlapOS Accounting Quantity Updating Order Builder | view_profile
...
...
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