mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-28 03:12:04 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -9,17 +9,17 @@
|
|||
<xpath expr="//button[@name='action_set_won_rainbowman']" position="before">
|
||||
<button string="New Quotation" name="action_sale_quotations_new" type="object" class="oe_highlight" data-hotkey="q"
|
||||
title="Create new quotation"
|
||||
attrs="{'invisible': ['|', ('type', '=', 'lead'), '&', ('probability', '=', 0), ('active', '=', False)]}"/>
|
||||
invisible="type == 'lead' or probability == 0 and not active"/>
|
||||
</xpath>
|
||||
<button name="action_set_won_rainbowman" position="attributes">
|
||||
<attribute name="class" remove="oe_highlight"/>
|
||||
</button>
|
||||
<button name="action_schedule_meeting" position="after">
|
||||
<button class="oe_stat_button" type="object"
|
||||
name="action_view_sale_quotation" icon="fa-pencil-square-o" attrs="{'invisible': [('type', '=', 'lead')]}">
|
||||
name="action_view_sale_quotation" icon="fa-pencil-square-o" invisible="type == 'lead'">
|
||||
<field name="quotation_count" widget="statinfo" string="Quotations"/>
|
||||
</button>
|
||||
<button class="oe_stat_button" type="object" attrs="{'invisible': ['|', ('sale_order_count', '=', 0), ('type', '=', 'lead')]}"
|
||||
<button class="oe_stat_button" type="object" invisible="sale_order_count == 0 or type == 'lead'"
|
||||
name="action_view_sale_order" icon="fa-usd">
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value"><field name="sale_amount_total" widget="monetary" options="{'currency_field': 'company_currency'}"/></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue