Commit 96bd2ff6 authored by Yusuke Muraoka's avatar Yusuke Muraoka

2010-04-08 yusuke

* Reverted previous my change.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34345 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a17f449e
...@@ -48,7 +48,9 @@ ...@@ -48,7 +48,9 @@
</item> </item>
<item> <item>
<key> <string>init_script</string> </key> <key> <string>init_script</string> </key>
<value> <string>BalanceTransaction_init</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>permission</string> </key> <key> <string>permission</string> </key>
......
...@@ -55,15 +55,13 @@ ...@@ -55,15 +55,13 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = context\n <value> <string>transaction = context\n
\n \n
transaction.Delivery_generateReference()\n
\n
if kw.get(\'created_by_builder\', 0): \n if kw.get(\'created_by_builder\', 0): \n
return\n return\n
\n \n
transaction.newContent(portal_type=\'Accounting Transaction Line\', )\n transaction.newContent(portal_type=\'Accounting Transaction Line\', )\n
transaction.newContent(portal_type=\'Accounting Transaction Line\', )\n transaction.newContent(portal_type=\'Accounting Transaction Line\', )\n
\n \n
transaction.AccountingTransaction_initFromPreferences()\n context.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</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>context.Delivery_generateReference()\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>*args, **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>args</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BalanceTransaction_init</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -55,8 +55,6 @@ ...@@ -55,8 +55,6 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = context\n <value> <string>transaction = context\n
\n \n
transaction.Delivery_generateReference()\n
\n
if kw.get(\'created_by_builder\', 0): \n if kw.get(\'created_by_builder\', 0): \n
return\n return\n
\n \n
...@@ -67,7 +65,7 @@ transaction.newContent(portal_type=\'Accounting Transaction Line\',\n ...@@ -67,7 +65,7 @@ transaction.newContent(portal_type=\'Accounting Transaction Line\',\n
transaction.newContent(portal_type=\'Accounting Transaction Line\',\n transaction.newContent(portal_type=\'Accounting Transaction Line\',\n
id=\'bank\', )\n id=\'bank\', )\n
\n \n
transaction.AccountingTransaction_initFromPreferences()\n context.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -55,8 +55,6 @@ ...@@ -55,8 +55,6 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = context\n <value> <string>transaction = context\n
\n \n
transaction.Delivery_generateReference()\n
\n
if kw.get(\'created_by_builder\', 0): \n if kw.get(\'created_by_builder\', 0): \n
return\n return\n
\n \n
...@@ -70,7 +68,7 @@ transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n ...@@ -70,7 +68,7 @@ transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
id=\'collected_vat\',\n id=\'collected_vat\',\n
quantity=0, )\n quantity=0, )\n
\n \n
transaction.AccountingTransaction_initFromPreferences()\n context.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
2010-04-08 yusuke
* Reverted previous my change.
2010-04-07 yusei 2010-04-07 yusei
* Fix SimulationMovement_testPaymentSimulationRule.id attribute value. * Fix SimulationMovement_testPaymentSimulationRule.id attribute value.
......
1152 1154
\ No newline at end of file \ No newline at end of file
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