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

View File

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