Use selection widget for journal fields
It is expected to have only a small number of journals. But also it is uncommon to create of a new journal from a form. So it provides a better user experience to use a selection widget.
This commit is contained in:
@@ -20,7 +20,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<separator id="currency_exchange" string="Currency Exchange" colspan="4"/>
|
||||
<label name="currency_exchange_journal" string="Journal"/>
|
||||
<field name="currency_exchange_journal"/>
|
||||
<field name="currency_exchange_journal" widget="selection"/>
|
||||
<newline/>
|
||||
<label name="currency_exchange_credit_account" string="Credit Account"/>
|
||||
<field name="currency_exchange_credit_account"/>
|
||||
|
||||
@@ -6,7 +6,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="fiscalyear"/>
|
||||
<newline/>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="credit_account"/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="6">
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="active"/>
|
||||
|
||||
@@ -10,7 +10,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="post_number"/>
|
||||
<field name="post_number"/>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="date"/>
|
||||
|
||||
@@ -5,7 +5,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
|
||||
@@ -8,7 +8,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="period"/>
|
||||
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="move"/>
|
||||
<field name="move"/>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<newline/>
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<newline/>
|
||||
|
||||
<label name="description"/>
|
||||
|
||||
@@ -11,7 +11,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<field name="lines" colspan="4"/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
</form>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form cursor="journal">
|
||||
<form cursor="writeoff">
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="writeoff"/>
|
||||
<field name="writeoff"/>
|
||||
<field name="writeoff" widget="selection"/>
|
||||
<newline/>
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
|
||||
@@ -7,7 +7,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
<label name="journal"/>
|
||||
<field name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="debit_account"/>
|
||||
|
||||
Reference in New Issue
Block a user