Commit 0e1ba728 authored by Jérome Perrin's avatar Jérome Perrin

use account_type/asset/cash instead account_type/asset/bank


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5067 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6d27b274
...@@ -113,7 +113,7 @@ if transaction.getPortalType() not in (\'Balance Transaction\',) :\n ...@@ -113,7 +113,7 @@ if transaction.getPortalType() not in (\'Balance Transaction\',) :\n
\'account_type\' : unicode(transaction_line.getSourceValue()\n \'account_type\' : unicode(transaction_line.getSourceValue()\n
.getAccountTypeValue().getTranslatedLogicalPath(), \'utf8\')})\n .getAccountTypeValue().getTranslatedLogicalPath(), \'utf8\')})\n
\n \n
if transaction_line.getSourceValue().isMemberOf("account_type/asset/bank") \\\n if transaction_line.getSourceValue().isMemberOf("account_type/asset/cash") \\\n
and transaction_line.getSourcePayment() in (None, "") :\n and transaction_line.getSourcePayment() in (None, "") :\n
raise ValidationFailed, N_(\n raise ValidationFailed, N_(\n
\'Action impossible : no Bank Account defined for line ${line} where Account Type is ${account_type}.\',\n \'Action impossible : no Bank Account defined for line ${line} where Account Type is ${account_type}.\',\n
...@@ -133,64 +133,9 @@ transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n ...@@ -133,64 +133,9 @@ transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAABQAAAAuAAAAQwAA <value>
AHPPAwAAZAEAawAAbAEAfQIAAWQCAH0DAHQDAHwAAGQDAIMCAH0FAHQGAHwFAGQEAIMCAH0HAHQG <none/>
AHQIAGQFAIMCAHwAAIMBAAF0BgB8BQBkBgCDAgBkBwBkCABkCQBnAgCDAAF9CQB0BgB8BQBkCgCD </value>
AgBkBwBkCABkCQBnAgCDAAF9CgB0BgB8BQBkCwCDAgCDAABkDABmAQB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jY291bnRp
bmdUcmFuc2FjdGlvbkxpbmVMaXN0cwMAAABzdW1zCQAAAF9nZXRpdGVyX3MQAAAAdHJhbnNhY3Rp
b25fbGluZXMIAAAAcXVhbnRpdHlzAwAAAGludHMFAAAAcm91bmRzBAAAAE5vbmVzBwAAAHVuaWNv
ZGUoFAAAAHMMAAAAc3RhdGVfY2hhbmdlcx4AAABQcm9kdWN0cy5EQ1dvcmtmbG93LkRDV29ya2Zs
b3dzEAAAAFZhbGlkYXRpb25GYWlsZWRzDQAAAGVycm9yX21lc3NhZ2VzCQAAAF9nZXRpdGVtX3ML
AAAAdHJhbnNhY3Rpb25zCQAAAF9nZXRhdHRyX3MCAAAATl9zCQAAAGNvbnRhaW5lcnMOAAAAc291
cmNlX3NlY3Rpb25zEwAAAGRlc3RpbmF0aW9uX3NlY3Rpb25zHQAAAGFjY291bnRpbmdUcmFuc2Fj
dGlvbkxpbmVMaXN0cwMAAABzdW1zCQAAAF9nZXRpdGVyX3MQAAAAdHJhbnNhY3Rpb25fbGluZXMI
AAAAcXVhbnRpdHlzAwAAAGludHMFAAAAcm91bmRzBAAAAE5vbmVzBwAAAHVuaWNvZGUoAAAAACgA
AAAAcw8AAABTY3JpcHQgKFB5dGhvbilzGAAAAHZhbGlkYXRlVHJhbnNhY3Rpb25MaW5lcwEAAABz
SgAAAA0CBgEPARIDEAMeAR4DHAEPAR4EBgENAAYBDQEdAiIBIAEaAiACJQEMATEBNgMoARwBDAIc
AUIDHwEcAQwCHAFAAw0BEwENARoCKAEAAABzGAAAAHZhbGlkYXRlVHJhbnNhY3Rpb25MaW5lcygB
AAAAcxgAAAB2YWxpZGF0ZVRyYW5zYWN0aW9uTGluZXMoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5
dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item> </item>
<item> <item>
<key> <string>_dav_writelocks</string> </key> <key> <string>_dav_writelocks</string> </key>
......
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