[FIX] fix some usability issues

bzr revid: tpa@tinyerp.com-20130326085212-05wtuqzf8g8t98p2
This commit is contained in:
Turkesh Patel (Open ERP) 2013-03-26 14:22:12 +05:30
parent acbc7cdae5
commit 34a4255885
5 changed files with 11 additions and 21 deletions

View File

@ -7,7 +7,6 @@
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//div[@name='vat_info']" position="after"> <xpath expr="//div[@name='vat_info']" position="after">
<label for="nrc"/>
<field name="nrc" placeholder="e.g. J12/1234/2012" class="oe_inline"/> <field name="nrc" placeholder="e.g. J12/1234/2012" class="oe_inline"/>
</xpath> </xpath>
</field> </field>

View File

@ -15,7 +15,7 @@
<footer> <footer>
<button name="check" string="Make Payment" type="object" class="oe_highlight"/> <button name="check" string="Make Payment" type="object" class="oe_highlight"/>
or or
<button icon="gtk-stop" special="cancel" string="Cancel" class="oe_link"/> <button special="cancel" string="Cancel" class="oe_link"/>
</footer> </footer>
</form> </form>
</field> </field>

View File

@ -40,7 +40,7 @@ Mr Demo Portal</field>
<record id="message_company_news0_comment0" model="mail.message"> <record id="message_company_news0_comment0" model="mail.message">
<field name="model">mail.group</field> <field name="model">mail.group</field>
<field name="res_id" ref="company_news_feed"/> <field name="res_id" ref="company_news_feed"/>
<field name="body"><![CDATA[<p>As your first portal member, I am very pleased to be able to be able to communicate directly with you. Be sure I'll read all news carefully!</p>]]></field> <field name="body"><![CDATA[<p>As your first portal member, I am very pleased to be able to communicate directly with you. Be sure I'll read all news carefully!</p>]]></field>
<field name="parent_id" ref="message_company_news0"/> <field name="parent_id" ref="message_company_news0"/>
<field name="type">comment</field> <field name="type">comment</field>
<field name="subtype_id" ref="mail.mt_comment"/> <field name="subtype_id" ref="mail.mt_comment"/>

View File

@ -133,13 +133,6 @@
</page> </page>
<page string="Other Info"> <page string="Other Info">
<group> <group>
<group string="Email Interface" attrs="{'invisible': [('alias_domain', '=', False)]}">
<div>
<field name="alias_id" invisible="1" required="0"/>
<label for="alias_name" class="oe_edit_only "/>
<field name="alias_name" class="oe_inline" attrs="{'required': [('alias_id', '!=', False)]}"/>@<field name="alias_domain" class="oe_inline"/>
</div>
</group>
<group string="Administration" groups="project.group_time_work_estimation_tasks"> <group string="Administration" groups="project.group_time_work_estimation_tasks">
<field name="planned_hours" widget="float_time"/> <field name="planned_hours" widget="float_time"/>
<field name="effective_hours" widget="float_time"/> <field name="effective_hours" widget="float_time"/>
@ -153,6 +146,13 @@
<field name="currency_id" groups="base.group_multi_currency" required="1"/> <field name="currency_id" groups="base.group_multi_currency" required="1"/>
<field name="parent_id" string="Parent" help="Append this project to another one using analytic accounts hierarchy" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}" /> <field name="parent_id" string="Parent" help="Append this project to another one using analytic accounts hierarchy" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}" />
</group> </group>
<group string="Email Interface" attrs="{'invisible': [('alias_domain', '=', False)]}">
<div>
<field name="alias_id" invisible="1" required="0"/>
<label for="alias_name" class="oe_edit_only "/>
<field name="alias_name" class="oe_inline" attrs="{'required': [('alias_id', '!=', False)]}"/>@<field name="alias_domain" class="oe_inline"/>
</div>
</group>
</group> </group>
</page> </page>
<page string="Project Stages" attrs="{'invisible': [('use_tasks', '=', False)]}" name="project_stages"> <page string="Project Stages" attrs="{'invisible': [('use_tasks', '=', False)]}" name="project_stages">
@ -503,6 +503,7 @@
<li><a name="do_open" states="draft" string="Validate planned time" type="object" class="oe_kanban_button oe_kanban_button_active">!</a></li> <li><a name="do_open" states="draft" string="Validate planned time" type="object" class="oe_kanban_button oe_kanban_button_active">!</a></li>
</ul> </ul>
</li> </li>
<br/>
<li><ul class="oe_kanban_colorpicker" data-field="color"/></li> <li><ul class="oe_kanban_colorpicker" data-field="color"/></li>
</ul> </ul>
</div> </div>

View File

@ -1,16 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record id="stock_picking_inherit_sale" model="ir.ui.view">
<field name="name">stock.picking.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<field name="move_type" position="before">
<field name="sale_id"/>
</field>
</field>
</record>
<record id="stock_move_sale" model="ir.ui.view"> <record id="stock_move_sale" model="ir.ui.view">
<field name="name">stock.move.form</field> <field name="name">stock.move.form</field>
@ -51,7 +41,7 @@
<record id="stock_picking_out_inherit_sale" model="ir.ui.view"> <record id="stock_picking_out_inherit_sale" model="ir.ui.view">
<field name="name">Outgoing picking Inherited</field> <field name="name">Outgoing picking Inherited</field>
<field name="model">stock.picking</field> <field name="model">stock.picking.out</field>
<field name="inherit_id" ref="stock.view_picking_out_form"/> <field name="inherit_id" ref="stock.view_picking_out_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="move_type" position="after"> <field name="move_type" position="after">