base_module_update_view.xml : Add cancel button
base_module_upgrade_view.xml : Remove tips and set popup into "Apply Shcedule Upgrade"
res_company_view.xml : set Preview Header/Footer,Set Bank Accounts buttons at proper place
res_users_view.xml : set company_ids as m2m_tags

bzr revid: dbr@tinyerp.com-20120628071837-kz215y56f5klbswn
This commit is contained in:
DBR (OpenERP) 2012-06-28 12:48:37 +05:30
parent f200f2902c
commit 2f4ee2caf2
4 changed files with 10 additions and 11 deletions

View File

@ -10,6 +10,7 @@
<form string="Update Module List" version="7.0">
<field name="state" invisible="1"/>
<header>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="update_module" states="init" string="Update" type="object" icon="gtk-ok"/>
<button name="action_module_open" states="done" string="Open Modules" type="object" icon="gtk-go-forward"/>
</header>

View File

@ -19,7 +19,7 @@
</record>
<record id="action_view_base_module_upgrade" model="ir.actions.act_window">
<field name="name">Apply Scheduled Upgrade</field>
<field name="name">Apply Shcedule Upgrade</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">base.module.upgrade</field>
<field name="view_type">form</field>
@ -41,13 +41,11 @@
<field name="type">form</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<form string="Apply Scheduled Upgrades" version="7.0">
<form string="Apply Shcedule Upgrade" version="7.0">
<header>
<button name="config" string="Start configuration" type="object" icon="gtk-ok"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
</header>
<label string="The selected modules have been updated / installed !"/>
<label string="We suggest to reload the menu tab to see the new menus (Ctrl+T then Ctrl+R)."/>
</form>
</field>
</record>

View File

@ -24,12 +24,12 @@
<div class="oe_right oe_avatar">
<field name="logo" nolabel="1" widget="image"/>
</div>
<div class="oe_right oe_button_box">
<button name="%(preview_report)d" string="Preview Header/Footer" type="action" icon="gtk-print"/>
</div>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<h1>
<field name="name" class="oe_inline"/>
<button name="%(preview_report)d" string="Preview Header/Footer" type="action" icon="gtk-print" class="oe_inline"/>
</h1>
<group col="4">
<field name="partner_id" readonly="1" required="0" groups="base.group_no_one"/>
<field name="parent_id" groups="base.group_multi_company"/>
@ -66,8 +66,8 @@
<field name="rml_footer1" groups="base.group_no_one"/>
<label for="rml_footer2"/>
<div>
<field name="rml_footer2"/>
<button name="%(bank_account_update)d" string="Set Bank Accounts" type="action" icon="gtk-go-forward"/>
<field name="rml_footer2" class="oe_inline"/>
<button name="%(bank_account_update)d" string="Set Bank Accounts" type="action" icon="gtk-go-forward" class="oe_inline"/>
</div>
</group>
</page>

View File

@ -124,7 +124,7 @@
</group>
</page>
<page string="Allowed Companies" groups="base.group_multi_company">
<field name="company_ids"/>
<field name="company_ids" widget="many2many_tags"/>
</page>
</notebook>
</sheet>