[IMP] remove sheet from journal entry form view

bzr revid: fka@tinyerp.com-20130508133332-2inxe5he1afdhc9t
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-05-08 19:03:32 +05:30
parent cee5c03860
commit 16010ff34a
2 changed files with 6 additions and 8 deletions

View File

@ -1261,12 +1261,11 @@
<field name="model">account.move</field>
<field name="arch" type="xml">
<form string="Account Entry" version="7.0">
<header>
<button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight" groups="account.group_account_invoice"/>
<button name="button_cancel" states="posted" string="Cancel Entry" type="object" groups="account.group_account_invoice"/>
<field name="state" widget="statusbar"/>
</header>
<sheet string="Journal Entries" >
<header>
<button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight" groups="account.group_account_invoice"/>
<button name="button_cancel" states="posted" string="Cancel Entry" type="object" groups="account.group_account_invoice"/>
<field name="state" widget="statusbar"/>
</header>
<label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
<h1>
<field name="name" readonly="True" attrs="{'invisible':[('name','=','/')]}"/>
@ -1375,7 +1374,6 @@
<field name="narration" colspan="4" placeholder="Add an internal note..." nolabel="1" height="50"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>

View File

@ -54,7 +54,7 @@
</group>
<notebook>
<page string="Accounts">
<field name="account_ids"/>
<field name="account_ids" readonly="1"/>
</page>
<page string="Budget Lines">
<field name="crossovered_budget_line" widget="one2many_list" mode="tree">