[FIX] point_of_sale: pos.config journal selection

Adding a new context as, when creating a new journal from the pos.config,
that journal should automatically be defined as a POS payment journal.
This commit is contained in:
Antoine Huvelle 2015-01-15 14:56:34 +01:00 committed by Martin Trigaux
parent d849c55599
commit c2344ad8eb
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@
<field name="currency_id" invisible="1"/>
</group>
<separator string="Available Payment Methods" colspan="4"/>
<field name="journal_ids" colspan="4" nolabel="1">
<field name="journal_ids" colspan="4" nolabel="1" context="{'default_journal_user': 1}">
<tree string="Journals">
<field name="code" />
<field name="name" />