[IMP] improve strings and project view

bzr revid: rma@tinyerp.com-20140404112926-716zimuh3p2ec80k
This commit is contained in:
Randhir Mayatra rma-openerp 2014-04-04 16:59:26 +05:30
parent e31ef83542
commit 4c0f7b1be8
4 changed files with 9 additions and 10 deletions

View File

@ -149,7 +149,7 @@
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>

View File

@ -1049,8 +1049,8 @@
<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>

View File

@ -102,18 +102,17 @@
</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"/>

View File

@ -76,12 +76,12 @@
<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>