mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-26 22:12:03 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -6,16 +6,23 @@
|
|||
<field name="model">utm.campaign</field>
|
||||
<field name="inherit_id" ref="utm.utm_campaign_view_kanban"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@id='utm_statistics']" position="inside">
|
||||
<div class="me-3" title="Revenues" groups="sales_team.group_sale_salesman">
|
||||
<field name="currency_id" invisible="True"/>
|
||||
<small class="fw-bold">
|
||||
<xpath expr="//footer/div" position="inside">
|
||||
<a t-if="record.invoiced_amount" href="#" title="Revenues" role="button"
|
||||
groups="sales_team.group_sale_salesman" type="object" name="action_redirect_to_invoiced"
|
||||
class="btn-outline-primary rounded-pill me-1 order-1">
|
||||
<span class="badge">
|
||||
<field name="currency_id" invisible="True"/>
|
||||
<field name="invoiced_amount" widget="monetary" options="{'currency_field': 'currency_id'}"/>
|
||||
</small>
|
||||
</div>
|
||||
<div class="me-3" title="Quotations" groups="sales_team.group_sale_salesman">
|
||||
<i class="fa fa-money text-muted"></i> <small class="fw-bold"><field name="quotation_count"/></small>
|
||||
</div>
|
||||
</span>
|
||||
</a>
|
||||
<a t-if="record.quotation_count" href="#" title="Quotations" role="button"
|
||||
groups="sales_team.group_sale_salesman" type="object" name="action_redirect_to_quotations"
|
||||
class="btn-outline-primary rounded-pill me-1 order-2">
|
||||
<span class="badge">
|
||||
<i class="fa fa-fw fa-money me-1" aria-label="Quotations" role="img"/>
|
||||
<field name="quotation_count"/>
|
||||
</span>
|
||||
</a>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue