[REV] web: reverts update to fontawesome 5.11.2

This reverts commit ff1c35513a.

closes odoo/odoo#41480

X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc
Related: odoo/enterprise#7110
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Kevin Baptiste
2019-12-09 10:33:36 +00:00
parent 78ae3da902
commit 6cbe824871
389 changed files with 6255 additions and 15231 deletions
+1 -1
View File
@@ -3393,7 +3393,7 @@ class AccountMoveLine(models.Model):
}
def _get_tracking_field_string(self, fields):
ARROW_RIGHT = '<span aria-label="Changed" class="fas fa-long-arrow-alt-right" role="img" title="Changed"></span>'
ARROW_RIGHT = '<span aria-label="Changed" class="fa fa-long-arrow-alt-right" role="img" title="Changed"></span>'
msg = '<ul>'
for field in fields:
redirect_link = '<a href=# data-oe-model=account.move.line data-oe-id=%d>#%d</a>' % (field['line_id'], field['line_id']) # Account move line link
@@ -15,13 +15,13 @@
.o_dashboard_star {
font-size: 12px;
&.fas.fa-star {
&.fa-star-o {
color: $o-main-color-muted;
&:hover {
color: gold;
}
}
&.far.fa-star {
&.fa-star {
color: gold;
}
}
@@ -59,7 +59,7 @@
}
tbody tr:hover .cell_account_code::before {
content: "\f068";
font-family: 'Font Awesome 5 Free';
font-family: FontAwesome;
position: relative;
margin-left: -17px;
left: -4px;
@@ -139,7 +139,6 @@
}
tr:hover .cell_action .fa-add-remove:before {
content: "\f068";
font-weight: 900;
}
.is_tax .cell_action .fa-add-remove:before {
position: relative;
@@ -257,7 +256,6 @@
}
tr:hover .cell_action .fa-add-remove:before {
content: "\f067";
font-weight: 900;
}
.match_controls {
padding: 5px 0 5px ($o-account-action-col-width+$o-account-main-table-borders-padding);
+1 -1
View File
@@ -12,7 +12,7 @@
<td class="oe_tax_group_editable" t-att-data-tax-group-id="line[6]">
<t t-if="displayEditWidget">
<span class="tax_group_edit">
<i class="fas fa-pencil-alt"></i>
<i class="fa fa-pencil"></i>
<span class="oe_tax_group_amount_value">
<t t-esc="line[3]"/>
</span>
+5 -5
View File
@@ -103,7 +103,7 @@
<span t-esc="record.move_id.value"/>
</strong>
<strong class="col-6 text-right">
<i class="far fa-clock" aria-label="Date" role="img" title="Date"/><field name="date_maturity"/>
<i class="fa fa-clock-o" aria-label="Date" role="img" title="Date"/><field name="date_maturity"/>
</strong>
<div class="col-10">
<span t-esc="record.name.value"/>
@@ -196,10 +196,10 @@
domain="[('applicability', '=', 'taxes')]"/>
<groupby name="move_id">
<field name="state" invisible="1"/>
<button name="edit" type="edit" icon="fas fa-edit" title="Edit"/>
<button name="edit" type="edit" icon="fa-edit" title="Edit"/>
<button name="action_post" states="draft" icon="fa-check" title="Post" type="object" groups="account.group_account_invoice"/>
<button name="%(action_view_account_move_reversal)d" states="posted" title="Reverse" icon="fa-sync" type="action" groups="account.group_account_invoice"/>
<button name="action_duplicate" icon="fa-copy" title="Duplicate" type="object" groups="account.group_account_invoice"/>
<button name="%(action_view_account_move_reversal)d" states="posted" title="Reverse" icon="fa-refresh" type="action" groups="account.group_account_invoice"/>
<button name="action_duplicate" icon="fa-files-o" title="Duplicate" type="object" groups="account.group_account_invoice"/>
</groupby>
</tree>
</field>
@@ -430,7 +430,7 @@
<strong><span><field name="journal_id"/></span></strong>
</div>
<div class="col-6 text-right">
<strong><i class="far fa-clock" aria-label="Date" role="img" title="Date"/> <t t-esc="record.date.value"/></strong>
<strong><i class="fa fa-clock-o" aria-label="Date" role="img" title="Date"/> <t t-esc="record.date.value"/></strong>
</div>
</div>
<div class="row">
@@ -50,7 +50,7 @@
<strong><span><field name="name"/></span></strong>
</div>
<div class="col-6 text-right">
<strong><i class="far fa-clock" role="img" aria-label="Date" title="Date"/> <t t-esc="record.payment_date.value"/></strong>
<strong><i class="fa fa-clock-o" role="img" aria-label="Date" title="Date"/> <t t-esc="record.payment_date.value"/></strong>
</div>
</div>
<div class="row">
@@ -55,13 +55,13 @@
<td class='d-none d-md-table-cell'><span t-field="invoice.invoice_date_due"/></td>
<td class="tx_status">
<t t-if="invoice.state == 'open'">
<span class="badge badge-pill badge-info"><i class="far fa-fw fa-clock" aria-label="Opened" title="Opened" role="img"></i><span class="d-none d-md-inline"> Waiting for Payment</span></span>
<span class="badge badge-pill badge-info"><i class="fa fa-fw fa-clock-o" aria-label="Opened" title="Opened" role="img"></i><span class="d-none d-md-inline"> Waiting for Payment</span></span>
</t>
<t t-if="invoice.state == 'paid'">
<span class="badge badge-pill badge-success"><i class="fa fa-fw fa-check" aria-label="Paid" title="Paid" role="img"></i><span class="d-none d-md-inline"> Paid</span></span>
</t>
<t t-if="invoice.state == 'cancel'">
<span class="badge badge-pill badge-warning"><i class="fas fa-fw fa-times" aria-label="Cancelled" title="Cancelled" role="img"></i><span class="d-none d-md-inline"> Cancelled</span></span>
<span class="badge badge-pill badge-warning"><i class="fa fa-fw fa-remove" aria-label="Cancelled" title="Cancelled" role="img"></i><span class="d-none d-md-inline"> Cancelled</span></span>
</t>
</td>
<td class="text-right"><span t-esc="-invoice.amount_residual if invoice.type == 'out_refund' else invoice.amount_residual" t-options='{"widget": "monetary", "display_currency": invoice.currency_id}'/></td>
@@ -89,7 +89,7 @@
<b t-if="invoice.amount_residual > 0" t-field="invoice.amount_residual"/>
<b t-else="1" t-field="invoice.amount_total"/>
</h2>
<div class="small" t-if="invoice.state != 'paid' and invoice.type == 'out_invoice'"><i class="far fa-clock"/><span class="o_portal_sidebar_timeago ml4" t-att-datetime="invoice.invoice_date_due"/></div>
<div class="small" t-if="invoice.state != 'paid' and invoice.type == 'out_invoice'"><i class="fa fa-clock-o"/><span class="o_portal_sidebar_timeago ml4" t-att-datetime="invoice.invoice_date_due"/></div>
</t>
<t t-set="entries">
@@ -113,7 +113,7 @@
</div>
<div class="col pl-0">
<span t-field="invoice.invoice_user_id" t-options='{"widget": "contact", "fields": ["name", "phone"], "no_marker": True}'/>
<a href="#discussion" class="small"><i class="far fa-fw fa-comments"/><b>Send message</b></a>
<a href="#discussion" class="small"><i class="fa fa-fw fa-comments"/><b>Send message</b></a>
</div>
</div>
</li>
@@ -128,7 +128,7 @@
<div class="o_portal_html_view shadow p-3">
<div class="o_portal_html_loader text-center">
<i class="fas fa-circle-notch fa-spin fa-2x fa-fw text-black-50"></i>
<i class="fa fa-circle-o-notch fa-spin fa-2x fa-fw text-black-50"></i>
</div>
<iframe id="invoice_html" class="mt8 mb8" width="100%" height="100%" frameborder="0" scrolling="no" t-att-src="invoice.get_portal_url(report_type='html')"/>
</div>
+1 -1
View File
@@ -116,7 +116,7 @@
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button type="object" class="oe_stat_button" icon="fas fa-edit" name="action_view_partner_invoices"
<button type="object" class="oe_stat_button" icon="fa-pencil-square-o" name="action_view_partner_invoices"
context="{'default_partner_id': active_id}">
<div class="o_form_field o_stat_info">
<span class="o_stat_value">
@@ -25,7 +25,7 @@
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Fiscal Localization</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Taxes, fiscal positions, chart of accounts &amp; legal statements for your country
</div>
@@ -49,7 +49,7 @@
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Default Taxes</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Default taxes applied to local transactions
</div>
@@ -69,7 +69,7 @@
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Rounding Method</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
How total tax amount is computed in orders and invoices
</div>
@@ -109,7 +109,7 @@
</div>
<div class="o_setting_right_pane">
<label for="tax_exigibility"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Allow to configure taxes using cash basis
</div>
@@ -128,7 +128,7 @@
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Main Currency</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Main currency of your company
</div>
@@ -189,12 +189,12 @@
<div class="row">
<field name="invoice_is_print" class="col-lg-1 ml16"/>
<label for="invoice_is_print"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific."/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
</div>
<div class="row">
<field name="invoice_is_email" class="col-lg-1 ml16"/>
<label for="invoice_is_email"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific."/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
</div>
</div>
</div>
@@ -232,7 +232,7 @@
</div>
<div class="o_setting_right_pane">
<label for="use_invoice_terms"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Show standard terms &amp; conditions on invoices/orders
</div>
@@ -328,7 +328,7 @@
</div>
<div class="o_setting_right_pane" name="sepa_direct_debit_right_pane">
<label string="SEPA Direct Debit (SDD)" for="module_account_sepa_direct_debit"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Collect customer payments in one-click using Euro SEPA Service
</div>
@@ -347,7 +347,7 @@
</div>
<div class="o_setting_right_pane" name="qr_code_right_pane">
<label string="SEPA QR Code" for="qr_code"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Add a payment QR code to your invoices
</div>
@@ -381,7 +381,7 @@
</div>
<div class="o_setting_right_pane">
<label string="Checks" for="module_account_check_printing"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted" id="print_bills_payment">
Print checks to pay your vendors
</div>
@@ -395,7 +395,7 @@
</div>
<div class="o_setting_right_pane" name="sepa_right_pane">
<label for="module_account_sepa"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Pay your bills in one-click using Euro SEPA Service
</div>
@@ -61,7 +61,7 @@
<strong><span><field name="analytic_id"/></span></strong>
<img t-att-src="kanban_image('res.users', 'image_128', record.user_id.raw_value)" t-att-title="record.user_id.value" t-att-alt="record.user_id.value" class="oe_kanban_avatar o_image_24_cover float-right"/>
</div>
<div t-if="record.date_start.value"><i class="far fa-calendar-alt"></i> From <field name="date_start"/> <t t-if="record.date_stop.value">to <field name="date_stop"/></t></div>
<div t-if="record.date_start.value"><i class="fa fa-calendar"></i> From <field name="date_start"/> <t t-if="record.date_stop.value">to <field name="date_stop"/></t></div>
<div t-if="record.product_id.value"><strong>Product</strong> <field name="product_id"/> </div>
<div t-if="record.partner_id.value"><strong>Customer</strong> <field name="partner_id"/> </div>
</div>
@@ -17,7 +17,7 @@
<t t-set="last_tx" t-value="invoice.get_portal_last_transaction()"/>
<td class="tx_status text-center">
<t t-if="invoice.state == 'posted' and invoice.invoice_payment_state == 'not_paid' and (last_tx.state not in ['pending', 'authorized', 'done', 'cancel'] or (last_tx.state == 'pending' and last_tx.acquirer_id.provider in ('transfer', 'manual')))">
<span class="badge badge-pill badge-info"><i class="far fa-fw fa-clock"></i><span class="d-none d-md-inline"> Waiting for Payment</span></span>
<span class="badge badge-pill badge-info"><i class="fa fa-fw fa-clock-o"></i><span class="d-none d-md-inline"> Waiting for Payment</span></span>
</t>
<t t-if="invoice.state == 'posted' and last_tx.state == 'authorized'">
<span class="badge badge-pill badge-primary"><i class="fa fa-fw fa-check"/><span class="d-none d-md-inline"> Authorized</span></span>
@@ -29,7 +29,7 @@
<span class="badge badge-pill badge-success"><i class="fa fa-fw fa-check"></i><span class="d-none d-md-inline"> Paid</span></span>
</t>
<t t-if="invoice.state == 'cancel'">
<span class="badge badge-pill badge-danger"><i class="fas fa-fw fa-times"></i><span class="d-none d-md-inline"> Cancelled</span></span>
<span class="badge badge-pill badge-danger"><i class="fa fa-fw fa-remove"></i><span class="d-none d-md-inline"> Cancelled</span></span>
</t>
</td>
</xpath>
@@ -76,10 +76,10 @@
<i class="fa fa-fw fa-arrow-circle-right"/> Pay Now
</a>
<div t-if="tx_ids and not pending_manual_txs and invoice.invoice_payment_state != 'paid'" class="alert alert-info py-1 mb-2" >
<i class="far fa-fw fa-check-circle"/> Pending
<i class="fa fa-fw fa-check-circle"/> Pending
</div>
<div t-if="invoice.invoice_payment_state == 'paid'" class="alert alert-success py-1 mb-2" >
<i class="far fa-fw fa-check-circle"/> Paid
<i class="fa fa-fw fa-check-circle"/> Paid
</div>
</div>
</xpath>
@@ -157,7 +157,7 @@
<sheet string="Analytic Account">
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button" type="action" name="%(account_analytic_line_action)d"
icon="fa-dollar-sign" string="Cost/Revenue" widget="statinfo"/>
icon="fa-usd" string="Cost/Revenue" widget="statinfo"/>
</div>
<widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<div class="oe_title">
+2 -2
View File
@@ -17,7 +17,7 @@
<field name="scope">public_profile,email</field>
<field name="validation_endpoint">https://graph.facebook.com/me</field>
<field name="data_endpoint">https://graph.facebook.com/me?fields=id,name,email</field>
<field name="css_class">fab fa-fw fa-facebook-square</field>
<field name="css_class">fa fa-fw fa-facebook-square</field>
<field name="body">Log in with Facebook</field>
</record>
<record id="provider_google" model="auth.oauth.provider">
@@ -26,7 +26,7 @@
<field name="scope">https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile</field>
<field name="validation_endpoint">https://www.googleapis.com/oauth2/v1/tokeninfo</field>
<field name="data_endpoint">https://www.googleapis.com/oauth2/v1/userinfo</field>
<field name="css_class">fab fa-fw fa-google-plus-square</field>
<field name="css_class">fa fa-fw fa-google-plus-square</field>
<field name="body">Log in with Google</field>
</record>
+1 -1
View File
@@ -18,6 +18,6 @@ class AuthOAuthProvider(models.Model):
validation_endpoint = fields.Char(string='Validation URL', required=True) # OAuth provider URL to validate tokens
data_endpoint = fields.Char(string='Data URL')
enabled = fields.Boolean(string='Allowed')
css_class = fields.Char(string='CSS class', default='fas fa-fw fa-sign-in-alt text-primary')
css_class = fields.Char(string='CSS class', default='fa fa-fw fa-sign-in text-primary')
body = fields.Char(required=True, help='Link text in Login Dialog', translate=True)
sequence = fields.Integer()
+1 -1
View File
@@ -19,7 +19,7 @@ publicWidget.registry.SignUpForm = publicWidget.Widget.extend({
_onSubmit: function () {
var $btn = this.$('.oe_login_buttons > button[type="submit"]');
$btn.attr('disabled', 'disabled');
$btn.prepend('<i class="fas fa-sync fa-spin"/> ');
$btn.prepend('<i class="fa fa-refresh fa-spin"/> ');
},
});
});
@@ -8,7 +8,7 @@
<xpath expr="//div[hasclass('oe_button_box')]" position="inside">
<button name="%(action_res_city_tree)d"
class="oe_stat_button"
icon="fa-globe-americas"
icon="fa-globe"
type="action"
context="{'default_country_id': active_id, 'search_default_country_id': active_id}"
string="Cities">
@@ -89,7 +89,7 @@
<div class="col-12 col-lg-6 o_setting_box" id="paper_format_setting">
<div class="o_setting_right_pane">
<span class="o_form_label">Format</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Set the paper format of printed documents
</div>
@@ -104,7 +104,7 @@
<div class="col-12 col-lg-6 o_setting_box" id="document_layout_setting">
<div class="o_setting_right_pane">
<span class="o_form_label">Document Layout</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Choose the layout of your documents
</div>
@@ -206,7 +206,7 @@
</div>
<div class="o_setting_right_pane">
<label string="Inter-Company Transactions" for="module_inter_company_rules"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Automatically generate counterpart documents for orders/invoices between companies
</div>
@@ -15,7 +15,7 @@
</div>
<div class="o_setting_right_pane">
<label for="vat_check_vies"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Verify VAT numbers using the European VIES service
</div>
@@ -32,12 +32,12 @@
<t t-jquery=".o_cw_popover_delete" t-operation="after">
<div t-if="widget.showStatusDropdown" class="btn-group o-calendar-attendee-status ml-2">
<a href="#" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i t-attf-class="far fa-circle o-calendar-attendee-status-icon #{widget.selectedStatusInfo.color}"/> <span class="o-calendar-attendee-status-text" t-esc="widget.selectedStatusInfo.text"></span>
<i t-attf-class="fa fa-circle o-calendar-attendee-status-icon #{widget.selectedStatusInfo.color}"/> <span class="o-calendar-attendee-status-text" t-esc="widget.selectedStatusInfo.text"></span>
</a>
<div class="dropdown-menu overflow-hidden">
<a class="dropdown-item" href="#" data-action="accepted"><i class="far fa-circle text-success"/> Accept</a>
<a class="dropdown-item" href="#" data-action="declined"><i class="far fa-circle text-danger"/> Decline</a>
<a class="dropdown-item" href="#" data-action="tentative"><i class="far fa-circle text-muted"/> Uncertain</a>
<a class="dropdown-item" href="#" data-action="accepted"><i class="fa fa-circle text-success"/> Accept</a>
<a class="dropdown-item" href="#" data-action="declined"><i class="fa fa-circle text-danger"/> Decline</a>
<a class="dropdown-item" href="#" data-action="tentative"><i class="fa fa-circle text-muted"/> Uncertain</a>
</div>
</div>
</t>
+1 -1
View File
@@ -203,7 +203,7 @@
</page>
<page name="page_invitations" string="Invitations" groups="base.group_no_one">
<button name="action_sendmail" type="object" string="Send mail" icon="far fa-envelope" class="oe_link"/>
<button name="action_sendmail" type="object" string="Send mail" icon="fa-envelope" class="oe_link"/>
<field name="attendee_ids" widget="one2many" mode="tree,kanban">
<tree string="Invitation details" editable="top" create="false" delete="false">
<field name="partner_id" />
+3 -3
View File
@@ -2,19 +2,19 @@
<odoo>
<record id="mail_activity_demo_followup_quote" model="mail.activity.type">
<field name="name">Follow-up Quote</field>
<field name="icon">far fa-file-alt</field>
<field name="icon">fa-file-text-o</field>
<field name="res_model_id" ref="crm.model_crm_lead"/>
<field name="delay_count">30</field>
</record>
<record id="mail_activity_demo_make_quote" model="mail.activity.type">
<field name="name">Make Quote</field>
<field name="icon">far fa-file-alt</field>
<field name="icon">fa-file-text-o</field>
<field name="res_model_id" ref="crm.model_crm_lead"/>
<field name="delay_count">15</field>
</record>
<record id="mail_activity_demo_call_demo" model="mail.activity.type">
<field name="name">Call for Demo</field>
<field name="icon">fas fa-phone</field>
<field name="icon">fa-phone</field>
<field name="res_model_id" ref="crm.model_crm_lead"/>
<field name="delay_count">10</field>
</record>
+3 -3
View File
@@ -64,7 +64,7 @@
<field name="active" invisible="1"/>
<div class="oe_button_box" name="button_box">
<button name="action_schedule_meeting" type="object"
class="oe_stat_button" icon="far fa-calendar-alt"
class="oe_stat_button" icon="fa-calendar"
context="{'partner_id': partner_id, 'search_default_opportunity_id': active_id}"
attrs="{'invisible': [('type', '=', 'lead')]}">
<div class="o_stat_info">
@@ -370,7 +370,7 @@
<div class="oe_kanban_bottom_left">
<field name="priority" widget="priority"/>
<t t-if="record.message_needaction_counter.raw_value">
<span role="alert" class="oe_kanban_mail_new" title="Unread Messages"><i class="fas fa-comments" aria-label="Messages" role="img"/><t t-raw="record.message_needaction_counter.raw_value"/></span>
<span role="alert" class="oe_kanban_mail_new" title="Unread Messages"><i class="fa fa-comments" aria-label="Messages" role="img"/><t t-raw="record.message_needaction_counter.raw_value"/></span>
</t>
<div class="o_kanban_inline_block">
<field name="activity_ids" widget="kanban_activity"/>
@@ -503,7 +503,7 @@
<div class="oe_kanban_bottom_left">
<field name="priority" widget="priority" groups="base.group_user"/>
<t t-if="record.message_needaction_counter.raw_value">
<span role="alert" class='oe_kanban_mail_new' title='Unread Messages'><i class='fas fa-comments' aria-label="Unread messages" role="img"/><t t-raw="record.message_needaction_counter.raw_value"/></span>
<span role="alert" class='oe_kanban_mail_new' title='Unread Messages'><i class='fa fa-comments' aria-label="Unread messages" role="img"/><t t-raw="record.message_needaction_counter.raw_value"/></span>
</t>
<field name="activity_ids" widget="kanban_activity"/>
</div>
+1 -1
View File
@@ -192,7 +192,7 @@
<xpath expr="//div[hasclass('o_primary')]" position="after">
<div t-if="record.use_leads.raw_value and record.alias_name.value and record.alias_domain.value">
<small t-translation="off"><i class="far fa-envelope" aria-label="Leads" title="Leads" role="img"></i>&amp;nbsp; <field name="alias_id"/></small>
<small t-translation="off"><i class="fa fa-envelope-o" aria-label="Leads" title="Leads" role="img"></i>&amp;nbsp; <field name="alias_id"/></small>
</div>
</xpath>
+4 -4
View File
@@ -54,8 +54,8 @@
<field name="meeting_count"/>
</field>
<xpath expr="//div[hasclass('oe_kanban_partner_links')]" position="inside">
<span class="badge badge-pill" t-if="record.opportunity_count.value>0"><i class="far fa-fw fa-star" aria-label="Favorites" role="img" title="Favorites"/><t t-esc="record.opportunity_count.value"/></span>
<span class="badge badge-pill" t-if="record.meeting_count.value>0"><i class="far fa-fw fa-calendar-alt" aria-label="Meetings" role="img" title="Meetings"/><t t-esc="record.meeting_count.value"/></span>
<span class="badge badge-pill" t-if="record.opportunity_count.value>0"><i class="fa fa-fw fa-star" aria-label="Favorites" role="img" title="Favorites"/><t t-esc="record.opportunity_count.value"/></span>
<span class="badge badge-pill" t-if="record.meeting_count.value>0"><i class="fa fa-fw fa-calendar" aria-label="Meetings" role="img" title="Meetings"/><t t-esc="record.meeting_count.value"/></span>
</xpath>
</field>
</record>
@@ -85,14 +85,14 @@
<div name="button_box" position="inside">
<button class="oe_stat_button o_res_partner_tip_opp" type="action"
name="%(crm.crm_lead_opportunities)d"
icon="far fa-star"
icon="fa-star"
groups="sales_team.group_sale_salesman"
context="{'search_default_partner_id': active_id}">
<field string="Opportunities" name="opportunity_count" widget="statinfo"/>
</button>
<button class="oe_stat_button" type="object"
name="schedule_meeting"
icon="far fa-calendar-alt"
icon="fa-calendar"
groups="sales_team.group_sale_salesman"
context="{'partner_id': active_id, 'partner_name': name}">
<field string="Meetings" name="meeting_count" widget="statinfo"/>
+2 -2
View File
@@ -33,7 +33,7 @@
<button name="action_redirect_to_leads"
type="object"
class="oe_stat_button order-3"
icon="far fa-star"
icon="fa-star"
groups="sales_team.group_sale_salesman"
attrs="{'invisible': [('crm_lead_activated', '=', False)]}">
<field name="lead_count" widget="statinfo" string="Leads"/>
@@ -41,7 +41,7 @@
<button name="action_redirect_to_opportunities"
type="object"
class="oe_stat_button order-3"
icon="far fa-star"
icon="fa-star"
groups="sales_team.group_sale_salesman"
attrs="{'invisible': [('crm_lead_activated', '=', True)]}">
<field name="opportunity_count" widget="statinfo" string="Opportunities"/>
@@ -16,14 +16,14 @@
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button name="action_get_opportunity_action" class="oe_stat_button" type="object" icon="fa-handshake"
<button name="action_get_opportunity_action" class="oe_stat_button" type="object" icon="fa-handshake-o"
attrs="{'invisible': ['|', '|', ('lead_type', '!=', 'opportunity'), ('state', '!=' , 'done')]}">
<div class="o_stat_info">
<field name="leads_count"/>
<span class="o_stat_text">Opportunities</span>
</div>
</button>
<button name="action_get_lead_action" class="oe_stat_button" type="object" icon="fa-handshake" groups="crm.group_use_lead"
<button name="action_get_lead_action" class="oe_stat_button" type="object" icon="fa-handshake-o" groups="crm.group_use_lead"
attrs="{'invisible': ['|', '|', ('lead_type', '!=', 'lead'), ('state', '!=' , 'done')]}">
<div class="o_stat_info">
<field name="leads_count"/>
@@ -7,13 +7,13 @@
<form>
<sheet>
<div class="oe_button_box" name="button_box">
<button name="action_get_opportunity_tree_view" class="oe_stat_button" type="object" icon="fa-handshake" attrs="{'invisible': [('lead_type', '!=', 'opportunity'), ('opportunity_count', '=' , 0)]}">
<button name="action_get_opportunity_tree_view" class="oe_stat_button" type="object" icon="fa-handshake-o" attrs="{'invisible': [('lead_type', '!=', 'opportunity'), ('opportunity_count', '=' , 0)]}">
<div class="o_stat_info">
<field name="opportunity_count"/>
<span class="o_stat_text"> Opportunities </span>
</div>
</button>
<button name="action_get_lead_tree_view" class="oe_stat_button" type="object" icon="fa-handshake" groups="crm.group_use_lead" attrs="{'invisible': [('lead_type', '!=', 'lead'), ('leads_count', '=' , 0)]}">
<button name="action_get_lead_tree_view" class="oe_stat_button" type="object" icon="fa-handshake-o" groups="crm.group_use_lead" attrs="{'invisible': [('lead_type', '!=', 'lead'), ('leads_count', '=' , 0)]}">
<div class="o_stat_info">
<field name="leads_count"/>
<span class="o_stat_text"> Leads </span>
@@ -18,7 +18,7 @@
<img t-att-src="image_data_uri(o.event_id.organizer_id.company_id.logo_web)" style="max-height:1cm; max-width:4cm;" alt="Logo"/>
</span>
<h5 t-field="o.event_id.name"/>
<h5>( <i class="far fa-clock" aria-label="Period" role="img" title="Period"></i> <span itemprop="startDate" t-field="o.event_id.with_context(tz=o.event_id.date_tz).date_begin" t-options='{"hide_seconds": True}'> </span> <i>to</i> <span itemprop="endDate" t-field="o.event_id.with_context(tz=o.event_id.date_tz).date_end" t-options='{"hide_seconds": True}'> </span> )</h5>
<h5>( <i class="fa fa-clock-o" aria-label="Period" role="img" title="Period"></i> <span itemprop="startDate" t-field="o.event_id.with_context(tz=o.event_id.date_tz).date_begin" t-options='{"hide_seconds": True}'> </span> <i>to</i> <span itemprop="endDate" t-field="o.event_id.with_context(tz=o.event_id.date_tz).date_end" t-options='{"hide_seconds": True}'> </span> )</h5>
</div>
<div>
<div class="col-12 text-center" id="o_event_name">
@@ -69,7 +69,7 @@
</div>
</span>
<h4 t-field="event.name"/>
<h5>( <i class="far fa-clock" aria-label="Period" role="img" title="Period"></i> <span itemprop="startDate" t-field="event.date_begin" t-options='{"hide_seconds": True}'> </span> <i>to</i> <span itemprop="endDate" t-field="event.date_end" t-options='{"hide_seconds": True}'> </span> )</h5>
<h5>( <i class="fa fa-clock-o" aria-label="Period" role="img" title="Period"></i> <span itemprop="startDate" t-field="event.date_begin" t-options='{"hide_seconds": True}'> </span> <i>to</i> <span itemprop="endDate" t-field="event.date_end" t-options='{"hide_seconds": True}'> </span> )</h5>
</div>
</div>
<div class="row" t-ignore="true">
+3 -3
View File
@@ -236,7 +236,7 @@
<label for="date_begin" string="Date"/>
<div class="o_row">
<field name="date_begin" widget="daterange" nolabel="1" class="oe_inline" options="{'related_end_date': 'date_end'}"/>
<i class="fas fa-long-arrow-alt-right mx-2" aria-label="Arrow icon" title="Arrow"/>
<i class="fa fa-long-arrow-right mx-2" aria-label="Arrow icon" title="Arrow"/>
<field name="date_end" widget="daterange" nolabel="1" class="oe_inline" options="{'related_start_date': 'date_begin'}"/>
</div>
<field name="date_tz"/>
@@ -340,7 +340,7 @@
<h4 class="o_kanban_record_title"><field name="name"/></h4>
<div>
<t t-if="record.country_id.raw_value"> <b class="o_kanban_record_subtitle"> <field name="country_id"/> </b> <br/> </t>
<b><i class="far fa-clock"/>
<b><i class="fa fa-clock-o"/>
To</b> <t t-esc="moment(record.date_end.raw_value).format('lll')"/>
</div>
<h4>
@@ -467,7 +467,7 @@
<field name="company_id" groups="base.group_multi_company"/>
<field name="message_needaction" invisible="1"/>
<button name="confirm_registration" string="Confirm Registration" states="draft" type="object" icon="fa-check text-success"/>
<button name="button_reg_close" string="Attended the Event" states="open" type="object" icon="fa-level-down-alt text-success"/>
<button name="button_reg_close" string="Attended the Event" states="open" type="object" icon="fa-level-down text-success"/>
<button name="button_reg_cancel" string="Cancel Registration" states="draft,open" type="object" icon="fa-times-circle text-danger"/>
<field name="activity_exception_decoration" widget="activity_exception"/>
</tree>
@@ -58,7 +58,7 @@
</div>
<div class="o_setting_right_pane">
<label for="module_event_barcode"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." groups="base.group_multi_company"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="text-muted" name="event_barcode">
Scan badges to confirm attendances
</div>
+1 -1
View File
@@ -12,7 +12,7 @@
<button class="oe_stat_button"
groups="event.group_event_user"
type="object"
icon="fa-ticket-alt"
icon="fa-ticket"
name="action_event_view" attrs="{'invisible': [('event_count','=', 0)]}">
<field string="Events" name="event_count" widget="statinfo"/>
</button>
+1 -1
View File
@@ -3,7 +3,7 @@
<data noupdate="1">
<record id="mail_act_fleet_contract_to_renew" model="mail.activity.type">
<field name="name">Contract to Renew</field>
<field name="icon">fas fa-car</field>
<field name="icon">fa-car</field>
<field name="res_model_id" ref="fleet.model_fleet_vehicle_log_contract"/>
</record>
+1 -1
View File
@@ -37,7 +37,7 @@
<button name="return_action_to_open"
type="object"
class="oe_stat_button"
icon="fas fa-tachometer-alt"
icon="fa-tachometer"
context="{'xml_id':'fleet_vehicle_odometer_action'}"
help="show the odometer logs for this vehicle" >
<field name="odometer_count" widget="statinfo" string="Odometer"/>
+1 -1
View File
@@ -160,7 +160,7 @@
<t t-if="record.definition_display.raw_value == 'boolean'">
<div class="o_goal_state text-center">
<t t-if="record.state.raw_value=='reached'"><i role="img" class="o_green fa fa-check fa-3x" title="Goal Reached" aria-label="Goal Reached"/></t>
<t t-if="record.state.raw_value=='inprogress'"><i role="img" class="far fa-clock fa-3x" title="Goal in Progress" aria-label="Goal in Progress"/></t>
<t t-if="record.state.raw_value=='inprogress'"><i role="img" class="fa fa-clock-o fa-3x" title="Goal in Progress" aria-label="Goal in Progress"/></t>
<t t-if="record.state.raw_value=='failed'"><i role="img" class="o_red fa fa-times fa-3x" title="Goal Failed" aria-label="Goal Failed"/></t>
</div>
</t>
+4 -4
View File
@@ -19,7 +19,7 @@
<filter name="group_company" string="Company" domain="[]" context="{'group_by':'company_id'}"/>
</group>
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="far fa-building"/>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="department_id" icon="fa-users"/>
</searchpanel>
</search>
@@ -121,13 +121,13 @@
<div class="o_kanban_record_headings">
<strong class="o_kanban_record_title">
<div class="float-right" t-if="record.hr_presence_state.raw_value == 'present'">
<span class="fas fa-circle text-success" role="img" aria-label="Present" title="Present" name="presence_present"></span>
<span class="fa fa-circle text-success" role="img" aria-label="Present" title="Present" name="presence_present"></span>
</div>
<div class="float-right" t-if="record.hr_presence_state.raw_value == 'absent'">
<span class="fas fa-circle text-danger" role="img" aria-label="Absent" title="Absent" name="presence_absent"></span>
<span class="fa fa-circle text-danger" role="img" aria-label="Absent" title="Absent" name="presence_absent"></span>
</div>
<div class="float-right" t-if="record.hr_presence_state.raw_value == 'to_define'">
<span class="fas fa-circle text-warning" role="img" aria-label="To define" title="To define" name="presence_to_define"></span>
<span class="fa fa-circle text-warning" role="img" aria-label="To define" title="To define" name="presence_to_define"></span>
</div>
<field name="name"/>
</strong>
+7 -7
View File
@@ -27,7 +27,7 @@
<filter name="group_job" string="Job" domain="[]" context="{'group_by': 'job_id'}"/>
</group>
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="far fa-building"/>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="department_id" icon="fa-users"/>
</searchpanel>
</search>
@@ -53,9 +53,9 @@
class="oe_stat_button"
disabled="1"
attrs="{'invisible': ['|', ('last_activity', '=', False), ('user_id', '=', False)]}">
<div role="img" class="fas fa-fw fa-circle text-success o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'present')]}" aria-label="Available" title="Available"/>
<div role="img" class="fas fa-fw fa-circle text-warning o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'to_define')]}" aria-label="Away" title="Away"/>
<div role="img" class="fas fa-fw fa-circle text-danger o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'absent')]}" aria-label="Not available" title="Not available"/>
<div role="img" class="fa fa-fw fa-circle text-success o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'present')]}" aria-label="Available" title="Available"/>
<div role="img" class="fa fa-fw fa-circle text-warning o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'to_define')]}" aria-label="Away" title="Away"/>
<div role="img" class="fa fa-fw fa-circle text-danger o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'absent')]}" aria-label="Not available" title="Not available"/>
<div class="o_stat_info" attrs="{'invisible': [('hr_presence_state', '=', 'present')]}">
<span class="o_stat_text">
@@ -232,13 +232,13 @@
<div class="o_kanban_record_headings">
<strong class="o_kanban_record_title">
<div class="float-right" t-if="record.hr_presence_state.raw_value == 'present'">
<span class="fas fa-circle text-success" role="img" aria-label="Present" title="Present" name="presence_present"></span>
<span class="fa fa-circle text-success" role="img" aria-label="Present" title="Present" name="presence_present"></span>
</div>
<div class="float-right" t-if="record.hr_presence_state.raw_value == 'absent'">
<span class="fas fa-circle text-danger" role="img" aria-label="Absent" title="Absent" name="presence_absent"></span>
<span class="fa fa-circle text-danger" role="img" aria-label="Absent" title="Absent" name="presence_absent"></span>
</div>
<div class="float-right" t-if="record.hr_presence_state.raw_value == 'to_define'">
<span class="fas fa-circle text-warning" role="img" aria-label="To define" title="To define" name="presence_to_define"></span>
<span class="fa fa-circle text-warning" role="img" aria-label="To define" title="To define" name="presence_to_define"></span>
</div>
<field name="name" placeholder="Employee's Name"/>
</strong>
@@ -72,7 +72,7 @@
<div class="col-12 col-lg-6 o_setting_box" id="default_company_schedule_setting">
<div class="o_setting_right_pane">
<label for="resource_calendar_id"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." role="img" aria-label="Values set here are company-specific." groups="base.group_multi_company"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." role="img" aria-label="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="row">
<div class="text-muted col-lg-8">
Set default company schedule to manage your employees working time
+3 -3
View File
@@ -62,9 +62,9 @@
disabled="1"
invisible="context.get('from_my_profile', False)"
attrs="{'invisible': ['|', ('hr_presence_state', '=', 'absent')]}">
<div role="img" class="fas fa-fw fa-circle text-success o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'present')]}" aria-label="Available" title="Available"/>
<div role="img" class="fas fa-fw fa-circle text-warning o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'to_define')]}" aria-label="Away" title="Away"/>
<div role="img" class="fas fa-fw fa-circle text-danger o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'absent')]}" aria-label="Not available" title="Not available"/>
<div role="img" class="fa fa-fw fa-circle text-success o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'present')]}" aria-label="Available" title="Available"/>
<div role="img" class="fa fa-fw fa-circle text-warning o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'to_define')]}" aria-label="Away" title="Away"/>
<div role="img" class="fa fa-fw fa-circle text-danger o_button_icon" attrs="{'invisible': [('hr_presence_state', '!=', 'absent')]}" aria-label="Not available" title="Not available"/>
<div class="o_stat_info" attrs="{'invisible': [('hr_presence_state', '=', 'present')]}">
<span class="o_stat_text">
@@ -102,9 +102,7 @@
.visible-xs{
background: gray('200');
margin: 0 -2em;
.fa,
.far,
.fas {
.fa {
@include o-position-absolute(0.75em);
margin-left: -1.5em
}
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<template xml:space="preserve">
<t t-name="PresenceIndicator">
<div id="oe_hr_attendance_status" class="fas fa-circle" role="img" aria-label="Available" title="Available">
<div id="oe_hr_attendance_status" class="fa fa-circle" role="img" aria-label="Available" title="Available">
</div>
</t>
@@ -43,8 +43,8 @@
<h1 class="mb8"><t t-esc="widget.employee.name"/></h1>
<h3 class="mt8 mb24"><t t-if="!checked_in">Welcome!</t><t t-else="">Want to check out?</t></h3>
<h4 class="mt0 mb0 text-muted" t-if="checked_in">Today's work hours: <span t-esc="widget.hours_today"/></h4>
<a class="fas fa-7x o_hr_attendance_sign_in_out_icon fa-sign-out-alt btn-warning" t-if="checked_in" aria-label="Sign out" title="Sign out"/>
<a class="fas fa-7x o_hr_attendance_sign_in_out_icon fa-sign-in-alt btn-secondary" t-if="!checked_in" aria-label="Sign in" title="Sign in"/>
<a class="fa fa-7x o_hr_attendance_sign_in_out_icon fa-sign-out btn-warning" t-if="checked_in" aria-label="Sign out" title="Sign out"/>
<a class="fa fa-7x o_hr_attendance_sign_in_out_icon fa-sign-in btn-secondary" t-if="!checked_in" aria-label="Sign in" title="Sign in"/>
<h3 class="mt0 mb0 text-muted">Click to <b t-if="checked_in">check out</b><b t-if="!checked_in">check in</b></h3>
</t>
<t t-else="">
@@ -72,8 +72,8 @@
<h3 class="mt8 mb24"><t t-if="!checked_in">Welcome!</t><t t-else="">Want to check out?</t></h3>
<h4 class="mt0 mb0 text-muted" t-if="checked_in">Today's work hours: <span t-esc="widget.employee_hours_today"/></h4>
<t t-if="!widget.use_pin">
<a class="fas fa-7x o_hr_attendance_sign_in_out_icon fa-sign-out-alt btn-warning" t-if="checked_in" aria-label="Sign out" title="Sign out"/>
<a class="fas fa-7x o_hr_attendance_sign_in_out_icon fa-sign-in-alt btn-secondary" t-if="!checked_in" aria-label="Sign in" title="Sign in"/>
<a class="fa fa-7x o_hr_attendance_sign_in_out_icon fa-sign-out btn-warning" t-if="checked_in" aria-label="Sign out" title="Sign out"/>
<a class="fa fa-7x o_hr_attendance_sign_in_out_icon fa-sign-in btn-secondary" t-if="!checked_in" aria-label="Sign in" title="Sign in"/>
<h3 class="mt0 mb0 text-muted">Click to <b t-if="checked_in">check out</b><b t-else="">check in</b></h3>
</t>
<t t-else="">
@@ -35,7 +35,7 @@
</div>
<hr class="mt4 mb8"/>
<div class="o_kanban_record_subtitle">
<i class="far fa-calendar-alt" aria-label="Period" role="img" title="Period"></i>
<i class="fa fa-calendar" aria-label="Period" role="img" title="Period"></i>
<t t-esc="record.check_in.value"/>
- <t t-esc="record.check_out.value"/>
</div>
@@ -22,8 +22,8 @@
'&amp;',
('hr_presence_state', '=', 'present'),
('attendance_state', '=', 'checked_out')]}">
<div role="img" id="oe_hr_attendance_status" class="fas fa-fw fa-circle o_button_icon oe_hr_attendance_status_green" attrs="{'invisible': [('attendance_state', '=', 'checked_out')]}" aria-label="Available" title="Available"/>
<div role="img" id="oe_hr_attendance_status" class="fas fa-fw fa-circle o_button_icon oe_hr_attendance_status_red" attrs="{'invisible': [('attendance_state', '=', 'checked_in')]}" aria-label="Not available" title="Not available"/>
<div role="img" id="oe_hr_attendance_status" class="fa fa-fw fa-circle o_button_icon oe_hr_attendance_status_green" attrs="{'invisible': [('attendance_state', '=', 'checked_out')]}" aria-label="Available" title="Available"/>
<div role="img" id="oe_hr_attendance_status" class="fa fa-fw fa-circle o_button_icon oe_hr_attendance_status_red" attrs="{'invisible': [('attendance_state', '=', 'checked_in')]}" aria-label="Not available" title="Not available"/>
<div class="o_stat_info" attrs="{'invisible': ['|', ('last_check_in', '=', False), ('last_check_out', '!=', False)]}">
<span class="o_stat_text">Attended Since</span>
<span class="o_stat_value"><field name="last_check_in" widget="relative_time"/></span>
@@ -38,7 +38,7 @@
</button>
<button name="%(hr_attendance_action)d"
class="oe_stat_button"
icon="far fa-calendar-alt"
icon="fa-clock-o"
type="action"
context="{'search_default_employee_id': active_id, 'search_default_check_in_filter': '1'}"
groups="base.group_user"
@@ -73,8 +73,8 @@
class="oe_stat_button"
invisible="context.get('from_my_profile', False)"
type="action" attrs="{'invisible': ['|', ('attendance_state', '=', False), '&amp;', ('hr_presence_state', '=', 'present'), ('attendance_state', '=', 'checked_out')]}">
<div role="img" id="oe_hr_attendance_status" class="fas fa-fw fa-circle o_button_icon oe_hr_attendance_status_green" attrs="{'invisible': [('attendance_state', '=', 'checked_out')]}" aria-label="Available" title="Available"/>
<div role="img" id="oe_hr_attendance_status" class="fas fa-fw fa-circle o_button_icon oe_hr_attendance_status_red" attrs="{'invisible': [('attendance_state', '=', 'checked_in')]}" aria-label="Not available" title="Not available"/>
<div role="img" id="oe_hr_attendance_status" class="fa fa-fw fa-circle o_button_icon oe_hr_attendance_status_green" attrs="{'invisible': [('attendance_state', '=', 'checked_out')]}" aria-label="Available" title="Available"/>
<div role="img" id="oe_hr_attendance_status" class="fa fa-fw fa-circle o_button_icon oe_hr_attendance_status_red" attrs="{'invisible': [('attendance_state', '=', 'checked_in')]}" aria-label="Not available" title="Not available"/>
<div class="o_stat_info" attrs="{'invisible': ['|', ('last_check_in', '=', False), ('last_check_out', '!=', False)]}">
<span class="o_stat_text">Attended Since</span>
<span class="o_stat_value"><field name="last_check_in" widget="relative_time"/></span>
@@ -92,7 +92,7 @@
<field name="employee_ids" invisible="1"/>
<button name="%(hr_attendance_action)d"
class="oe_stat_button"
icon="far fa-calendar-alt"
icon="fa-calendar"
type="action"
context="{'search_default_employee_id': employee_ids, 'search_default_check_in_filter': '1'}"
groups="base.group_user"
@@ -129,10 +129,10 @@
<div class="oe_kanban_details">
<div id="textbox">
<div class="float-right" t-if="record.attendance_state.raw_value == 'checked_in'">
<span id="oe_hr_attendance_status" class="fas fa-circle oe_hr_attendance_status_green" role="img" aria-label="Available" title="Available"></span>
<span id="oe_hr_attendance_status" class="fa fa-circle oe_hr_attendance_status_green" role="img" aria-label="Available" title="Available"></span>
</div>
<div class="float-right" t-if="record.attendance_state.raw_value == 'checked_out'">
<span id="oe_hr_attendance_status" class="fas fa-circle oe_hr_attendance_status_red" role="img" aria-label="Not available" title="Not available"></span>
<span id="oe_hr_attendance_status" class="fa fa-circle oe_hr_attendance_status_red" role="img" aria-label="Not available" title="Not available"></span>
</div>
<strong>
<field name="name"/>
+1 -1
View File
@@ -4,7 +4,7 @@
<record id="mail_act_expense_approval" model="mail.activity.type">
<field name="name">Expense Approval</field>
<field name="icon">fas fa-dollar-sign</field>
<field name="icon">fa-dollar</field>
<field name="res_model_id" ref="hr_expense.model_hr_expense_sheet"/>
</record>
+2 -2
View File
@@ -80,7 +80,7 @@
<div class="oe_button_box" name="button_box">
<button name="action_get_attachment_view"
class="oe_stat_button"
icon="fa-file-alt"
icon="fa-file-text-o"
type="object">
<field name="attachment_number" widget="statinfo" string="Documents" options="{'reload_on_button': true}"/>
</button>
@@ -495,7 +495,7 @@
<div class="oe_button_box" name="button_box">
<button name="action_get_attachment_view"
class="oe_stat_button"
icon="fa-file-alt"
icon="fa-file-text-o"
type="object">
<field name="attachment_number" widget="statinfo" string="Documents"/>
</button>
+4 -4
View File
@@ -4,24 +4,24 @@
<!-- Leave specific activities -->
<record id="mail_act_leave_approval" model="mail.activity.type">
<field name="name">Time Off Approval</field>
<field name="icon">far fa-sun</field>
<field name="icon">fa-sun-o</field>
<field name="res_model_id" ref="hr_holidays.model_hr_leave"/>
</record>
<record id="mail_act_leave_second_approval" model="mail.activity.type">
<field name="name">Time Off Second Approve</field>
<field name="icon">far fa-sun</field>
<field name="icon">fa-sun-o</field>
<field name="res_model_id" ref="hr_holidays.model_hr_leave"/>
</record>
<!-- Leave specific activities -->
<record id="mail_act_leave_allocation_approval" model="mail.activity.type">
<field name="name">Allocation Approval</field>
<field name="icon">far fa-sun</field>
<field name="icon">fa-sun-o</field>
<field name="res_model_id" ref="hr_holidays.model_hr_leave_allocation"/>
</record>
<record id="mail_act_leave_allocation_second_approval" model="mail.activity.type">
<field name="name">Allocation Second Approve</field>
<field name="icon">far fa-sun</field>
<field name="icon">fa-sun-o</field>
<field name="res_model_id" ref="hr_holidays.model_hr_leave_allocation"/>
</record>
@@ -64,7 +64,7 @@
<div class="oe_button_box" name="button_box">
<button
class="oe_stat_button"
icon="far fa-calendar-alt"
icon="fa-calendar"
type="action"
attrs="{'invisible': [('holiday_type', '!=', 'employee')]}"
name="%(hr_leave_action_all)d"
+2 -2
View File
@@ -164,7 +164,7 @@
<button name="%(act_hr_employee_holiday_request)d"
type="action"
class="oe_stat_button"
icon="far fa-calendar-alt"
icon="fa-calendar"
attrs="{'invisible': [('show_leaves','=', False)]}"
context="{'search_default_employee_id': active_id}"
groups="base.group_user"
@@ -261,7 +261,7 @@
<button name="%(hr_leave_action_new_request)d"
type="action"
class="oe_stat_button"
icon="far fa-calendar-alt"
icon="fa-calendar"
attrs="{'invisible': [('show_leaves','=', False)]}"
groups="base.group_user"
help="Remaining leaves">
@@ -152,7 +152,7 @@
<t t-name="hr_orgchart_emp_popover_title">
<div>
<span t-att-style='"background-image:url(\"/web/image/hr.employee.public/" + employee.id + "/image_1024/\")"'/>
<a href="#" class="float-right o_employee_redirect" t-att-data-employee-id="employee.id"><i class="fas fa-external-link-alt" role="img" aria-label='Redirect' title="Redirect"></i></a>
<a href="#" class="float-right o_employee_redirect" t-att-data-employee-id="employee.id"><i class="fa fa-external-link" role="img" aria-label='Redirect' title="Redirect"></i></a>
<b><t t-esc="employee.name"/></b>
</div>
</t>
@@ -74,7 +74,7 @@
&:after {
content: "\f086";
font: normal normal normal 14px/1 'Font Awesome 5 Free';
font: normal normal normal 14px/1 FontAwesome;
}
}
}
+2 -2
View File
@@ -37,7 +37,7 @@
</div>
<field name="is_favorite" widget="boolean_favorite" nolabel="1"/>
<div t-if="record.alias_name.value and record.alias_domain.value and record.state.raw_value == 'recruit'" class="o_secondary o_job_alias">
<small> <i class="far fa-envelope" role="img" aria-label="Alias" title="Alias"></i> <field name="alias_id"/> </small>
<small> <i class="fa fa-envelope-o" role="img" aria-label="Alias" title="Alias"></i> <field name="alias_id"/> </small>
</div>
</div>
<div class="o_kanban_manage_button_section">
@@ -104,7 +104,7 @@
</xpath>
<xpath expr="//group" position="after">
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="far fa-building"/>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="user_id" icon="fa-users"/>
</searchpanel>
</xpath>
@@ -79,12 +79,12 @@
<div class="oe_button_box" name="button_box">
<button name="action_applications_email"
class="oe_stat_button"
icon="fa-pencil-alt"
icon="fa-pencil"
type="object"
attrs="{'invisible': [('application_count', '=', 0)]}">
<field name="application_count" widget="statinfo" string="Other Applications"/>
</button>
<button name="action_makeMeeting" class="oe_stat_button" icon="far fa-calendar-alt" type="object"
<button name="action_makeMeeting" class="oe_stat_button" icon="fa-calendar" type="object"
help="Schedule interview with this applicant">
<field name="meeting_count" widget="statinfo" string="Meetings"/>
</button>
@@ -304,7 +304,7 @@
</div>
</div>
<field name="categ_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>
<t t-if="record.partner_mobile.raw_value"><i class="fas fa-mobile-alt mr4" role="img" aria-label="Mobile" title="Mobile"/><field name="partner_mobile"/><br/></t>
<t t-if="record.partner_mobile.raw_value"><i class="fa fa-mobile mr4" role="img" aria-label="Mobile" title="Mobile"/><field name="partner_mobile" widget ="phone"/><br/></t>
<div class="o_kanban_record_bottom mt4">
<div class="oe_kanban_bottom_left">
<div class="float-left mr4" groups="base.group_user">
@@ -314,7 +314,7 @@
<field name="activity_ids" widget="kanban_activity"/>
</div>
<t t-if="record.message_needaction_counter.raw_value">
<span role="alert" class='oe_kanban_mail_new mr4' title='Unread Messages'><i class='fas fa-comments' role="img" aria-label="Unread messages"/><t t-raw="record.message_needaction_counter.raw_value"/></span>
<span role="alert" class='oe_kanban_mail_new mr4' title='Unread Messages'><i class='fa fa-comments' role="img" aria-label="Unread messages"/><t t-raw="record.message_needaction_counter.raw_value"/></span>
</t>
</div>
<div class="oe_kanban_bottom_right">
@@ -462,20 +462,20 @@
</field>
<div name="button_box" position="inside">
<button class="oe_stat_button"
icon="fa-pencil-alt"
icon="fa-pencil"
name="%(action_hr_job_applications)d"
context="{'default_user_id': user_id}"
type="action">
<field name="application_count" widget="statinfo" string="Applications"/>
</button>
<button class="oe_stat_button"
icon="fa-file-alt"
icon="fa-file-text-o"
name="action_get_attachment_tree_view"
type="object">
<field name="documents_count" widget="statinfo" string="Documents"/>
</button>
<button class="oe_stat_button" type="action"
name="%(action_hr_job_sources)d" icon="fa-chart-bar"
name="%(action_hr_job_sources)d" icon="fa-bar-chart-o"
context="{'default_job_id': active_id}">
<div class="o_field_widget o_stat_info">
<span class="o_stat_text">Trackers</span>
@@ -856,7 +856,7 @@ action = act
<field name="arch" type="xml">
<tree string="Sources of Applicants" editable="top" class="o_recruitment_list">
<field name="source_id"/>
<button name="create_alias" string="Generate email alias" type="object" icon="fa-redo text-success" />
<button name="create_alias" string="Generate email alias" type="object" icon="fa-repeat text-success" />
<field name="email"/>
</tree>
</field>
@@ -20,7 +20,7 @@
<xpath expr="//button[@name='action_makeMeeting']" position="after">
<button name="action_start_survey"
class="oe_stat_button"
icon="fas fa-user"
icon="fa-user"
type="object"
help="Answer related job question"
context="{'survey_id': survey_id}"
@@ -23,7 +23,7 @@
<t t-name="hr_trash_button">
<td class="o_list_record_remove pr-3">
<button name="delete" arial-label="Delete row" class="btn btn-secondary">
<i class="far fa-trash-alt"/>
<i class="fa fa-trash"/>
</button>
</td>
</t>
@@ -14,7 +14,7 @@
<t t-if="data.description" t-esc="data.description"/>
</div>
<div class="o_resume_line_icon icon_circle col-lg-1">
<i class="far fa-check-circle fa-2x"></i>
<i class="fa fa-check-circle fa-2x"></i>
</div>
</div>
</td>
@@ -166,7 +166,7 @@
</div>
<hr class="mt4 mb4"/>
<span>
<i class="far fa-calendar-alt" role="img" aria-label="Date" title="Date"></i>
<i class="fa fa-calendar" role="img" aria-label="Date" title="Date"></i>
<t t-esc="record.date.value"/>
</span>
<span class="float-right">
+1 -1
View File
@@ -44,7 +44,7 @@
</group>
</xpath>
<div name="button_box" position="inside">
<button class="oe_stat_button" type="action" name="%(timesheet_action_from_employee)d" icon="far fa-calendar-alt" groups="hr_timesheet.group_timesheet_manager">
<button class="oe_stat_button" type="action" name="%(timesheet_action_from_employee)d" icon="fa-calendar" groups="hr_timesheet.group_timesheet_manager">
<div class="o_stat_info">
<span class="o_stat_text">Timesheets</span>
</div>
+1 -1
View File
@@ -39,7 +39,7 @@
<field name="priority">24</field>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button" name="%(act_hr_timesheet_line_by_project)d" type="action" icon="far fa-calendar-alt" string="Timesheets" attrs="{'invisible': [('allow_timesheets', '=', False)]}" groups="hr_timesheet.group_hr_timesheet_user"/>
<button class="oe_stat_button" name="%(act_hr_timesheet_line_by_project)d" type="action" icon="fa-calendar" string="Timesheets" attrs="{'invisible': [('allow_timesheets', '=', False)]}" groups="hr_timesheet.group_hr_timesheet_user"/>
</div>
<xpath expr="//div[@id='rating_settings']/.." position="before">
<div class="row mt16 o_settings_container">
@@ -18,7 +18,7 @@
attrs="{'invisible':[('project_time_mode_id', '!=', False)]}">
<div class="o_setting_right_pane">
<label for="project_time_mode_id"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." groups="base.group_multi_company"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="content-group">
<div class="mt16">
<field name="project_time_mode_id" options="{'no_create': True, 'no_open': True}"/>
@@ -29,7 +29,7 @@
<div class="col-12 col-lg-6 o_setting_box" id="time_unit_timesheets_setting">
<div class="o_setting_right_pane">
<label for="timesheet_encode_uom_id"/>
<span class="far fa-lg fa-building" title="Values set here are company-specific." groups="base.group_multi_company"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="row">
<div class="text-muted col-md-12">
Set the time unit used to record your timesheets
@@ -13,7 +13,7 @@
}
.o_thread_window_header {
height: 28px;
.fa-times {
.fa-close {
text-decoration: none;
font-weight: bold;
&:before {
@@ -17,7 +17,7 @@
<t t-extend="mail.discuss_mobile">
<t t-jquery=".o_mail_mobile_tabs" t-operation="append">
<div class="o_mail_mobile_tab" data-type="livechat">
<span class="fas fa-comments"/>
<span class="fa fa-comments"/>
<span class="o_tab_title">Livechat</span>
</div>
</t>
@@ -43,17 +43,17 @@
<strong class="o_kanban_record_title" style="word-wrap: break-word;"><field name="name"/></strong>
<div>
<div>
<i class="fas fa-user" role="img" aria-label="User" title="User"></i>
<i class="fa fa-user" role="img" aria-label="User" title="User"></i>
<t t-esc="(record.user_ids.raw_value || []).length"/> Operators
<br/>
<i class="fas fa-comments" role="img" aria-label="Comments" title="Comments"></i>
<i class="fa fa-comments" role="img" aria-label="Comments" title="Comments"></i>
<t t-esc="record.nbr_channel.raw_value"/> Sessions
<div class="float-right">
<t t-if="record.rating_percentage_satisfaction.raw_value &gt; 0">
<a type="action" name="%(rating_rating_action_view_livechat_rating)d" tabindex="10">
<i class="far fa-smile text-success" t-if="record.rating_percentage_satisfaction.raw_value &gt;= 70" title="Rating: Great" role="img" aria-label="Happy face"/>
<i class="far fa-meh text-warning" t-if="record.rating_percentage_satisfaction.raw_value &gt; 30 and record.rating_percentage_satisfaction.raw_value &lt; 70" title="Rating: Okay" role="img" aria-label="Neutral face"/>
<i class="far fa-frown text-danger" t-if="record.rating_percentage_satisfaction.raw_value &lt;= 30" title="Rating: Bad" role="img" aria-label="Sad face"/>
<i class="fa fa-smile-o text-success" t-if="record.rating_percentage_satisfaction.raw_value &gt;= 70" title="Rating: Great" role="img" aria-label="Happy face"/>
<i class="fa fa-meh-o text-warning" t-if="record.rating_percentage_satisfaction.raw_value &gt; 30 and record.rating_percentage_satisfaction.raw_value &lt; 70" title="Rating: Okay" role="img" aria-label="Neutral face"/>
<i class="fa fa-frown-o text-danger" t-if="record.rating_percentage_satisfaction.raw_value &lt;= 30" title="Rating: Bad" role="img" aria-label="Sad face"/>
<t t-esc="record.rating_percentage_satisfaction.raw_value"/>%
</a>
</t>
@@ -80,10 +80,10 @@
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button" type="action" attrs="{'invisible':[('nbr_channel','=', 0)]}" name="%(mail_channel_action_from_livechat_channel)d" icon="fas fa-comments">
<button class="oe_stat_button" type="action" attrs="{'invisible':[('nbr_channel','=', 0)]}" name="%(mail_channel_action_from_livechat_channel)d" icon="fa-comments">
<field string="Sessions" name="nbr_channel" widget="statinfo"/>
</button>
<button name="action_view_rating" attrs="{'invisible':[('rating_percentage_satisfaction','=', -1)]}" class="oe_stat_button" type="object" icon="fa-smile">
<button name="action_view_rating" attrs="{'invisible':[('rating_percentage_satisfaction','=', -1)]}" class="oe_stat_button" type="object" icon="fa-smile-o">
<field string="% Happy" name="rating_percentage_satisfaction" widget="statinfo"/>
</button>
</div>
+1 -1
View File
@@ -17,7 +17,7 @@
<t t-if="channel.getType() == 'support_channel'">
<div t-attf-class="o_mail_discuss_title_main o_mail_discuss_item #{(activeThreadID == channel.getID()) ? 'o_active': ''}"
t-att-data-thread-id="channel.getID()">
<span class="o_thread_name"><i class="far fa-question-circle mr8"/>Odoo Support</span>
<span class="o_thread_name"><i class="fa fa-question-circle mr8"/>Odoo Support</span>
<t t-set="counter" t-value="channel.getUnreadCounter()"/>
<t t-call="mail.discuss.SidebarCounter"/>
</div>
+2 -2
View File
@@ -78,8 +78,8 @@
<ul class="list-inline">
<li t-if="company.phone"><i class="fa fa-phone"/> <span t-field="company.phone"/></li>
<li t-if="company.email"><i class="fa fa-at"/> <span t-field="company.email"/></li>
<li t-if="company.website"><i class="fa fa-globe-americas"/> <span t-field="company.website"/></li>
<li t-if="company.vat"><i class="far fa-building"/><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="company.vat"/></li>
<li t-if="company.website"><i class="fa fa-globe"/> <span t-field="company.website"/></li>
<li t-if="company.vat"><i class="fa fa-building-o"/><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="company.vat"/></li>
</ul>
<div t-field="company.report_footer"/>
</div>
+1 -1
View File
@@ -32,7 +32,7 @@
<template id="l10n_in_external_layout_background" inherit_id="web.external_layout_background">
<xpath expr="//li[@t-if='company.vat']" position="replace">
<li t-if="vat or company.vat" class="list-inline-item"><i class="far fa-building" role="img" aria-label="Fiscal number"/><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-esc="vat or company.vat"/></li>
<li t-if="vat or company.vat" class="list-inline-item"><i class="fa fa-building-o" role="img" aria-label="Fiscal number"/><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-esc="vat or company.vat"/></li>
</xpath>
</template>
</odoo>
+4 -4
View File
@@ -115,7 +115,7 @@
<field name="l10n_it_send_state" invisible="1" widget="label_selection" options="{'classes': {'to_send': 'default', 'invalid': 'danger', 'sent': 'warning',
'delivered': 'success', 'delivered_accepted': 'success', 'delivered_refused': 'success', 'delivered_expired': 'success', 'failed_delivery': 'success'}}"/>
<button icon="fa-paper-plane" class="btn-outline-warning disabled" aria-label="Sent" title="Sent" attrs="{'invisible': [('l10n_it_send_state', '!=', 'sent')]}"/>
<button icon="fa-paper-plane-o" class="btn-outline-warning disabled" aria-label="Sent" title="Sent" attrs="{'invisible': [('l10n_it_send_state', '!=', 'sent')]}"/>
<button icon="fa-exclamation-triangle" class="btn-outline-danger disabled" aria-label="Error" title="Error" attrs="{'invisible': [('l10n_it_send_state', '!=', 'invalid')]}"/>
<button icon="fa-check" class="btn-outline-success disabled" aria-label="Delivered" title="Delivered" attrs="{'invisible': [('l10n_it_send_state', 'not in', ['delivered', 'delivered_accepted', 'delivered_refused', 'delivered_expired', 'failed_delivery'])]}"/>
</xpath>
@@ -136,7 +136,7 @@
<xpath expr="//div[hasclass('o_kanban_record_headings')]" position="inside">
<i class="text-success fa fa-plus-circle" t-if="record.l10n_it_send_state.raw_value == 'new'"/>
<i class="text-warning far fa-paper-plane" t-if="record.l10n_it_send_state.raw_value == 'sent'"/>
<i class="text-warning fa fa-paper-plane-o" t-if="record.l10n_it_send_state.raw_value == 'sent'"/>
<i class="text-danger fa fa-exclamation-triangle" t-if="record.l10n_it_send_state.raw_value == 'invalid'"/>
<i class="text-success fa fa-check" t-if="['delivered', 'delivered_accepted', 'delivered_refused', 'delivered_expired', 'failed_delivery'].indexOf(record.l10n_it_send_state.raw_value) >= 0" />
</xpath>
@@ -152,7 +152,7 @@
<field name="arch" type="xml">
<data>
<xpath expr="//button[@name='preview_invoice']" position="after">
<button name="post" type="object" icon="far fa-envelope" class="btn btn-primary" string="Resend"
<button name="post" type="object" icon="fa-envelope-o" class="btn btn-primary" string="Resend"
attrs="{'invisible': ['|', ('type', 'not in', ('out_invoice', 'out_refund')), ('l10n_it_send_state', '!=', 'invalid')]}"/>
</xpath>
<xpath expr="//field[@name='type']" position="before">
@@ -162,7 +162,7 @@
</div>
<div class="alert alert-warning" role="alert"
attrs="{'invisible': ['|', ('type', 'not in', ('out_invoice', 'out_refund')), ('l10n_it_send_state', '!=', 'sent')]}">
<i class="far fa-paper-plane"/> E-Invoice sent, waiting for a response
<i class="fa fa-paper-plane-o"/> E-Invoice sent, waiting for a response
</div>
<div class="alert alert-danger" role="alert"
attrs="{'invisible': ['|', ('type', 'not in', ('out_invoice', 'out_refund')), ('l10n_it_send_state', '!=', 'invalid')]}">
@@ -28,10 +28,10 @@
<form string="Website Link">
<sheet>
<div class="oe_button_box" name="button_box">
<button type="object" icon="fa-sign-out-alt" name="action_visit_page"
<button type="object" icon="fa-sign-out" name="action_visit_page"
string="Visit Page" class="oe_stat_button"/>
<button type="object" class="oe_stat_button" name="action_view_statistics" icon="fa-chart-bar">
<button type="object" class="oe_stat_button" name="action_view_statistics" icon="fa-bar-chart-o">
<field name="count" string="Clicks" widget="statinfo"/>
</button>
</div>
@@ -96,13 +96,13 @@
</div>
<div class="col-4 text-right">
<span class="badge badge-pill">
<strong><i class="far fa-money-bill-alt" role="img" aria-label="Amount" title="Amount"/> <field name="amount" widget="monetary"/></strong>
<strong><i class="fa fa-money" role="img" aria-label="Amount" title="Amount"/> <field name="amount" widget="monetary"/></strong>
</span>
</div>
</div>
<div class="row">
<div class="col-6">
<i class="far fa-clock" role="img" aria-label="Date" title="Date"/>
<i class="fa fa-clock-o" role="img" aria-label="Date" title="Date"/>
<t t-esc="record.date.value"/>
</div>
<div class="col-6">
+1 -1
View File
@@ -39,7 +39,7 @@
<div class="card-body">
<h4 class="card-title">
Your order
<button t-if="widget.raw_state != 'confirmed'" class="btn btn-sm btn-icon btn-link far fa-trash-alt o_lunch_widget_unlink"/>
<button t-if="widget.raw_state != 'confirmed'" class="btn btn-sm btn-icon btn-link fa fa-trash o_lunch_widget_unlink"/>
<span t-if="widget.raw_state != 'new'" t-esc="widget.state" t-attf-class="badge badge-pill {{ state_class }}"/>
</h4>
<ul class="list-unstyled o_lunch_widget_lines">
+2 -2
View File
@@ -67,13 +67,13 @@
</div>
<div class="col-4 text-right">
<span class="badge badge-pill">
<strong><i class="far fa-money-bill-alt" role="img" aria-label="Amount" title="Amount"/> <field name="amount" widget="monetary"/></strong>
<strong><i class="fa fa-money" role="img" aria-label="Amount" title="Amount"/> <field name="amount" widget="monetary"/></strong>
</span>
</div>
</div>
<div class="row">
<div class="col-6">
<i class="far fa-clock" role="img" aria-label="Date" title="Date"/>
<i class="fa fa-clock-o" role="img" aria-label="Date" title="Date"/>
<t t-esc="record.date.value"/>
</div>
<div class="col-6">
+2 -2
View File
@@ -72,10 +72,10 @@
</div>
<div class="row">
<div class="col-6">
<i class="far fa-money-bill-alt" role="img" aria-label="Money" title="Money"/> <field name="price"/>
<i class="fa fa-money" role="img" aria-label="Money" title="Money"/> <field name="price"/>
</div>
<div class="col-6 text-right">
<i class="far fa-clock" role="img" aria-label="Date" title="Date"/> <field name="date"/>
<i class="fa fa-clock-o" role="img" aria-label="Date" title="Date"/> <field name="date"/>
</div>
</div>
<div class="row mt4">
+2 -2
View File
@@ -16,7 +16,7 @@
<filter name="group_by_category" string="Category" context="{'group_by': 'category_id'}"/>
</group>
<searchpanel>
<field name="category_id" select="multi" string="Categories" icon="fa-utensils" color="#875A7B"/>
<field name="category_id" select="multi" string="Categories" icon="fa-cutlery" color="#875A7B"/>
<field name="supplier_id" select="multi" string="Vendors" icon="fa-truck"/>
</searchpanel>
</search>
@@ -221,7 +221,7 @@
<button class="oe_stat_button" type="action" name="%(lunch.lunch_product_action_statbutton)d"
context="{'search_default_category_id': active_id,'default_category_id': active_id}"
attrs="{'invisible': [('product_count', '=', 0)]}"
icon="fa-utensils">
icon="fa-cutlery">
<field string="Products" name="product_count" widget="statinfo"/>
</button>
</div>
+1 -1
View File
@@ -15,7 +15,7 @@
title="None">
<div class="o_setting_right_pane">
<span class="o_form_label">Lunch Overdraft</span>
<span class="far fa-lg fa-building" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
Maximum overdraft that your employees can reach
</div>
+6 -6
View File
@@ -3,36 +3,36 @@
<data noupdate="1">
<record id="mail_activity_data_email" model="mail.activity.type">
<field name="name">Email</field>
<field name="icon">far fa-envelope</field>
<field name="icon">fa-envelope</field>
<field name="sequence">3</field>
</record>
<record id="mail_activity_data_call" model="mail.activity.type">
<field name="name">Call</field>
<field name="icon">fas fa-phone</field>
<field name="icon">fa-phone</field>
<field name="delay_count">2</field>
<field name="sequence">6</field>
</record>
<record id="mail_activity_data_meeting" model="mail.activity.type">
<field name="name">Meeting</field>
<field name="icon">fas fa-users</field>
<field name="icon">fa-users</field>
<field name="sequence">9</field>
</record>
<record id="mail_activity_data_todo" model="mail.activity.type">
<field name="name">To Do</field>
<field name="icon">fas fa-tasks</field>
<field name="icon">fa-tasks</field>
<field name="delay_count">5</field>
<field name="sequence">12</field>
</record>
<record id="mail_activity_data_upload_document" model="mail.activity.type">
<field name="name">Upload Document</field>
<field name="icon">fas fa-upload</field>
<field name="icon">fa-upload</field>
<field name="delay_count">5</field>
<field name="sequence">25</field>
<field name="category">upload_file</field>
</record>
<record id="mail_activity_data_warning" model="mail.activity.type">
<field name="name">Exception</field>
<field name="icon">fas fa-exclamation-triangle</field>
<field name="icon">fa-warning</field>
<field name="delay_count">0</field>
<field name="sequence">99</field>
<field name="decoration_type">warning</field>
+1 -1
View File
@@ -141,7 +141,7 @@ GROUP BY channel_moderator.res_users_id""", [tuple(self.ids)])
user_activities[activity['model']]['total_count'] += activity['count']
user_activities[activity['model']]['actions'] = [{
'icon': 'fa-clock',
'icon': 'fa-clock-o',
'name': 'Summary',
}]
return list(user_activities.values())
+2 -3
View File
@@ -691,14 +691,13 @@ var KanbanActivity = BasicActivity.extend({
_render: function () {
// span classes need to be updated manually because the template cannot
// be re-rendered eaasily (because of the dropdown state)
const spanClasses = ['fa-fw'];
const spanClasses = ['fa', 'fa-lg', 'fa-fw'];
spanClasses.push('o_activity_color_' + (this.activityState || 'default'));
if (this.recordData.activity_exception_decoration) {
spanClasses.push('text-' + this.recordData.activity_exception_decoration);
spanClasses.push(this.recordData.activity_exception_icon);
} else {
spanClasses.push('far');
spanClasses.push('fa-clock');
spanClasses.push('fa-clock-o');
}
this.$('.o_activity_btn > span').removeClass().addClass(spanClasses.join(' '));
@@ -13,7 +13,7 @@ var _lt = core._lt;
var ActivityView = BasicView.extend({
accesskey: "a",
display_name: _lt('Activity'),
icon: 'far fa-clock',
icon: 'fa-clock-o',
config: _.extend({}, BasicView.prototype.config, {
Controller: ActivityController,
Model: ActivityModel,
+2 -9
View File
@@ -54,21 +54,14 @@
font-style: italic;
color: gray;
}
.fa,
.far,
.fas {
font-size: 0.8em;
.fa {
font-size: 0.8em;
}
}
textarea {
resize: none;
}
.btn.fa,
.btn.far,
.btn.fas {
@include o-hover-opacity($default-opacity: 0.8, $hover-opacity: 1);
@include o-hover-opacity($default-opacity: 0.8, $hover-opacity: 1);
.btn.fa {
@include o-hover-opacity($default-opacity: 0.8, $hover-opacity: 1);
border: none;
}
+2 -4
View File
@@ -78,7 +78,7 @@
.o_mail_partner_unpin, .o_mail_channel_settings {
padding: 2px 6px;
}
i.fa-envelope {
i.fa-envelope-o {
margin-left: 3px;
}
@@ -488,9 +488,7 @@
font-weight: 500;
font-size: 10px;
&.fa,
&.far,
&.fas {
&.fa {
padding-bottom: $o-mail-chatter-mobile-gap*2;
font-size: 1.3em;
}
+1 -1
View File
@@ -41,7 +41,7 @@
display: initial;
}
.fa, .far, .fas {
.fa {
&.fa-times {
color: theme-color('warning');
}
@@ -155,13 +155,10 @@
.o_kanban_record, .o_view_controller{
.o_mail_activity {
.o_activity_btn {
span.fa,
span.far,
span.fas {
span.fa {
overflow: visible;
line-height: 1;
vertical-align: middle;
font-size: 15px;
}
}
@@ -181,10 +178,6 @@
.o_activity_title_entry {
display: flex;
align-items: baseline;
.fa, .far, .fas, .fab {
font-size: unset;
}
}
.o_edit_button {
+4 -1
View File
@@ -2,6 +2,9 @@
.o_mail_systray_item {
> a {
opacity: 1;
> i {
font-size: larger;
}
}
&.o_no_notification > a {
opacity: 0.5;
@@ -74,7 +77,7 @@
height: 40px;
object-fit: cover;
.fa-circle {
.fa-circle-o {
display: none;
}
}
+2 -2
View File
@@ -90,7 +90,7 @@
bottom: 0;
right: 0;
&.fa-circle {
&.fa-circle-o {
display: none;
}
}
@@ -126,7 +126,7 @@
.o_thread_icon {
cursor: pointer;
opacity: 0;
&.fas.fa-star {
&.fa-star {
opacity: $o-mail-thread-icon-opacity;
color: gold;
}
@@ -50,9 +50,7 @@
@include media-breakpoint-down(sm) {
padding: 13px;
}
&.btn.fa,
&.btn.far,
&.btn.fas {
&.btn.fa {
font-size: 1.3em;
}
}
@@ -34,7 +34,7 @@
<t t-name="mail.HiddenThreadWindowsDropdown">
<div t-attf-class="o_thread_window o_in_home_menu o_thread_window_dropdown dropup #{open ? 'open' : ''}">
<span role="alert" class="o_thread_window_dropdown_toggler dropdown-toggle" data-toggle="dropdown" title="Unread messages">
<i class="fas fa-comments" role="img" aria-label="Messages"/> <t t-esc="threadWindows.length"/>
<i class="fa fa-comments-o" role="img" aria-label="Messages"/> <t t-esc="threadWindows.length"/>
<span class="o_total_unread_counter">
<t t-if="unreadCounter"><t t-esc="unreadCounter"/></t>
</span>
@@ -75,7 +75,7 @@
<t t-if="thread and thread.hasTypingNotification() and thread.isSomeoneTyping()" t-call="mail.ThreadTypingIcon"/>
</span>
<span t-if="!widget.isMobile()" class="o_thread_window_buttons">
<a href="#" class="o_thread_window_close fas fa-times"/>
<a href="#" class="o_thread_window_close fa fa-close"/>
</span>
</t>
+2 -2
View File
@@ -65,7 +65,7 @@
<div class="mt16" t-att-data-activity-id="activity.id" t-att-data-previous-activity-type-id="activity.activity_type_id[0]">
<t t-foreach="activity.mail_template_ids" t-as="mail_template">
<div>
<i class="far fa-envelope" aria-label="Mail" title="Mail" role="img"></i>
<i class="fa fa-envelope-o" aria-label="Mail" title="Mail" role="img"></i>
<span t-esc="mail_template.name"/>:
<span class="o_activity_template_preview" t-att-data-template-id="mail_template.id">Preview</span>
<span class="text-muted">or</span>
@@ -101,7 +101,7 @@
</t>
</span>
<a role="button" href="#" class="btn btn-link btn-secondary text-muted o_edit_activity o_activity_link" t-att-data-activity-id="activity.id">
<i class="fas fa-pencil-alt"/> Edit
<i class="fa fa-pencil"/> Edit
</a>
<a role="button" href="#" class="btn btn-link btn-danger text-muted o_unlink_activity o_activity_link" t-att-data-activity-id="activity.id">
<i class="fa fa-times"/> Cancel
+1 -1
View File
@@ -12,7 +12,7 @@
<i class="fa fa-ellipsis-v fa-fw" data-toggle="dropdown"/>
<div class="dropdown-menu">
<div t-foreach="type[2]" t-as="template" title="This action will send an email." class="o_template_element o_send_mail_template" t-att-data-template-id="template.id">
<i class="far fa-envelope fa-fw"/> <t t-esc="template.name"/>
<i class="fa fa-envelope fa-fw"/> <t t-esc="template.name"/>
</div>
</div>
</span>
+2 -2
View File
@@ -92,7 +92,7 @@
<!-- Add a button to open the full composer dialog -->
<t t-jquery=".o_composer_button_add_attachment" t-operation="after">
<button tabindex="6" class="btn btn-secondary fa fa-expand-arrows-alt o_composer_button_full_composer" type="button" title="Full composer" aria-label="Full composer"/>
<button tabindex="6" class="btn btn-secondary fa fa-expand o_composer_button_full_composer" type="button" title="Full composer" aria-label="Full composer"/>
</t>
</t>
@@ -112,7 +112,7 @@
Log note
</button>
<button t-if="scheduleActivityButton" class="btn btn-link o_chatter_button_schedule_activity" title="Log or schedule an activity" disabled="disabled">
<i class="far fa-clock" role="img" aria-label="Dates" title="Dates"/> <t t-if="isMobile">Activity</t><t t-else="">Schedule activity</t>
<i class="fa fa-clock-o" role="img" aria-label="Dates" title="Dates"/> <t t-if="isMobile">Activity</t><t t-else="">Schedule activity</t>
</button>
<t t-if="!disableAttachmentBox">
<t t-call="mail.chatter.Attachment.Button">
+2 -2
View File
@@ -17,9 +17,9 @@
<div class="o_composer_input">
<textarea class="o_input o_composer_text_field" tabindex="2" placeholder="Write something..."/>
<div class="o_chatter_composer_tools">
<button tabindex="4" class="btn btn-secondary far fa-smile o_composer_button_emoji" type="button" data-toggle="popover" title="Emojis" aria-label="Emojis"/>
<button tabindex="4" class="btn btn-secondary fa fa-smile-o o_composer_button_emoji" type="button" data-toggle="popover" title="Emojis" aria-label="Emojis"/>
<button tabindex="5" class="btn btn-secondary fa fa-paperclip o_composer_button_add_attachment" type="button" aria-label="Add attachment" title="Add attachment"/>
<button t-if="widget.options.isMobile" tabindex="3" t-attf-class="btn #{widget.isMini ? 'btn-primary' : 'btn-secondary'} far fa-paper-plane o_composer_button_send" type="button" title="Send" aria-label="Send"/>
<button t-if="widget.options.isMobile" tabindex="3" t-attf-class="btn #{widget.isMini ? 'btn-primary' : 'btn-secondary'} fa fa-paper-plane-o o_composer_button_send" type="button" title="Send" aria-label="Send"/>
</div>
</div>
</div>
+9 -9
View File
@@ -63,7 +63,7 @@
</div>
<div t-attf-class="o_mail_discuss_title_main o_mail_mailbox_title_starred o_mail_discuss_item #{(activeThreadID === 'mailbox_starred') ? 'o_active': ''}"
data-thread-id="mailbox_starred">
<span class="o_thread_name"><i class="far fa-star mr8"/>Starred</span>
<span class="o_thread_name"><i class="fa fa-star-o mr8"/>Starred</span>
<t t-set="counter" t-value="starred.getMailboxCounter()"/>
<t t-call="mail.discuss.SidebarCounter"/>
</div>
@@ -73,7 +73,7 @@
</div>
<div t-if="isMyselfModerator" t-attf-class="o_mail_discuss_title_main o_mail_discuss_item #{(activeThreadID == 'mailbox_moderation') ? 'o_active': ''}"
data-thread-id="mailbox_moderation">
<span class="o_thread_name"> <i class="far fa-envelope mr8"/>Moderation Queue</span>
<span class="o_thread_name"> <i class="fa fa-envelope mr8"/>Moderation Queue</span>
<t t-set="counter" t-value="moderation.getMailboxCounter()"/>
<t t-call="mail.discuss.SidebarCounter"/>
</div>
@@ -171,7 +171,7 @@
<span t-if="displayHash" class="o_mail_hash">#</span>
<i t-if="channel.getType() === 'multi_user_channel' and !channel.isPublic()" class="fa fa-lock" title="Private channel" role="img" aria-label="Private channel"/>
<t t-esc="_.unescape(channel.getName())"/>
<i t-if="channel.isMassMailing()" class="far fa-envelope" title="Sends messages by email" role="img" aria-label="Send by mail"/>
<i t-if="channel.isMassMailing()" class="fa fa-envelope-o" title="Sends messages by email" role="img" aria-label="Send by mail"/>
</span>
<t t-if="channel.hasTypingNotification() and channel.isSomeoneTyping()">
<t t-set="thread" t-value="channel"/>
@@ -192,9 +192,9 @@
-->
<t t-name="mail.UserStatus">
<span t-att-class="partnerID ? 'o_updatable_im_status' : ''" t-att-data-partner-id="partnerID">
<i t-if="status == 'online'" class="o_mail_user_status o_user_online far fa-circle" title="Online" role="img" aria-label="User is online"/>
<i t-if="status == 'away'" class="o_mail_user_status o_user_idle far fa-circle" title="Idle" role="img" aria-label="User is idle"/>
<i t-if="status == 'offline'" class="o_mail_user_status far fa-circle" title="Offline" role="img" aria-label="User is offline"/>
<i t-if="status == 'online'" class="o_mail_user_status o_user_online fa fa-circle" title="Online" role="img" aria-label="User is online"/>
<i t-if="status == 'away'" class="o_mail_user_status o_user_idle fa fa-circle" title="Idle" role="img" aria-label="User is idle"/>
<i t-if="status == 'offline'" class="o_mail_user_status fa fa-circle-o" title="Offline" role="img" aria-label="User is offline"/>
</span>
</t>
@@ -264,7 +264,7 @@
<span class="o_tab_title">Inbox</span>
</div>
<div class="o_mail_mobile_tab" data-type="dm_chat">
<span class="fas fa-user"/>
<span class="fa fa-user"/>
<span class="o_tab_title">Chat</span>
</div>
<div class="o_mail_mobile_tab" data-type="multi_user_channel">
@@ -330,13 +330,13 @@
<span class="o_preview_counter">
<t t-if="preview.unreadCounter &gt; 0">&amp;nbsp;(<t t-esc="preview.unreadCounter"/>)</t>
</span>
<span t-if="preview.isLinkedToDocumentThread" class="o_discuss_icon o_thread_window_expand fa fa-expand-arrows-alt"/>
<span t-if="preview.isLinkedToDocumentThread" class="o_discuss_icon o_thread_window_expand fa fa-expand"/>
<span class="o_last_message_date ml-auto mr-2"> <t t-esc="preview.date ? preview.date.fromNow() : ''"/> </span>
</div>
<div class="o_last_message_preview">
<t t-if="preview.body">
<t t-if="preview.isMyselfAuthor">
<span class="fas fa-reply" role="img" aria-label="Reply"/> You:
<span class="fa fa-mail-reply" role="img" aria-label="Reply"/> You:
</t>
<t t-elif="preview.author">
<t t-esc="preview.author"/>:
+5 -5
View File
@@ -9,7 +9,7 @@
<div class="o_followers_title_box btn-group">
<button class="btn btn-link" title="Dropdown menu - Followers"
data-toggle="dropdown" aria-expanded="false">
<i class="fas fa-user" role="img" aria-label="Dropdown menu - Followers"></i>
<i class="fa fa-user" role="img" aria-label="Dropdown menu - Followers"></i>
<span class="o_followers_count"/>
</button>
<div class="dropdown-menu dropdown-menu-right o_followers_list" role="menu"/>
@@ -40,7 +40,7 @@
<t t-esc="record.name"/>
</a>
<button t-if="record.is_editable"
class="btn btn-icon fas fa-pencil-alt o_edit_subtype d-none"
class="btn btn-icon fa fa-pencil o_edit_subtype d-none"
title="Edit subscription"
aria-label="Edit subscription"
role="img"
@@ -48,7 +48,7 @@
t-att-data-oe-id="record.res_id"
t-att-data-oe-model="record.res_model"/>
<button t-if="widget.isEditable"
class="btn btn-icon fas fa-times o_remove_follower"
class="btn btn-icon fa fa-remove o_remove_follower"
aria-label="Remove this follower"
role="img"
title="Remove this follower"/>
@@ -83,12 +83,12 @@
<t t-esc="record.name"/>
</label>
</div>
<i t-if="display_warning" class="fas fa-exclamation-triangle text-warning" role="img" aria-label="Warning" title="Warning"/>
<i t-if="display_warning" class="fa fa-warning text-warning" role="img" aria-label="Warning" title="Warning"/>
</div>
</t>
<t t-name="mail.Followers.subtypes.warning">
<span class="text-warning">
<i class="fas fa-exclamation-triangle"/> Be careful with channels following internal notifications
<i class="fa fa-warning"/> Be careful with channels following internal notifications
</span>
</t>
+5 -5
View File
@@ -7,7 +7,7 @@
<t t-name="mail.systray.MessagingMenu">
<li class="o_mail_systray_item">
<a class="dropdown-toggle o-no-caret" data-toggle="dropdown" data-display="static" aria-expanded="false" title="Conversations" href="#" role="button">
<i class="o_mail_messaging_menu_icon fas fa-comments fa-spinner fa-spin" role="img" aria-label="Messages"/> <span class="o_notification_counter badge badge-pill"/>
<i class="o_mail_messaging_menu_icon fa fa-comments fa-spinner fa-spin" role="img" aria-label="Messages"/> <span class="o_notification_counter badge badge-pill"/>
</a>
<div class="o_mail_systray_dropdown dropdown-menu dropdown-menu-right" role="menu">
<t t-if="widget.isMobile()">
@@ -27,11 +27,11 @@
<t t-if="widget.isMobile()">
<div class="o_mail_mobile_tabs">
<div class="o_mail_mobile_tab o_filter_button active" role="tab">
<span class="far fa-envelope"/>
<span class="fa fa-envelope"/>
<span class="o_tab_title">All</span>
</div>
<div class="o_mail_mobile_tab o_filter_button" data-filter='chat' role="tab">
<span class="fas fa-user"/>
<span class="fa fa-user"/>
<span class="o_tab_title">Chat</span>
</div>
<div class="o_mail_mobile_tab o_filter_button" data-filter='channels' role="tab">
@@ -84,7 +84,7 @@
<t t-foreach="activity.actions" t-as="action">
<button type="button"
t-att-title="action.name"
t-att-class="'o_mail_activity_action btn btn-link far ' + action.icon"
t-att-class="'o_mail_activity_action btn btn-link fa ' + action.icon"
t-att-data-action_xmlid="action.action_xmlid"
t-att-data-res_model="activity.model"
t-att-data-model_name="activity.name">
@@ -108,7 +108,7 @@
<t t-name="mail.systray.ActivityMenu">
<li class="o_mail_systray_item">
<a class="dropdown-toggle o-no-caret" data-toggle="dropdown" data-display="static" aria-expanded="false" title="Activities" href="#" role="button">
<i class="far fa-clock" role="img" aria-label="Activities"/> <span class="o_notification_counter badge badge-pill"/>
<i class="fa fa-clock-o" role="img" aria-label="Activities"/> <span class="o_notification_counter badge badge-pill"/>
</a>
<div class="o_mail_systray_dropdown dropdown-menu dropdown-menu-right" role="menu">
<div class="o_mail_systray_dropdown_items"/>
+11 -11
View File
@@ -44,9 +44,9 @@
<t t-set="model" t-value="widget.modelName"/>
<div class="o_viewer-header">
<span class="o_image_caption">
<i class="far fa-image mr8" t-if="widget.activeAttachment.fileType == 'image'" role="img" aria-label="Image" title="Image"/>
<i class="fas fa-file-alt mr8" t-if="widget.activeAttachment.fileType == 'application/pdf'" role="img" aria-label="PDF file" title="PDF file"/>
<i class="fas fa-video mr8" t-if="widget.activeAttachment.fileType == 'video'" role="img" aria-label="Video" title="Video"/>
<i class="fa fa-picture-o mr8" t-if="widget.activeAttachment.fileType == 'image'" role="img" aria-label="Image" title="Image"/>
<i class="fa fa-file-text mr8" t-if="widget.activeAttachment.fileType == 'application/pdf'" role="img" aria-label="PDF file" title="PDF file"/>
<i class="fa fa-video-camera mr8" t-if="widget.activeAttachment.fileType == 'video'" role="img" aria-label="Video" title="Video"/>
<t t-esc="widget.activeAttachment.name"/>
<a role="button" href="#" class="o_download_btn ml8 small" data-toggle="tooltip" data-placement="right" title="Download"><i class="fa fa-fw fa-download" role="img" aria-label="Download"/></a>
</span>
@@ -55,7 +55,7 @@
<div class="o_viewer_img_wrapper">
<div class="o_viewer_zoomer">
<div t-if="widget.activeAttachment.fileType == 'image'" class="o_loading_img text-center">
<i class="fas fa-circle-notch fa-spin text-gray-light fa-3x fa-fw" role="img" aria-label="Loading" title="Loading"/>
<i class="fa fa-circle-o-notch fa-spin text-gray-light fa-3x fa-fw" role="img" aria-label="Loading" title="Loading"/>
</div>
<img t-if="widget.activeAttachment.fileType === 'image'" class="o_viewer_img" t-attf-src="/web/image/#{widget.activeAttachment.id}?unique=1&amp;signature=#{widget.activeAttachment.checksum}&amp;model=#{model}" alt="Viewer"/>
<iframe t-if="widget.activeAttachment.fileType == 'application/pdf'" class="mt32 o_viewer_pdf" t-attf-src="/web/static/lib/pdfjs/web/viewer.html?file=/web/content/#{widget.activeAttachment.id}?model%3D#{model}" />
@@ -73,7 +73,7 @@
<a role="button" href="#" class="o_viewer_toolbar_btn btn o_zoom_out disabled" data-toggle="tooltip" title="Zoom Out"><i class="fa fa-fw fa-minus" role="img" aria-label="Zoom Out"/></a>
</div>
<div class="btn-group" role="group">
<a role="button" href="#" class="o_viewer_toolbar_btn btn o_rotate" data-toggle="tooltip" title="Rotate"><i class="fas fa-fw fa-redo" role="img" aria-label="Rotate"/></a>
<a role="button" href="#" class="o_viewer_toolbar_btn btn o_rotate" data-toggle="tooltip" title="Rotate"><i class="fa fa-fw fa-repeat" role="img" aria-label="Rotate"/></a>
</div>
<div class="btn-group" role="group">
<a role="button" href="#" class="o_viewer_toolbar_btn btn o_print_btn" data-toggle="tooltip" title="Print"><i class="fa fa-fw fa-print" role="img" aria-label="Print"/></a>
@@ -292,7 +292,7 @@
<t t-esc="message.getDate().format('hh:mm')"/>
</span>
<i t-if="!displayAuthorMessages[message.getID()] and options.displayStars and message.getType() !== 'notification'"
t-att-class="'o_thread_message_star o_thread_icon ' + (message.isStarred() ? 'fas fa-star' : 'far fa-star')"
t-att-class="'fa o_thread_message_star o_thread_icon ' + (message.isStarred() ? 'fa-star' : 'fa-star-o')"
t-att-data-message-id="message.getID()" title="Mark as Todo" role="img" aria-label="Mark as todo"/>
<t t-if="!displayAuthorMessages[message.getID()] and thread.hasSeenFeature()" t-call="mail.widget.Thread.Message.SeenIcon"/>
</div>
@@ -330,12 +330,12 @@
<t t-if="message.getCustomerEmailStatus() === 'sent' or message.getCustomerEmailStatus() === 'ready'">
<t t-set="fatype" t-value="'-o'"/>
</t>
<i t-att-class="'o_thread_tooltip o_thread_message_email o_thread_message_email_' + message.getCustomerEmailStatus() + ' far fa-envelope'" t-att-data-message-id="message.getID()"/>
<i t-att-class="'o_thread_tooltip o_thread_message_email o_thread_message_email_' + message.getCustomerEmailStatus() + ' fa fa-envelope'" t-att-data-message-id="message.getID()"/>
</span>
<span t-attf-class="o_thread_icons">
<t t-if="thread.hasSeenFeature()" t-call="mail.widget.Thread.Message.SeenIcon"/>
<i t-if="options.displayStars and !message.isSystemNotification() and !message.needsModeration()"
t-att-class="'o_thread_icon o_thread_message_star ' + (message.isStarred() ? 'fas fa-star' : 'far fa-star')"
t-att-class="'fa fa-lg o_thread_icon o_thread_message_star ' + (message.isStarred() ? 'fa-star' : 'fa-star-o')"
t-att-data-message-id="message.getID()" title="Mark as Todo" role="img" aria-label="Mark as Todo"/>
<i t-if="message.isLinkedToDocumentThread() and options.displayReplyIcons"
class="fa fa-reply o_thread_icon o_thread_message_reply"
@@ -457,8 +457,8 @@
<i t-if="customerEmailData[2] === 'sent'" class='fa fa-check' title="Sent" role="img" aria-label="Sent"/>
<i t-if="customerEmailData[2] === 'bounce'" class='fa fa-exclamation text-danger' title="Bounced" role="img" aria-label="Bounced"/>
<i t-if="customerEmailData[2] === 'exception'" class='fa fa-exclamation text-danger' title="Error" role="img" aria-label="Error"/>
<i t-if="customerEmailData[2] === 'ready'" class='far fa-paper-plane' title="Ready" role="img" aria-label="Ready"/>
<i t-if="customerEmailData[2] === 'canceled'" class='far fa-trash-alt' title="Canceled" role="img" aria-label="Canceled"/>
<i t-if="customerEmailData[2] === 'ready'" class='fa fa-send-o' title="Ready" role="img" aria-label="Ready"/>
<i t-if="customerEmailData[2] === 'canceled'" class='fa fa-trash-o' title="Canceled" role="img" aria-label="Canceled"/>
</span>
<span t-esc="customerEmailData[1]"/>
</div>
@@ -509,7 +509,7 @@
<t t-esc="value.changed_field"/>:
<t t-if="value.old_value">
<span> <t t-esc="value.old_value || ((value.field_type !== 'boolean') and '')"/> </span>
<span t-if="value.old_value !== value.new_value" class="fas fa-long-arrow-alt-right" role="img" aria-label="Changed" title="Changed"/>
<span t-if="value.old_value !== value.new_value" class="fa fa-long-arrow-right" role="img" aria-label="Changed" title="Changed"/>
</t>
<span t-if="value.old_value !== value.new_value">
<t t-esc="value.new_value || ((value.field_type !== 'boolean') and '')"/>
+1 -1
View File
@@ -25,7 +25,7 @@
-->
<t t-extend="mail.AbstractThreadWindow.HeaderContent">
<t t-jquery=".o_thread_window_buttons" t-operation="prepend">
<a href="#" class="o_thread_window_expand fa fa-expand-arrows-alt" t-att-title="expandTitle" t-att-aria-label="expandTitle"/>
<a href="#" class="o_thread_window_expand fa fa-expand" t-att-title="expandTitle" t-att-aria-label="expandTitle"/>
</t>
</t>
@@ -56,17 +56,17 @@
<li t-attf-class="list-group-item o_log_activity d-flex #{log_last ? 'border-bottom' : ''}" role="menuitem">
<div t-attf-class="o_activity_title o_log_activity #{edit_class}" t-att-data-activity-id="log.id">
<div t-attf-class="o_activity_title_entry {{! log.force_next ? 'align-items-center' : 'mb-1'}}">
<span t-attf-class="#{log.icon ? log.icon : 'far fa-bell' } fa-fw mr-2 text-center text-muted" role="img" aria-label="Log" title="Log"/>
<span t-attf-class="fa #{log.icon ? log.icon : 'fa-bell' } fa-fw mr-2 text-center text-muted" role="img" aria-label="Log" title="Log"/>
<strong class="text-dark"><t t-esc="log.title_action or log.activity_type_id[1]"/></strong>
<button t-if="! log.force_next and log.can_write" class="btn btn-sm btn-link py-0 o_edit_button"><i class="fas fa-pencil-alt"/></button>
<button t-if="! log.force_next and log.can_write" class="btn btn-sm btn-link py-0 o_edit_button"><i class="fa fa-pencil"/></button>
</div>
<div class="o_activity_title_entry mt-1" t-if="log.state != 'today'">
<span class="far fa-clock fa-fw mr-2 text-center text-muted" role="img" aria-label="Deadline" title="Deadline"/>
<span class="fa fa-clock-o fa-fw mr-2 text-center text-muted" role="img" aria-label="Deadline" title="Deadline"/>
<small t-att-title="log.date_deadline"><t t-esc="log.label_delay" /></small>
</div>
<t t-if="log.mail_template_ids">
<div t-foreach="log.mail_template_ids" t-as="mail_template" class="o_activity_title_entry mt-2" t-att-data-activity-id="log.id" t-att-data-force-next-activity="log.force_next" t-att-data-previous-activity-type-id="log.activity_type_id[0]">
<i class="far fa-envelope fa-fw mr-2 text-center text-muted" aria-label="Mail" title="Mail" role="img"></i>
<i class="fa fa-envelope-o fa-fw mr-2 text-center text-muted" aria-label="Mail" title="Mail" role="img"></i>
<small>
<div class="mb-1" t-esc="mail_template.name + ':'"/>
<a class="o_activity_template_preview" t-att-data-template-id="mail_template.id" href="#"><b>Preview</b></a>
@@ -76,7 +76,7 @@
</div>
</t>
<div t-if="log.user_id[0] != session.uid and log.mail_template_ids" class="o_activity_title_entry">
<span class="fas fa-user fa-fw mr-2 text-center text-muted" role="img" aria-label="User" title="User"/>
<span class="fa fa-user fa-fw mr-2 text-center text-muted" role="img" aria-label="User" title="User"/>
<span><t t-esc="log.user_id[1]" /></span>
</div>
</div>
@@ -101,7 +101,7 @@
t-att-data-previous-activity-type-id="log.activity_type_id[0]"
t-att-data-activity-id="log.id"
t-attf-href="#o_mark_done_form{{log.id}}"
class="o_mark_as_done o_activity_link o_activity_link_kanban fas fa-check-circle"
class="o_mark_as_done o_activity_link o_activity_link_kanban fa fa-check-circle"
data-toggle="collapse" title="Mark as done" role="img" aria-label="Mark as done"/>
</t>
</div>
+11 -11
View File
@@ -126,7 +126,7 @@ QUnit.module('Chatter', {
{ id: 1, name: "Type 1" },
{ id: 2, name: "Type 2" },
{ id: 3, name: "Type 3", category: 'upload_file' },
{ id: 4, name: "Exception", decoration_type: "warning", icon: "fa-exclamation-triangle"}
{ id: 4, name: "Exception", decoration_type: "warning", icon: "fa-warning"}
],
},
'mail.message': {
@@ -754,7 +754,7 @@ QUnit.test('kanban activity widget with an activity', async function (assert) {
this.data.partner.records[0].activity_ids = [1, 2];
this.data.partner.records[0].activity_state = 'today';
this.data.partner.records[0].activity_exception_decoration = 'warning';
this.data.partner.records[0].activity_exception_icon = 'fa-exclamation-triangle';
this.data.partner.records[0].activity_exception_icon = 'fa-warning';
this.data['mail.activity'].records = [{
id: 1,
display_name: "An activity",
@@ -805,8 +805,8 @@ QUnit.test('kanban activity widget with an activity', async function (assert) {
"activity widget should have been rendered correctly");
assert.strictEqual(rpcCount, 1, '1 RPC (search_read) should have been done');
// Check exception activity icon fa-exclamation-triangle
assert.hasClass($record.find('.o_activity_btn span'), "fa-exclamation-triangle", "should display correct exception activity icon");
// Check exception activity icon fa-warning
assert.hasClass($record.find('.o_activity_btn span'), "fa-warning", "should display correct exception activity icon");
// click on the activity button
await testUtils.dom.click($record.find('.o_activity_btn'));
assert.strictEqual(rpcCount, 2, 'a read should have been done to fetch the activity details');
@@ -829,7 +829,7 @@ QUnit.test('kanban activity widget with an activity', async function (assert) {
$record = kanban.$('.o_kanban_record').first(); // the record widget has been reset
// check activity icon replaced with fa-clock
assert.hasClass($record.find('.o_activity_btn span'), "fa-clock", "should display correct activity icon");
assert.hasClass($record.find('.o_activity_btn span'), "fa-clock-o", "should display correct activity icon");
// mark activity as done
await testUtils.dom.click($record.find('.o_mark_as_done'));
@@ -916,7 +916,7 @@ QUnit.test('list activity exception widget with activity', async function (asser
message_ids: [],
activity_ids: [2],
activity_exception_decoration: 'warning',
activity_exception_icon: 'fas fa-exclamation-triangle',
activity_exception_icon: 'fa-warning',
});
this.data['mail.activity'].records = [{
id: 1,
@@ -949,9 +949,9 @@ QUnit.test('list activity exception widget with activity', async function (asser
});
assert.containsN(list, '.o_data_row', 2, "should have two records");
assert.doesNotHaveClass(list.$('.o_data_row:eq(0) .o_activity_exception_cell div'), 'fa-exclamation-triangle',
assert.doesNotHaveClass(list.$('.o_data_row:eq(0) .o_activity_exception_cell div'), 'fa-warning',
"there is no any exception activity on record");
assert.hasClass(list.$('.o_data_row:eq(1) .o_activity_exception_cell div'), 'fa-exclamation-triangle',
assert.hasClass(list.$('.o_data_row:eq(1) .o_activity_exception_cell div'), 'fa-warning',
"there is an exception on a record");
list.destroy();
@@ -1080,7 +1080,7 @@ QUnit.test('chatter: post, receive and star messages', async function (assert) {
"the message's author should be correct");
// star message 2
assert.ok(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star.far.fa-star').length,
assert.ok(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star.fa-star-o').length,
"message 2 should not be starred");
await testUtils.dom.click(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star'));
assert.ok(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star.fa-star').length,
@@ -1088,7 +1088,7 @@ QUnit.test('chatter: post, receive and star messages', async function (assert) {
// unstar message 2
await testUtils.dom.click(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star'));
assert.ok(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star.far.fa-star').length,
assert.ok(form.$('.o_thread_message[data-message-id=2] .o_thread_message_star.fa-star-o').length,
"message 2 should not be starred");
// very basic test of mention
@@ -2858,7 +2858,7 @@ QUnit.test('chatter: do not duplicate messages on (un)star message', async funct
assert.containsOnce(form, '.o_thread_message',
"there should be a single message in the chatter");
assert.ok(form.$('.o_thread_message .o_thread_message_star.far.fa-star').length,
assert.ok(form.$('.o_thread_message .o_thread_message_star.fa-star-o').length,
"message should not be starred");
// star message
@@ -53,7 +53,7 @@ QUnit.module('ActivityMenu', {
overdue_count: 1,
total_count: 3,
actions : [{
icon: "fa-clock",
icon: "fa-clock-o",
name: "summary",
}],
},
@@ -66,7 +66,7 @@ QUnit.module('ActivityMenu', {
overdue_count: 1,
total_count: 3,
actions: [{
icon: "fa-clock",
icon: "fa-clock-o",
name: "summary",
action_xmlid: "mail.mail_activity_type_view_tree",
}],
@@ -178,11 +178,11 @@ QUnit.test('activity menu widget: activity view icon', async function (assert) {
var $second = activityMenu.$('.o_mail_activity_action').eq(1);
assert.strictEqual($first.data('model_name'), "Issue",
"first activity action should link to 'Issue'");
assert.hasClass($first,'fa-clock', "should display the activity action icon");
assert.hasClass($first,'fa-clock-o', "should display the activity action icon");
assert.strictEqual($second.data('model_name'), "Note",
"Second activity action should link to 'Note'");
assert.hasClass($second,'fa-clock', "should display the activity action icon");
assert.hasClass($second,'fa-clock-o', "should display the activity action icon");
testUtils.mock.intercept(activityMenu, 'do_action', function (ev) {
if (ev.data.action.name) {
+1 -1
View File
@@ -113,7 +113,7 @@
<field name="description" placeholder="Topics discussed in this group..."/>
</group>
<group name="group_alias" attrs="{'invisible': [('alias_domain', '=', False)]}">
<label for="alias_id" string=" " class="far fa-envelope" style="min-width: 20px;" aria-label="Email" title="Email" role="img"/>
<label for="alias_id" string=" " class="fa fa-envelope-o" style="min-width: 20px;" aria-label="Email" title="Email" role="img"/>
<div name="alias_def">
<field name="alias_id" class="oe_read_only oe_inline"
string="Email Alias" required="0"/>
+1 -1
View File
@@ -78,7 +78,7 @@
<field name="state" invisible="1"/>
<field name="message_type" invisible="1"/>
<button name="send" string="Send Now" type="object" icon="fa-paper-plane text-success" states='outgoing'/>
<button name="mark_outgoing" string="Retry" type="object" icon="fa-redo text-success" states='exception,cancel'/>
<button name="mark_outgoing" string="Retry" type="object" icon="fa-repeat text-success" states='exception,cancel'/>
<button name="cancel" string="Cancel Email" type="object" icon="fa-times-circle text-danger" states='outgoing'/>
</tree>
</field>
+1 -1
View File
@@ -175,7 +175,7 @@
</div>
<div class="o_kanban_record_body">
<t t-if="record.type.raw_value == 'url'">
<span class="o_document_url"><i class="fa fa-globe-americas" aria-label="Document url"/> <field name="url" widget="url"/></span>
<span class="o_document_url"><i class="fa fa-globe" aria-label="Document url"/> <field name="url" widget="url"/></span>
</t>
<samp t-else="" class="text-muted"> </samp>
</div>
+1 -1
View File
@@ -2,7 +2,7 @@
<templates xml:space="preserve">
<t t-extend="mail.UserStatus">
<t t-jquery="i:last" t-operation="after">
<i t-if="status == 'bot'" class="o_mail_user_status o_user_online fas fa-heart" title="Bot" role="img" aria-label="User is a bot"/>
<i t-if="status == 'bot'" class="o_mail_user_status o_user_online fa fa-heart" title="Bot" role="img" aria-label="User is a bot"/>
</t>
</t>

Some files were not shown because too many files have changed in this diff Show More