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 @@
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>delivery</string>
<string>accounting_transaction</string>
<string>delivery</string>
</tuple>
</value>
</item>
......@@ -48,11 +48,13 @@
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string></string> </value>
<value> <string>Delivery_generateReference</string> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -55,13 +55,15 @@
<key> <string>_body</string> </key>
<value> <string>transaction = context\n
\n
transaction.Delivery_generateReference()\n
\n
if kw.get(\'created_by_builder\', 0): \n
return\n
\n
transaction.newContent(portal_type=\'Accounting Transaction Line\', )\n
transaction.newContent(portal_type=\'Accounting Transaction Line\', )\n
\n
context.AccountingTransaction_initFromPreferences()\n
transaction.AccountingTransaction_initFromPreferences()\n
</string> </value>
</item>
<item>
......
......@@ -55,6 +55,8 @@
<key> <string>_body</string> </key>
<value> <string>transaction = context\n
\n
transaction.Delivery_generateReference()\n
\n
if kw.get(\'created_by_builder\', 0): \n
return\n
\n
......@@ -65,7 +67,7 @@ transaction.newContent(portal_type=\'Accounting Transaction Line\',\n
transaction.newContent(portal_type=\'Accounting Transaction Line\',\n
id=\'bank\', )\n
\n
context.AccountingTransaction_initFromPreferences()\n
transaction.AccountingTransaction_initFromPreferences()\n
</string> </value>
</item>
<item>
......
......@@ -55,6 +55,8 @@
<key> <string>_body</string> </key>
<value> <string>transaction = context\n
\n
transaction.Delivery_generateReference()\n
\n
if kw.get(\'created_by_builder\', 0): \n
return\n
\n
......@@ -68,7 +70,7 @@ transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
id=\'collected_vat\',\n
quantity=0, )\n
\n
context.AccountingTransaction_initFromPreferences()\n
transaction.AccountingTransaction_initFromPreferences()\n
</string> </value>
</item>
<item>
......
2010-03-10 yusuke
* Update init scripts of transactions to make reference.
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.
......
1131
\ No newline at end of file
1132
\ 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