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
9dc4dbd5
Commit
9dc4dbd5
authored
Mar 21, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TO SQUASH slapos_*: remove zh templates
parent
67b30ac3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
368 deletions
+6
-368
master/bt5/slapos_accounting/PropertySheetTemplateItem/portal_property_sheets/SlapOSAccountingSystemPreference/preferred_zh_pre_payment_subscription_invoice_template_property.xml
...zh_pre_payment_subscription_invoice_template_property.xml
+0
-67
master/bt5/slapos_accounting/PropertySheetTemplateItem/portal_property_sheets/SlapOSAccountingSystemPreference/preferred_zh_pre_payment_template_property.xml
...Preference/preferred_zh_pre_payment_template_property.xml
+0
-67
master/bt5/slapos_cloud/PreferenceTemplateItem/portal_preferences/slapos_default_system_preference.xml
...m/portal_preferences/slapos_default_system_preference.xml
+6
-2
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SystemPreference_viewSlapOS.xml
...portal_skins/slapos_cloud/SystemPreference_viewSlapOS.xml
+0
-2
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SystemPreference_viewSlapOS/my_preferred_zh_pre_payment_subscription_invoice_template.xml
...referred_zh_pre_payment_subscription_invoice_template.xml
+0
-96
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SystemPreference_viewSlapOS/my_preferred_zh_pre_payment_template.xml
...rence_viewSlapOS/my_preferred_zh_pre_payment_template.xml
+0
-96
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.SlapOSTestCaseMixin.py
...teItem/portal_components/test.erp5.SlapOSTestCaseMixin.py
+0
-38
No files found.
master/bt5/slapos_accounting/PropertySheetTemplateItem/portal_property_sheets/SlapOSAccountingSystemPreference/preferred_zh_pre_payment_subscription_invoice_template_property.xml
deleted
100644 → 0
View file @
67b30ac3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
mode
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/string
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
preferred_zh_pre_payment_subscription_invoice_template_property
</string>
</value>
</item>
<item>
<key>
<string>
mode
</string>
</key>
<value>
<string>
w
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
preference
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<string>
python: \'\'
</string>
</value>
</item>
<item>
<key>
<string>
write_permission
</string>
</key>
<value>
<string>
Manage properties
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_accounting/PropertySheetTemplateItem/portal_property_sheets/SlapOSAccountingSystemPreference/preferred_zh_pre_payment_template_property.xml
deleted
100644 → 0
View file @
67b30ac3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
mode
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/string
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
preferred_zh_pre_payment_template_property
</string>
</value>
</item>
<item>
<key>
<string>
mode
</string>
</key>
<value>
<string>
w
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
preference
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<string>
python: \'\'
</string>
</value>
</item>
<item>
<key>
<string>
write_permission
</string>
</key>
<value>
<string>
Manage properties
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_cloud/PreferenceTemplateItem/portal_preferences/slapos_default_system_preference.xml
View file @
9dc4dbd5
...
@@ -364,11 +364,15 @@
...
@@ -364,11 +364,15 @@
</item>
</item>
<item>
<item>
<key>
<string>
preferred_zh_pre_payment_subscription_invoice_template
</string>
</key>
<key>
<string>
preferred_zh_pre_payment_subscription_invoice_template
</string>
</key>
<value>
<string>
accounting_module/template_wechat_pre_payment_subscription_sale_invoice_transaction
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
preferred_zh_pre_payment_template
</string>
</key>
<key>
<string>
preferred_zh_pre_payment_template
</string>
</key>
<value>
<string>
accounting_module/slapos_wechat_pre_payment_template
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
preffered_force_username_check_in_password
</string>
</key>
<key>
<string>
preffered_force_username_check_in_password
</string>
</key>
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SystemPreference_viewSlapOS.xml
View file @
9dc4dbd5
...
@@ -88,7 +88,6 @@
...
@@ -88,7 +88,6 @@
<string>
my_preferred_aggregated_sale_trade_condition
</string>
<string>
my_preferred_aggregated_sale_trade_condition
</string>
<string>
my_preferred_aggregated_subscription_sale_trade_condition
</string>
<string>
my_preferred_aggregated_subscription_sale_trade_condition
</string>
<string>
my_preferred_aggregated_consumption_sale_trade_condition
</string>
<string>
my_preferred_aggregated_consumption_sale_trade_condition
</string>
<string>
my_preferred_zh_pre_payment_subscription_invoice_template
</string>
<string>
my_preferred_default_pre_payment_subscription_invoice_template
</string>
<string>
my_preferred_default_pre_payment_subscription_invoice_template
</string>
<string>
my_preferred_rest_api_token_server_url
</string>
<string>
my_preferred_rest_api_token_server_url
</string>
</list>
</list>
...
@@ -104,7 +103,6 @@
...
@@ -104,7 +103,6 @@
<key>
<string>
left
</string>
</key>
<key>
<string>
left
</string>
</key>
<value>
<value>
<list>
<list>
<string>
my_preferred_zh_pre_payment_template
</string>
<string>
my_preferred_default_pre_payment_template
</string>
<string>
my_preferred_default_pre_payment_template
</string>
<string>
my_preferred_instance_delivery_template
</string>
<string>
my_preferred_instance_delivery_template
</string>
<string>
my_preferred_hateoas_url
</string>
<string>
my_preferred_hateoas_url
</string>
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SystemPreference_viewSlapOS/my_preferred_zh_pre_payment_subscription_invoice_template.xml
deleted
100644 → 0
View file @
67b30ac3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_preferred_zh_pre_payment_subscription_invoice_template
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Preferred Chinese Pre Payment Sale Invoice Template
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SystemPreference_viewSlapOS/my_preferred_zh_pre_payment_template.xml
deleted
100644 → 0
View file @
67b30ac3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_preferred_zh_pre_payment_template
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Preferred Chinese Pre Payment Template
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.SlapOSTestCaseMixin.py
View file @
9dc4dbd5
...
@@ -705,10 +705,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -705,10 +705,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
'accounting_module/slapos_pre_payment_template'
,
'accounting_module/slapos_pre_payment_template'
,
preferred_instance_delivery_template
=
\
preferred_instance_delivery_template
=
\
'sale_packing_list_module/slapos_accounting_instance_delivery_template'
,
'sale_packing_list_module/slapos_accounting_instance_delivery_template'
,
preferred_zh_pre_payment_template
=
\
'accounting_module/slapos_wechat_pre_payment_template'
,
preferred_zh_pre_payment_subscription_invoice_template
=
\
'accounting_module/template_wechat_pre_payment_subscription_sale_invoice_transaction'
,
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
=
\
'accounting_module/template_pre_payment_subscription_sale_invoice_transaction'
'accounting_module/template_pre_payment_subscription_sale_invoice_transaction'
...
@@ -727,13 +723,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -727,13 +723,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
accounting_module
=
self
.
portal
.
accounting_module
accounting_module
=
self
.
portal
.
accounting_module
sale_packing_list_module
=
self
.
portal
.
sale_packing_list_module
sale_packing_list_module
=
self
.
portal
.
sale_packing_list_module
preferred_zh_pre_payment_template
=
\
accounting_module
.
slapos_wechat_pre_payment_template
.
Base_createCloneDocument
(
batch_mode
=
1
)
preferred_zh_pre_payment_template
.
edit
(
source_section_value
=
organisation
,
source_payment_value
=
organisation
.
bank_account
)
preferred_default_pre_payment_template
=
\
preferred_default_pre_payment_template
=
\
accounting_module
.
slapos_pre_payment_template
.
Base_createCloneDocument
(
batch_mode
=
1
)
accounting_module
.
slapos_pre_payment_template
.
Base_createCloneDocument
(
batch_mode
=
1
)
preferred_default_pre_payment_template
.
edit
(
preferred_default_pre_payment_template
.
edit
(
...
@@ -741,13 +730,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -741,13 +730,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
source_payment_value
=
organisation
.
bank_account
source_payment_value
=
organisation
.
bank_account
)
)
preferred_zh_pre_payment_subscription_invoice_template
=
\
accounting_module
.
template_wechat_pre_payment_subscription_sale_invoice_transaction
.
Base_createCloneDocument
(
batch_mode
=
1
)
preferred_zh_pre_payment_subscription_invoice_template
.
edit
(
source_section_value
=
organisation
,
source_value
=
organisation
)
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
=
\
accounting_module
.
template_pre_payment_subscription_sale_invoice_transaction
.
Base_createCloneDocument
(
batch_mode
=
1
)
accounting_module
.
template_pre_payment_subscription_sale_invoice_transaction
.
Base_createCloneDocument
(
batch_mode
=
1
)
...
@@ -773,9 +755,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -773,9 +755,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
system_preference
.
edit
(
system_preference
.
edit
(
preferred_default_pre_payment_template
=
preferred_default_pre_payment_template
.
getRelativeUrl
(),
preferred_default_pre_payment_template
=
preferred_default_pre_payment_template
.
getRelativeUrl
(),
preferred_zh_pre_payment_template
=
preferred_zh_pre_payment_template
.
getRelativeUrl
(),
preferred_zh_pre_payment_subscription_invoice_template
=
\
preferred_zh_pre_payment_subscription_invoice_template
.
getRelativeUrl
(),
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
.
getRelativeUrl
(),
preferred_default_pre_payment_subscription_invoice_template
.
getRelativeUrl
(),
preferred_instance_delivery_template
=
\
preferred_instance_delivery_template
=
\
...
@@ -798,13 +777,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -798,13 +777,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
accounting_module
=
self
.
portal
.
accounting_module
accounting_module
=
self
.
portal
.
accounting_module
sale_packing_list_module
=
self
.
portal
.
sale_packing_list_module
sale_packing_list_module
=
self
.
portal
.
sale_packing_list_module
preferred_zh_pre_payment_template
=
\
accounting_module
.
slapos_wechat_pre_payment_template
.
Base_createCloneDocument
(
batch_mode
=
1
)
preferred_zh_pre_payment_template
.
edit
(
source_section_value
=
zh_organisation
,
source_payment_value
=
zh_organisation
.
bank_account
)
preferred_default_pre_payment_template
=
\
preferred_default_pre_payment_template
=
\
accounting_module
.
slapos_pre_payment_template
.
Base_createCloneDocument
(
batch_mode
=
1
)
accounting_module
.
slapos_pre_payment_template
.
Base_createCloneDocument
(
batch_mode
=
1
)
preferred_default_pre_payment_template
.
edit
(
preferred_default_pre_payment_template
.
edit
(
...
@@ -812,13 +784,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -812,13 +784,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
source_payment_value
=
fr_organisation
.
bank_account
source_payment_value
=
fr_organisation
.
bank_account
)
)
preferred_zh_pre_payment_subscription_invoice_template
=
\
accounting_module
.
template_wechat_pre_payment_subscription_sale_invoice_transaction
.
Base_createCloneDocument
(
batch_mode
=
1
)
preferred_zh_pre_payment_subscription_invoice_template
.
edit
(
source_section_value
=
zh_organisation
,
source_value
=
zh_organisation
)
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
=
\
accounting_module
.
template_pre_payment_subscription_sale_invoice_transaction
.
Base_createCloneDocument
(
batch_mode
=
1
)
accounting_module
.
template_pre_payment_subscription_sale_invoice_transaction
.
Base_createCloneDocument
(
batch_mode
=
1
)
...
@@ -844,9 +809,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
...
@@ -844,9 +809,6 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
system_preference
.
edit
(
system_preference
.
edit
(
preferred_default_pre_payment_template
=
preferred_default_pre_payment_template
.
getRelativeUrl
(),
preferred_default_pre_payment_template
=
preferred_default_pre_payment_template
.
getRelativeUrl
(),
preferred_zh_pre_payment_template
=
preferred_zh_pre_payment_template
.
getRelativeUrl
(),
preferred_zh_pre_payment_subscription_invoice_template
=
\
preferred_zh_pre_payment_subscription_invoice_template
.
getRelativeUrl
(),
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
=
\
preferred_default_pre_payment_subscription_invoice_template
.
getRelativeUrl
(),
preferred_default_pre_payment_subscription_invoice_template
.
getRelativeUrl
(),
preferred_instance_delivery_template
=
\
preferred_instance_delivery_template
=
\
...
...
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