Skip to content

Commit

Permalink
[FIX] account_accountant: allow install coa without required transfer…
Browse files Browse the repository at this point in the history
… account

Create a company, try to install a coa without specify an Interbank Transfer Account (required field):
The COA can't be installed.

-opw: 752928
  • Loading branch information
smetl committed Jul 20, 2017
1 parent f97861f commit 17b5bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account_accountant/views/res_config_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<div class="content-group">
<div class="row mt16">
<label for="transfer_account_id" class="col-md-3 o_light_label"/>
<field name="transfer_account_id" attrs="{'required': [('chart_template_id','!=',False)]}"/>
<field name="transfer_account_id" attrs="{'required': [('has_chart_of_accounts','=',True)]}"/>
</div>
</div>
</div>
Expand Down

0 comments on commit 17b5bce

Please sign in to comment.