Commit 569513a7 authored by Sebastien Robin's avatar Sebastien Robin

make sure we have a default currency on banking operation lines. Also add...

make sure we have a default currency on banking operation lines. Also add default value to EUR for example and for unit tests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8856 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aa4945d6
...@@ -70,7 +70,8 @@ ...@@ -70,7 +70,8 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context.edit(quantity_unit = \'unit\',\n <value> <string>context.edit(quantity_unit = \'unit\',\n
source = \'account_module/bank_account\',\n source = \'account_module/bank_account\',\n
destination = \'account_module/bank_account\')\n destination = \'account_module/bank_account\',\n
resource = \'currency_module/%s\' % context.Baobab_getPortalReferenceCurrencyID())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># in this script you must return the default value of the currency for the site\n <value> <string># in this script you must return the default value of the currency for the site\n
# this must correspond to the id of the currency in the currency_module\n # this must correspond to the id of the currency in the currency_module\n
return \'\'\n return \'EUR\'\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
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