[FIX] account: change reconciliation journal to a non-reconciliable

Changing the journal of a reconcialiation model to a journal not
reconciliable resulted to the model not accessible from any
menu.

opw-1913079

closes odoo/odoo#29249
This commit is contained in:
Julien (juc) Castiaux
2018-12-05 08:43:22 +00:00
parent 0246887f7b
commit e97e41f2e3
+2 -2
View File
@@ -855,7 +855,7 @@
<field name="amount" class="oe_inline"/>
<label string="%" class="oe_inline" attrs="{'invisible':[('amount_type','!=','percentage')]}" />
</div>
<field name="journal_id" domain="[('company_id', '=', company_id)]" widget="selection"/>
<field name="journal_id" domain="[('type', '!=', 'general'), ('company_id', '=', company_id)]" widget="selection"/>
</group>
</group>
<div class="oe_edit_only">
@@ -876,7 +876,7 @@
<field name="second_amount" class="oe_inline"/>
<label string="%" class="oe_inline" attrs="{'invisible':[('amount_type','!=','percentage')]}" />
</div>
<field name="second_journal_id" string="Journal" domain="[('company_id', '=', company_id)]" widget="selection"/>
<field name="second_journal_id" string="Journal" domain="[('type', '!=', 'general'), ('company_id', '=', company_id)]" widget="selection"/>
</group>
</group>
</sheet>