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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
0a34f141
Commit
0a34f141
authored
Nov 14, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebrand Sale Packing List Builder.
parent
5368bf44
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
448 additions
and
9 deletions
+448
-9
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_sale_business_process/deliver.xml
...s_process_module/slapos_sale_business_process/deliver.xml
+1
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder.xml
...em/portal_deliveries/slapos_sale_packing_list_builder.xml
+4
-4
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/base_variant_movement_group_in_line.xml
...king_list_builder/base_variant_movement_group_in_line.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/category_movement_group_on_delivery.xml
...king_list_builder/category_movement_group_on_delivery.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/category_movement_group_on_line.xml
..._packing_list_builder/category_movement_group_on_line.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml
...t_builder/causality_assignment_movement_group_on_cell.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
...t_builder/causality_assignment_movement_group_on_line.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/order_movement_group_on_delivery.xml
...packing_list_builder/order_movement_group_on_delivery.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/property_movement_group_on_delivery.xml
...king_list_builder/property_movement_group_on_delivery.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/property_movement_group_on_line.xml
..._packing_list_builder/property_movement_group_on_line.xml
+0
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/variant_movement_group_on_cell.xml
...e_packing_list_builder/variant_movement_group_on_cell.xml
+0
-0
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SlapOSDeliveryBuilder_selectMovement.xml
...lapos_accounting/SlapOSDeliveryBuilder_selectMovement.xml
+349
-0
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SlapOSSalePackingList_postGeneration.xml
...lapos_accounting/SlapOSSalePackingList_postGeneration.xml
+89
-0
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
master/bt5/slapos_accounting/bt/template_path_list
master/bt5/slapos_accounting/bt/template_path_list
+2
-0
master/bt5/vifib_data_simulation/PathTemplateItem/business_process_module/vifib_simple_sale_business_process/deliver.xml
...ess_module/vifib_simple_sale_business_process/deliver.xml
+1
-1
master/bt5/vifib_data_simulation/bt/revision
master/bt5/vifib_data_simulation/bt/revision
+1
-1
master/bt5/vifib_data_simulation/bt/template_path_list
master/bt5/vifib_data_simulation/bt/template_path_list
+0
-2
No files found.
master/bt5/slapos_accounting/PathTemplateItem/business_process_module/slapos_sale_business_process/deliver.xml
View file @
0a34f141
...
...
@@ -106,6 +106,7 @@
<string>
trade_phase/slapos/delivery
</string>
<string>
predecessor/trade_state/ordered
</string>
<string>
successor/trade_state/delivered
</string>
<string>
delivery_builder/portal_deliveries/slapos_sale_packing_list_builder
</string>
</tuple>
</value>
</item>
...
...
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder.xml
View file @
0a34f141
...
...
@@ -65,7 +65,7 @@
</item>
<item>
<key>
<string>
delivery_after_generation_script_id
</string>
</key>
<value>
<string>
Vifib
SalePackingList_postGeneration
</string>
</value>
<value>
<string>
SlapOS
SalePackingList_postGeneration
</string>
</value>
</item>
<item>
<key>
<string>
delivery_cell_collect_order
</string>
</key>
...
...
@@ -140,7 +140,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib
_sale_packing_list_builder
</string>
</value>
<value>
<string>
slapos
_sale_packing_list_builder
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
@@ -154,11 +154,11 @@
</item>
<item>
<key>
<string>
simulation_select_method_id
</string>
</key>
<value>
<string>
Vifib
DeliveryBuilder_selectMovement
</string>
</value>
<value>
<string>
SlapOS
DeliveryBuilder_selectMovement
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Vifib
Sale Packing List Builder
</string>
</value>
<value>
<string>
SlapOS
Sale Packing List Builder
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/base_variant_movement_group_in_line.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/base_variant_movement_group_in_line.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/category_movement_group_on_delivery.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/category_movement_group_on_delivery.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/category_movement_group_on_line.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/category_movement_group_on_line.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/order_movement_group_on_delivery.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/order_movement_group_on_delivery.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/property_movement_group_on_delivery.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/property_movement_group_on_delivery.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/property_movement_group_on_line.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/property_movement_group_on_line.xml
View file @
0a34f141
File moved
master/bt5/
vifib_data_simulation/PathTemplateItem/portal_deliveries/vifib
_sale_packing_list_builder/variant_movement_group_on_cell.xml
→
master/bt5/
slapos_accounting/PathTemplateItem/portal_deliveries/slapos
_sale_packing_list_builder/variant_movement_group_on_cell.xml
View file @
0a34f141
File moved
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SlapOSDeliveryBuilder_selectMovement.xml
0 → 100644
View file @
0a34f141
<?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>
_Access_contents_information_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_Python_Scripts_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_bindings_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_cache_settings_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_permissions_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_proxy_roles_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_WebDAV_Locks_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_properties_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Take_ownership_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Undo_changes_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_History_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_management_screens_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Lock_items_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Unlock_items_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_access_Permission
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
</list>
</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>
_body
</string>
</key>
<value>
<string>
select_dict= {\'delivery_uid\': None}\n
kw[\'select_dict\']=select_dict\n
kw[\'left_join_list\']=select_dict.keys()\n
kw[\'delivery_uid\']=None\n
kw[\'group_by\']=(\'uid\',)\n
if src__==0:\n
return context.portal_catalog(**kw)\n
else:\n
return context.portal_catalog(src__=1, **kw)\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
src__=0, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SlapOSDeliveryBuilder_selectMovement
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SlapOSSalePackingList_postGeneration.xml
0 → 100644
View file @
0a34f141
<?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>
_body
</string>
</key>
<value>
<string>
if related_simulation_movement_path_list is None:\n
raise RuntimeError, \'related_simulation_movement_path_list is missing. Update ERP5 Product.\'\n
\n
packing_list = context\n
\n
try:\n
packing_list.PackingList_copyOrderProperties()\n
except AttributeError:\n
# does not come from Order\n
pass\n
\n
# Then, modify state\n
packing_list.Delivery_confirm()\n
\n
line = packing_list.contentValues(portal_type=\'Sale Packing List Line\')[0]\n
portal = packing_list.getPortalObject()\n
\n
if line.getResource() == portal.portal_preferences.getPreferredInstanceSetupResource():\n
packing_list.activate(after_path_and_method_id=(packing_list.getPath(),\n
(\'immediateReindexObject\', \'recursiveImmediateReindexObject\'))).SalePackingList_deliverInstanceSetup()\n
\n
# First set the packing_list in the building state\n
packing_list.startBuilding()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
related_simulation_movement_path_list=None
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SlapOSSalePackingList_postGeneration
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_accounting/bt/revision
View file @
0a34f141
25
\ No newline at end of file
26
\ No newline at end of file
master/bt5/slapos_accounting/bt/template_path_list
View file @
0a34f141
...
...
@@ -21,6 +21,8 @@ organisation_module/slapos/bank_account
portal_alarms/slapos_request_update_hosting_subscription_open_sale_order
portal_categories/trade_phase/slapos
portal_categories/trade_phase/slapos/**
portal_deliveries/slapos_sale_packing_list_builder
portal_deliveries/slapos_sale_packing_list_builder/**
portal_rules/slapos_subscription_item_rule
portal_rules/slapos_subscription_item_rule/**
sale_trade_condition_module/slapos_trade_condition
...
...
master/bt5/vifib_data_simulation/PathTemplateItem/business_process_module/vifib_simple_sale_business_process/deliver.xml
View file @
0a34f141
...
...
@@ -106,7 +106,7 @@
<string>
trade_phase/slapos/delivery
</string>
<string>
predecessor/trade_state/ordered
</string>
<string>
successor/trade_state/delivered
</string>
<string>
delivery_builder/portal_deliveries/
vifib
_sale_packing_list_builder
</string>
<string>
delivery_builder/portal_deliveries/
slapos
_sale_packing_list_builder
</string>
</tuple>
</value>
</item>
...
...
master/bt5/vifib_data_simulation/bt/revision
View file @
0a34f141
130
\ No newline at end of file
131
\ No newline at end of file
master/bt5/vifib_data_simulation/bt/template_path_list
View file @
0a34f141
...
...
@@ -13,8 +13,6 @@ portal_deliveries/vifib_sale_invoice_transaction_builder
portal_deliveries/vifib_sale_invoice_transaction_builder/**
portal_deliveries/vifib_sale_invoice_transaction_trade_model_builder
portal_deliveries/vifib_sale_invoice_transaction_trade_model_builder/**
portal_deliveries/vifib_sale_packing_list_builder
portal_deliveries/vifib_sale_packing_list_builder/**
portal_rules/vifib_accounting_transaction_root_simulation_rule
portal_rules/vifib_accounting_transaction_root_simulation_rule/**
portal_rules/vifib_delivery_root_simulation_rule
...
...
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