This allows the user to set the “default” currency for an asset account (#305). It doesn’t do anything other than this yet.

This commit is contained in:
James Cole
2016-11-25 18:00:29 +01:00
parent 0c72e1831f
commit 728fda0116
6 changed files with 32 additions and 7 deletions

View File

@@ -17,6 +17,10 @@
</div>
<div class="box-body">
{{ ExpandedForm.text('name') }}
{% if what == 'asset' %}
{# Not really mandatory but OK #}
{{ ExpandedForm.select('currency_id', currencies) }}
{% endif %}
</div>
</div>
</div>

View File

@@ -17,6 +17,10 @@
</div>
<div class="box-body">
{{ ExpandedForm.text('name') }}
{% if account.accounttype.type == 'Default account' or account.accounttype.type == 'Asset account' %}
{# Not really mandatory but OK #}
{{ ExpandedForm.select('currency_id', currencies) }}
{% endif %}
</div>
</div>