[IMP] sale,crm : Improvetypo and ser brackets after string

bzr revid: dbr@tinyerp.com-20120427095304-6g9i9hw3uge2wiaw
This commit is contained in:
DBR (OpenERP) 2012-04-27 15:23:04 +05:30
parent d80130dad3
commit e793701fd5
2 changed files with 4 additions and 4 deletions

View File

@ -58,14 +58,14 @@
</field>
<xpath expr="//div[@class='oe_partner_desc']//h4[@class='oe_partner_heading']" position="after">
<a name="get_opportunity" type="object">
(<t t-esc="record.total_oppo.value"/>)
<t t-if="record.total_oppo.value &lt;= 1">Opportunity</t>
<t t-if="record.total_oppo.value > 1"> Opportunities</t>
(<t t-esc="record.total_oppo.value"/>)
</a>
<a name="%(crm.crm_case_categ_meet)d" type="action">
(<t t-esc="record.total_meeting.value"/>)
<t t-if="record.total_meeting.value &lt;= 1">Meeting</t>
<t t-if="record.total_meeting.value > 1">Meetings</t>
(<t t-esc="record.total_meeting.value"/>)
</a>
</xpath>
</field>

View File

@ -13,9 +13,9 @@
</field>
<xpath expr="//div[@class='oe_partner_desc']//h4[@class='oe_partner_heading']" position="after">
<a name="%(sale.act_res_partner_2_sale_order)d" type="action">
<t t-if="record.total_sale.value &lt;= 1">Quotation</t>
<t t-if="record.total_sale.value > 1">Quotations</t>
(<t t-esc="record.total_sale.value" />)
<t t-if="record.total_sale.value &lt;= 1">Quatation</t>
<t t-if="record.total_sale.value > 1">Quatations</t>
</a>
</xpath>
</field>