[IMP] improve strings and project view
authorRandhir Mayatra rma-openerp <rma@tinyerp.com>
Fri, 4 Apr 2014 11:29:26 +0000 (16:59 +0530)
committerRandhir Mayatra rma-openerp <rma@tinyerp.com>
Fri, 4 Apr 2014 11:29:26 +0000 (16:59 +0530)
bzr revid: rma@tinyerp.com-20140404112926-716zimuh3p2ec80k

addons/hr_evaluation/hr_evaluation_view.xml
addons/mrp/mrp_view.xml
addons/project/project_view.xml
addons/purchase/partner_view.xml

index 4d153fa..ab83630 100644 (file)
                     class="oe_stat_button"
                     icon="fa-sitemap"
                     type="action">
-                    <field name="appraisal_count" widget="statinfo" string="Appraisal Interviews"/>
+                    <field name="appraisal_count" widget="statinfo" string="Form"/>
                 </button>
             </xpath>
             </field>
index feba585..eb42b97 100644 (file)
                         <field string="BoM Structure" name="bom_strct" widget="statinfo" />
                     </button>
                     <button class="oe_inline oe_stat_button" name="%(act_product_mrp_production)d" type="action" 
-                        groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-pencil-square-o">
-                        <field string="Manufacturing Orders" name="mo_count" widget="statinfo" />
+                        groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-list-alt">
+                        <field string="Manufacturing" name="mo_count" widget="statinfo" />
                     </button>
                 </xpath>
             </field>
index d2bf8df..7857ec9 100644 (file)
                         </button>
                     </div>
                     <group>
-                        <group>
+                        <group col="4">
                             <field name="user_id" string="Project Manager" 
                                     attrs="{'readonly':[('state','in',['close', 'cancelled'])]}" 
                                     context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'project.group_project_manager']}"/>
                             <newline/>
                             <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
-                            <span></span>
+                        </group>
                             <p attrs="{'invisible': [('analytic_account_id','=',False)]}">
                                 To invoice or setup invoicing and renewal options, go to the related contract:
                                 <field name="analytic_account_id" readonly="1" required="0" class="oe_inline" nolabel="1"/>.
                             </p>
-                        </group>
                         <group name="group_alias"
                                 attrs="{'invisible': [('alias_domain', '=', False)]}">
                             <label for="alias_name" string="Email Alias"/>
index 9ff2645..6d1916f 100644 (file)
                 <xpath expr="//div[@name='buttons']" position="inside">
                     <button class="oe_inline oe_stat_button" name="%(purchase.act_res_partner_2_purchase_order)d" type="action"
                         attrs="{'invisible': [('supplier', '=', False)]}"
-                        groups="purchase.group_purchase_user" icon="fa-list-alt">
-                        <field string="Purchase Order" name="purchase_order_count" widget="statinfo"/>
+                        groups="purchase.group_purchase_user" icon="fa-shopping-cart">
+                        <field string="Purchases" name="purchase_order_count" widget="statinfo"/>
                     </button>
                     <button class="oe_inline oe_stat_button" name="%(purchase.act_res_partner_2_supplier_invoices)d" type="action"
-                        attrs="{'invisible': [('supplier', '=', False)]}" icon="fa-pencil-square-o">
-                        <field string="Supplier Invoices" name="supplier_invoice_count" widget="statinfo"/>
+                        attrs="{'invisible': [('supplier', '=', False)]}" icon="fa-pencil-square-o" help="Supplier Invoices">
+                        <field string="Pay Invoices" name="supplier_invoice_count" widget="statinfo"/>
                     </button>
                 </xpath>
             </field>