Commit d8feb169 authored by Romain Courteaud's avatar Romain Courteaud

TO SQUASH slapos_*: remove zh templates

parent f1864c6c
<?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>
<?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>
...@@ -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>
......
...@@ -84,7 +84,6 @@ ...@@ -84,7 +84,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>
...@@ -100,7 +99,6 @@ ...@@ -100,7 +99,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>
......
<?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>
<?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>
...@@ -705,10 +705,6 @@ return %s""" % (script_name, fake_return )) ...@@ -705,10 +705,6 @@ return %s""" % (script_name, fake_return ))
'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 @@ return %s""" % (script_name, fake_return )) ...@@ -727,13 +723,6 @@ return %s""" % (script_name, fake_return ))
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 @@ return %s""" % (script_name, fake_return )) ...@@ -741,13 +730,6 @@ return %s""" % (script_name, fake_return ))
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 @@ return %s""" % (script_name, fake_return )) ...@@ -773,9 +755,6 @@ return %s""" % (script_name, fake_return ))
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 @@ return %s""" % (script_name, fake_return )) ...@@ -798,13 +777,6 @@ return %s""" % (script_name, fake_return ))
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 @@ return %s""" % (script_name, fake_return )) ...@@ -812,13 +784,6 @@ return %s""" % (script_name, fake_return ))
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 @@ return %s""" % (script_name, fake_return )) ...@@ -844,9 +809,6 @@ return %s""" % (script_name, fake_return ))
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=\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment