[IMP] account: usability, review of form views

bzr revid: qdp-launchpad@openerp.com-20120718102109-prtl3sb28xehgnlh
This commit is contained in:
Quentin (OpenERP) 2012-07-18 12:21:09 +02:00
parent 3bd0b83f60
commit 803220f3b7
5 changed files with 10 additions and 10 deletions

View File

@ -2603,20 +2603,21 @@ action = pool.get('res.config').next(cr, uid, [], context)
</header>
<sheet string="Statement">
<label for="name" class="oe_edit_only"/>
<h1><field name="name" class="oe_inline"/>-<field name="period_id" class="oe_inline"/></h1>
<h1><field name="name" class="oe_inline"/></h1>
<label for="journal_id" class="oe_edit_only"/>
<h2>
<field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection"/>
<field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection"/>
</h2>
<group>
<group>
<field name="user_id" readonly="1" string="Responsible"/>
<field name="total_entry_encoding"/>
<field name='company_id' widget="selection" groups="base.group_multi_company" />
<field name='company_id' widget="selection" groups="base.group_multi_company" />
</group>
<group>
<field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
<field name="closing_date" readonly="1"/>
<field name="period_id" class="oe_inline"/>
<field name="currency" invisible="1"/>
</group>
</group>

View File

@ -16,7 +16,7 @@
<field name="target_move"/>
<label for="period_from" string="Periods"/>
<div>
<field name="period_from" class="oe_inline"/>-
<field name="period_from" class="oe_inline"/> -
<field name="period_to" class="oe_inline"/>
</div>
</group>
@ -30,7 +30,7 @@
</record>
<record id="action_account_chart" model="ir.actions.act_window">
<field name="name">Select an Accounting Setup</field>
<field name="name">Chart of Accounts</field>
<field name="res_model">account.chart</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
@ -41,7 +41,6 @@
<menuitem icon="STOCK_INDENT" action="action_account_chart"
id="menu_action_account_tree2"
name="Chart of Accounts"
parent="account.menu_finance_charts" />
</data>
</openerp>

View File

@ -26,7 +26,7 @@
</group>
<group string="Periods" attrs="{'invisible':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}">
<field name="period_from" domain="[('fiscalyear_id', '=', fiscalyear_id)]"/>
<field name="period_to" domain="[('fiscalyear_id', '=', fiscalyear_id)]" />
<field name="period_to" domain="[('fiscalyear_id', '=', fiscalyear_id)]"/>
</group>
</page>
<page string="Journals" name="journal_ids">

View File

@ -8,8 +8,8 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Create Entries From Models" version="7.0">
<group string="Create Entries From Models">
<field name="model" nolabel="1"/>
<group>
<field name="model"/>
</group>
<footer>
<button string="Create Entries" name="create_entries" type="object" class="oe_highlight"/>

View File

@ -118,7 +118,7 @@
</form>
</field>
</record>
<record id="view_voucher_filter" model="ir.ui.view">
<field name="name">account.voucher.select</field>
<field name="model">account.voucher</field>