[IMP]improved payroll advice form view

bzr revid: kbh@tinyerp.com-20120627105052-i14kz4wz47v5lrnk
This commit is contained in:
Khushboo Bhatt (Open ERP) 2012-06-27 16:20:52 +05:30
parent 4365592320
commit 35a9faf9ed
1 changed files with 31 additions and 28 deletions

View File

@ -73,7 +73,7 @@
<field name="arch" type="xml">
<form string="Bank Advice" version="7.0">
<header>
<button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
<button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
<button name="compute_advice" string="Compute Advice" states="draft" type="object"/>
<button name="cancel_sheet" string="Cancel" states="draft" type="object"/>
<button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
@ -81,32 +81,35 @@
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft"/>
</div>
<div class="oe_clear"/>
</header>
<group col="6" colspan="4">
<field name="name" colspan="4"/>
<field name="number"/>
<field name="date"/>
<field name="bank_id"/>
</group>
<notebook colspan="4">
<page string="Paymeny Lines">
<field name="line_ids" colspan="4" nolabel="1">
<tree string="Payment Lines" editable="bottom">
<field name="employee_id"/>
<field name="name"/>
<field name="bysal"/>
</tree>
</field>
</page>
<page string="Other Information">
<group colspan="4" col="6">
<field name="company_id" on_change="onchange_company_id(company_id)" groups="base.group_multi_company" widget="selection"/>
<field name="chaque_nos"/>
</group>
<separator colspan="4" string="Letter Details"/>
<field name="note" colspan="4" nolabel="1"/>
</page>
</notebook>
</header>
<sheet>
<label for="date" class="oe_edit_only" string="Date"/>
<h1><field name="date"/></h1>
<group col="4" colspan="8">
<field name="name" colspan="4"/>
<field name="number"/>
<field name="bank_id"/>
</group>
<notebook colspan="4">
<page string="Paymeny Lines">
<field name="line_ids" colspan="4" nolabel="1">
<tree string="Payment Lines" editable="bottom">
<field name="employee_id"/>
<field name="name"/>
<field name="bysal"/>
</tree>
</field>
</page>
<page string="Other Information">
<group colspan="4" col="6">
<field name="company_id" on_change="onchange_company_id(company_id)" groups="base.group_multi_company" widget="selection"/>
<field name="chaque_nos"/>
</group>
<separator colspan="4" string="Letter Details"/>
<field name="note" colspan="4" nolabel="1"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
@ -164,4 +167,4 @@
groups="base.group_hr_manager"/>
</data>
</openerp>
</openerp>