Commit ca3d90a2 authored by Yusuke Muraoka's avatar Yusuke Muraoka

2010-03-10 yusuke

* Update init scripts of transactions to make reference.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33563 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c09abac
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<tuple> <tuple>
<string>delivery</string>
<string>accounting_transaction</string> <string>accounting_transaction</string>
<string>delivery</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -48,11 +48,13 @@ ...@@ -48,11 +48,13 @@
</item> </item>
<item> <item>
<key> <string>init_script</string> </key> <key> <string>init_script</string> </key>
<value> <string></string> </value> <value> <string>Delivery_generateReference</string> </value>
</item> </item>
<item> <item>
<key> <string>permission</string> </key> <key> <string>permission</string> </key>
<value> <string></string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -55,13 +55,15 @@ ...@@ -55,13 +55,15 @@
<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
context.AccountingTransaction_initFromPreferences()\n transaction.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -55,6 +55,8 @@ ...@@ -55,6 +55,8 @@
<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
...@@ -65,7 +67,7 @@ transaction.newContent(portal_type=\'Accounting Transaction Line\',\n ...@@ -65,7 +67,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
context.AccountingTransaction_initFromPreferences()\n transaction.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -55,6 +55,8 @@ ...@@ -55,6 +55,8 @@
<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
...@@ -68,7 +70,7 @@ transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n ...@@ -68,7 +70,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
context.AccountingTransaction_initFromPreferences()\n transaction.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
2010-03-10 yusuke
* Update init scripts of transactions to make reference.
2010-03-08 tatuya 2010-03-08 tatuya
* Make the quantity divergence tester of payment simulation rule set the decimal alignment as well as trade model rule so that the rule will allow the rounding error when calculation. * Make the quantity divergence tester of payment simulation rule set the decimal alignment as well as trade model rule so that the rule will allow the rounding error when calculation.
......
1131 1132
\ 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