[IMP] sale,crm : Improvetypo and ser brackets after string
bzr revid: dbr@tinyerp.com-20120427095304-6g9i9hw3uge2wiaw
This commit is contained in:
parent
d80130dad3
commit
e793701fd5
|
@ -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 <= 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 <= 1">Meeting</t>
|
||||
<t t-if="record.total_meeting.value > 1">Meetings</t>
|
||||
(<t t-esc="record.total_meeting.value"/>)
|
||||
</a>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
|
@ -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 <= 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 <= 1">Quatation</t>
|
||||
<t t-if="record.total_sale.value > 1">Quatations</t>
|
||||
</a>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue