[IMP] account: usability, review of form views
bzr revid: qdp-launchpad@openerp.com-20120718102109-prtl3sb28xehgnlh
This commit is contained in:
parent
3bd0b83f60
commit
803220f3b7
|
@ -2603,20 +2603,21 @@ action = pool.get('res.config').next(cr, uid, [], context)
|
||||||
</header>
|
</header>
|
||||||
<sheet string="Statement">
|
<sheet string="Statement">
|
||||||
<label for="name" class="oe_edit_only"/>
|
<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"/>
|
<label for="journal_id" class="oe_edit_only"/>
|
||||||
<h2>
|
<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>
|
</h2>
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="user_id" readonly="1" string="Responsible"/>
|
<field name="user_id" readonly="1" string="Responsible"/>
|
||||||
<field name="total_entry_encoding"/>
|
<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>
|
||||||
<group>
|
<group>
|
||||||
<field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
|
<field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
|
||||||
<field name="closing_date" readonly="1"/>
|
<field name="closing_date" readonly="1"/>
|
||||||
|
<field name="period_id" class="oe_inline"/>
|
||||||
<field name="currency" invisible="1"/>
|
<field name="currency" invisible="1"/>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<field name="target_move"/>
|
<field name="target_move"/>
|
||||||
<label for="period_from" string="Periods"/>
|
<label for="period_from" string="Periods"/>
|
||||||
<div>
|
<div>
|
||||||
<field name="period_from" class="oe_inline"/>-
|
<field name="period_from" class="oe_inline"/> -
|
||||||
<field name="period_to" class="oe_inline"/>
|
<field name="period_to" class="oe_inline"/>
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="action_account_chart" model="ir.actions.act_window">
|
<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="res_model">account.chart</field>
|
||||||
<field name="view_type">form</field>
|
<field name="view_type">form</field>
|
||||||
<field name="view_mode">tree,form</field>
|
<field name="view_mode">tree,form</field>
|
||||||
|
@ -41,7 +41,6 @@
|
||||||
|
|
||||||
<menuitem icon="STOCK_INDENT" action="action_account_chart"
|
<menuitem icon="STOCK_INDENT" action="action_account_chart"
|
||||||
id="menu_action_account_tree2"
|
id="menu_action_account_tree2"
|
||||||
name="Chart of Accounts"
|
|
||||||
parent="account.menu_finance_charts" />
|
parent="account.menu_finance_charts" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</group>
|
</group>
|
||||||
<group string="Periods" attrs="{'invisible':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}">
|
<group string="Periods" attrs="{'invisible':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}">
|
||||||
<field name="period_from" domain="[('fiscalyear_id', '=', fiscalyear_id)]"/>
|
<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>
|
</group>
|
||||||
</page>
|
</page>
|
||||||
<page string="Journals" name="journal_ids">
|
<page string="Journals" name="journal_ids">
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<field name="type">form</field>
|
<field name="type">form</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="Create Entries From Models" version="7.0">
|
<form string="Create Entries From Models" version="7.0">
|
||||||
<group string="Create Entries From Models">
|
<group>
|
||||||
<field name="model" nolabel="1"/>
|
<field name="model"/>
|
||||||
</group>
|
</group>
|
||||||
<footer>
|
<footer>
|
||||||
<button string="Create Entries" name="create_entries" type="object" class="oe_highlight"/>
|
<button string="Create Entries" name="create_entries" type="object" class="oe_highlight"/>
|
||||||
|
|
|
@ -118,7 +118,7 @@
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="view_voucher_filter" model="ir.ui.view">
|
<record id="view_voucher_filter" model="ir.ui.view">
|
||||||
<field name="name">account.voucher.select</field>
|
<field name="name">account.voucher.select</field>
|
||||||
<field name="model">account.voucher</field>
|
<field name="model">account.voucher</field>
|
||||||
|
|
Loading…
Reference in New Issue