Files
tryton/modules/account/view/move_template_form.xml
Cédric Krier 14bc5d2a6c 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.
2023-08-06 00:34:16 +02:00

25 lines
857 B
XML

<?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>
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active"/>
<notebook>
<page string="Template" id="template">
<label name="company"/>
<field name="company"/>
<label name="journal"/>
<field name="journal" widget="selection"/>
<label name="description"/>
<field name="description" colspan="3"/>
<field name="lines" colspan="4"/>
</page>
<page name="keywords">
<field name="keywords" colspan="4"
view_ids="account.move_template_keyword_view_list_sequence"/>
</page>
</notebook>
</form>