[IMP]: base_setup: Imrovement in view of company to add new buttons

bzr revid: rpa@tinyerp.com-20110428115651-j2108mc6mdkv2cq4
This commit is contained in:
Rucha (Open ERP) 2011-04-28 17:26:51 +05:30
parent 1cc80aca39
commit b2ace1f27e
1 changed files with 9 additions and 16 deletions

View File

@ -242,27 +242,20 @@
<!-- Inherit company Form -->
<record id="view_inherit_res_company_logo" model="ir.ui.view">
<field name="name">Upload Logo11</field>
<field name="name">res.company.form.updated</field>
<field name="model">res.company</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.view_company_form" />
<field name="arch" type="xml">
<data>
<xpath expr="//page[@string='General Information']" position="replace">
<page string="General Information">
<group colspan="4">
<field name="rml_header1" colspan="4"/>
<field name="rml_footer1" colspan="4"/>
<field name="rml_footer2" colspan="4"/>
<field name="currency_id" colspan="2"/>
</group>
<separator string="" colspan="4"/>
<button name="createReport" string="Preview Reports" type="object" icon="gtk-print"/>
<button name="%(action_res_company_logo)d"
<field name="currency_id" position="after">
<newline/>
<separator string="" colspan="4"/>
<group colspan="4" col="2">
<button name="%(action_res_company_logo)d"
string="Upload/Change Logo" type="action" icon="gtk-open"/>
</page>
</xpath>
</data>
<button name="preview_report" string="Preview Report" type="object" icon="gtk-print"/>
</group>
</field>
</field>
</record>