[REF] *: remove owl="1" from the templates
As all the templates are now imported in the owl app, there is not need anymore to specify the owl="1" attribute in the templates. Part of task~3443861 Part-of: odoo/odoo#130467
This commit is contained in:
committed by
Samuel Degueldre
parent
4b0a951af6
commit
e338487028
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="account.AccountMoveFormNotebook" t-inherit="web.Notebook" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.AccountMoveFormNotebook" t-inherit="web.Notebook" t-inherit-mode="primary">
|
||||
<xpath expr="//a[@class='nav-link']" position="attributes">
|
||||
<attribute name="t-on-click.prevent">() => this.changeTabTo(navItem[0])</attribute>
|
||||
</xpath>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="account.AccountPaymentField" owl="1">
|
||||
<t t-name="account.AccountPaymentField">
|
||||
<div>
|
||||
<t t-if="outstanding">
|
||||
<div>
|
||||
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="account.AccountPaymentPopOver" owl="1">
|
||||
<t t-name="account.AccountPaymentPopOver">
|
||||
<div class="account_payment_popover">
|
||||
<h3 t-if="props.title" class="o_popover_header"><t t-out="props.title"/></h3>
|
||||
<div class="px-2">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="account.ResequenceRenderer" owl="1" >
|
||||
<t t-name="account.ResequenceRenderer" >
|
||||
<table t-if="data.changeLines.length" class="table table-sm">
|
||||
<thead><tr>
|
||||
<th>Date</th>
|
||||
@@ -16,7 +16,7 @@
|
||||
</table>
|
||||
</t>
|
||||
|
||||
<t t-name="account.ResequenceChangeLine" owl="1">
|
||||
<t t-name="account.ResequenceChangeLine">
|
||||
<tr>
|
||||
<td t-out="props.changeLine.date"/>
|
||||
<td t-out="props.changeLine.current_name"/>
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
<templates>
|
||||
|
||||
<t t-name="account.AccountTypeSelection" t-inherit="web.SelectionField" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.AccountTypeSelection" t-inherit="web.SelectionField" t-inherit-mode="primary">
|
||||
<xpath expr="//t[@t-foreach='options']" position="replace">
|
||||
<t t-foreach="hierarchyOptions" t-as="group" t-key="group_index">
|
||||
<optgroup t-att-label="group.name">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates>
|
||||
<t t-name="account.DropZone" owl="1">
|
||||
<t t-name="account.DropZone">
|
||||
<div t-if="props.visible"
|
||||
t-attf-class="o_drop_area"
|
||||
t-on-dragover.prevent="()=>{}"
|
||||
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="account.AccountFileUploader" owl="1">
|
||||
<t t-name="account.AccountFileUploader">
|
||||
<div t-att-class="props.record and props.record.data ? 'oe_kanban_color_' + props.record.data.color : ''">
|
||||
<FileUploader
|
||||
acceptedFileExtensions="props.acceptedFileExtensions"
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="account.ListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.ListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//div[@t-ref='root']" position="before">
|
||||
<AccountDropZone
|
||||
visible="state.dropzoneVisible"
|
||||
@@ -39,7 +39,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="account.KanbanRenderer" t-inherit="web.KanbanRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.KanbanRenderer" t-inherit="web.KanbanRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//div[@t-ref='root']" position="before">
|
||||
<AccountDropZone
|
||||
visible="state.dropzoneVisible"
|
||||
@@ -50,19 +50,19 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="account.ListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.ListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">
|
||||
<t t-call="account.AccountViewUploadButton"/>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="account.KanbanView.Buttons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.KanbanView.Buttons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_cp_buttons')]" position="inside">
|
||||
<t t-call="account.AccountViewUploadButton"/>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="account.AccountViewUploadButton" owl="1">
|
||||
<t t-name="account.AccountViewUploadButton">
|
||||
<!-- No record is available so rely on the action context to contain the default_move_type -->
|
||||
<AccountFileUploader>
|
||||
<t t-set-slot="toggler">
|
||||
@@ -73,7 +73,7 @@
|
||||
</AccountFileUploader>
|
||||
</t>
|
||||
|
||||
<t t-name="account.DashboardKanbanRecord" owl="1">
|
||||
<t t-name="account.DashboardKanbanRecord">
|
||||
<div
|
||||
role="article"
|
||||
t-att-class="getRecordClasses()"
|
||||
@@ -94,7 +94,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="account.JournalUploadLink" owl="1">
|
||||
<t t-name="account.JournalUploadLink">
|
||||
<div t-att-class="props.btnClass" groups="account.group_account_invoice">
|
||||
<a href="#" t-out="props.linkText"/>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
<t t-name="account.GroupedListTemplate" owl="1">
|
||||
<t t-name="account.GroupedListTemplate">
|
||||
<table t-if="data.groups_vals.length" class="table table-sm o_list_table table table-sm table-hover table-striped o_list_table_grouped">
|
||||
<thead><tr>
|
||||
<t t-foreach="data.options.columns" t-as="col" t-key="col_index">
|
||||
@@ -16,7 +16,7 @@
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<tbody t-name="account.GroupedItemsTemplate" owl="1">
|
||||
<tbody t-name="account.GroupedItemsTemplate">
|
||||
<tr style="background-color: #dee2e6;">
|
||||
<td t-attf-colspan="{{props.options.columns.length}}">
|
||||
<t t-out="props.group_vals.group_name"/>
|
||||
@@ -27,7 +27,7 @@
|
||||
</t>
|
||||
</tbody>
|
||||
|
||||
<tr t-name="account.GroupedItemTemplate" owl="1">
|
||||
<tr t-name="account.GroupedItemTemplate">
|
||||
<t t-foreach="props.options.columns" t-as="col" t-key="col_index">
|
||||
<td t-out="props.item_vals[col['field']]" t-attf-class="{{col['class']}}"/>
|
||||
</t>
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
<templates>
|
||||
|
||||
<t t-name="account.JournalDashboardActivity" owl="1">
|
||||
<t t-name="account.JournalDashboardActivity">
|
||||
<t t-foreach="info.activities" t-as="activity" t-key="activity_index">
|
||||
<div class="row">
|
||||
<div class="col-8 o_mail_activity">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<t t-name="account.mail_attachment_file"
|
||||
t-inherit="web.Many2ManyBinaryField.attachment_preview"
|
||||
t-inherit-mode="primary"
|
||||
owl="1">
|
||||
>
|
||||
<xpath expr="//div[hasclass('o_attachment_wrap')]" position="after">
|
||||
<!-- lite display for placeholder files -->
|
||||
<div class="o_attachment_wrap" t-if="file.placeholder">
|
||||
@@ -25,7 +25,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="account.mail_attachments" owl="1">
|
||||
<t t-name="account.mail_attachments">
|
||||
<t t-set="data" t-value="getValue()"/>
|
||||
|
||||
<div t-attf-class="oe_fileupload" aria-atomic="true">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="account.OpenMoveWidget" owl="1">
|
||||
<t t-name="account.OpenMoveWidget">
|
||||
<a href="#" t-out="props.record.data[props.name]" t-on-click.prevent.stop="(ev) => this.openMove()"/>
|
||||
</t>
|
||||
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
<t t-name="account.sectionAndNoteListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="account.sectionAndNoteListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//table" position="attributes">
|
||||
<attribute name="class" position="add" separator=" ">o_section_and_note_list_view</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="account.SectionAndNoteText" owl="1">
|
||||
<t t-name="account.SectionAndNoteText">
|
||||
<t t-component="componentToUse" t-props="props"/>
|
||||
</t>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<template>
|
||||
<div t-name='account.res_config_dev_tool' t-inherit="web.res_config_dev_tool" t-inherit-mode="extension" owl="1" primary="1">
|
||||
<div t-name='account.res_config_dev_tool' t-inherit="web.res_config_dev_tool" t-inherit-mode="extension" primary="1">
|
||||
<xpath expr="//Setting" position="inside">
|
||||
<a t-if="isDebug" class="d-block" t-on-click.prevent="onClickDownloadXSD" href="#">Download XSD files (XML validation)</a>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="account.SystrayItem" owl="1">
|
||||
<t t-name="account.SystrayItem">
|
||||
<div t-if="isQuickEditModeEnabled">
|
||||
<a class="d-none d-md-block" t-esc="currentCompany.name"/>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="account.TaxGroupComponent" owl="1">
|
||||
<t t-name="account.TaxGroupComponent">
|
||||
<tr>
|
||||
<td class="o_td_label">
|
||||
<label class="o_form_label o_tax_total_label" t-out="props.taxGroup.tax_group_name"/>
|
||||
@@ -39,7 +39,7 @@
|
||||
</tr>
|
||||
</t>
|
||||
|
||||
<t t-name="account.TaxTotalsField" owl="1">
|
||||
<t t-name="account.TaxTotalsField">
|
||||
<table t-if="totals" class="oe_right">
|
||||
<tbody>
|
||||
<t t-foreach="totals.subtotals" t-as="subtotal" t-key="subtotal['name']">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="account.LegacyTaxGroupComponent" owl="1">
|
||||
<t t-name="account.LegacyTaxGroupComponent">
|
||||
<tr>
|
||||
<td class="o_td_label">
|
||||
<label class="o_form_label o_tax_total_label" t-out="props.taxGroup.tax_group_name"/>
|
||||
@@ -38,7 +38,7 @@
|
||||
</tr>
|
||||
</t>
|
||||
|
||||
<div t-name="account.LegacyTaxTotalsField" owl="1">
|
||||
<div t-name="account.LegacyTaxTotalsField">
|
||||
<table t-if="totals.value" class="oe_right">
|
||||
<tbody>
|
||||
<t t-foreach="totals.value.subtotals" t-as="subtotal" t-key="subtotal['name']">
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates>
|
||||
<t t-name="account_peppol.ActionButtons" owl="1">
|
||||
<t t-name="account_peppol.ActionButtons">
|
||||
<xpath expr="//div[hasclass('action_buttons')]" position="inside">
|
||||
<div class="d-flex" colspan="3">
|
||||
<div class="mt-3">
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="account_peppol.VerificationCodeWidget" owl="1">
|
||||
<t t-name="account_peppol.VerificationCodeWidget">
|
||||
<div class="row w-50 mt-0 pt-0" t-on-focusout="_save">
|
||||
<t t-foreach="[...Array(6).keys()]" t-as="i" t-key="i">
|
||||
<input class="verification_code col border border-2 rounded m-1 p-0 text-center"
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="analytic.AnalyticDistribution" owl="1">
|
||||
<t t-name="analytic.AnalyticDistribution">
|
||||
<div class="o_field_tags d-inline-flex flex-wrap mw-100" t-att-class="{'o_tags_input o_input': !props.readonly}" t-ref="analyticDistribution" t-on-keydown="onWidgetKeydown">
|
||||
<TagsList tags="this.tags"/>
|
||||
<div t-if="!props.readonly" class="o_input_dropdown d-inline-flex w-100" tabindex="0" t-ref="mainElement" t-on-focus="onMainElementFocus" t-on-click="onMainElementFocus">
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="analytic.AnalyticDistributionPopup" owl="1">
|
||||
<t t-name="analytic.AnalyticDistributionPopup">
|
||||
<div class="analytic_distribution_popup o-dropdown-menu show rounded py-0" t-if="state.showDropdown" t-ref="analyticDropdown">
|
||||
<div class="popover-header sticky-top">
|
||||
<div class="d-flex">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="auth_password_policy.PasswordField" owl="1">
|
||||
<t t-name="auth_password_policy.PasswordField">
|
||||
<span t-if="props.readonly" t-out="props.record.data[props.name] and '*'.repeat(props.record.data[props.name].length)"/>
|
||||
<t t-else="">
|
||||
<input class="o_input o_field_password" type="password"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="barcodes.BarcodeScanner" owl="1">
|
||||
<t t-name="barcodes.BarcodeScanner">
|
||||
<div class="o_barcode_mobile_container">
|
||||
<a t-if="isBarcodeScannerSupported" role="button" class="btn btn-primary o_mobile_barcode" t-on-click="openMobileScanner">
|
||||
<i class="fa fa-camera fa-2x o_barcode_mobile_camera"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="barcodes.FloatScannableField" t-inherit="web.FloatField" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="barcodes.FloatScannableField" t-inherit="web.FloatField" t-inherit-mode="primary">
|
||||
<xpath expr="//input" position="attributes">
|
||||
<attribute name="t-on-barcode_scanned">onBarcodeScanned</attribute>
|
||||
<attribute name="t-att-data-enable-barcode">true</attribute>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates>
|
||||
<t t-name="base_automation.ErrorDialog" t-inherit="web.ErrorDialog" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="base_automation.ErrorDialog" t-inherit="web.ErrorDialog" t-inherit-mode="primary">
|
||||
<xpath expr="//div[@role='alert']" position="inside">
|
||||
<p>
|
||||
The error occurred during the execution of the automated action
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="base_iban.iban" t-inherit="web.CharField" owl="1">
|
||||
<t t-name="base_iban.iban" t-inherit="web.CharField">
|
||||
<xpath expr="//input" position="attributes">
|
||||
<attribute name="class" add="o_iban_input_with_validator" separator=" "/>
|
||||
<attribute name="t-on-input">validateIbanDebounced</attribute>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="ImportAction" owl="1">
|
||||
<t t-name="ImportAction">
|
||||
<div class="h-100 d-flex flex-column">
|
||||
<Layout className="'o_import_action d-flex h-100 overflow-auto bg-white'" display="display">
|
||||
<t t-set-slot="control-panel-create-button">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="base_import.BlockUI" owl="1">
|
||||
<t t-name="base_import.BlockUI">
|
||||
<div class="o_blockUI fixed-top d-flex justify-content-center align-items-center flex-column vh-100 bg-black-50">
|
||||
<div class="o_spinner mb-4">
|
||||
<img src="/web/static/img/spin.svg" alt="Loading..."/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="ImportDataColumnError" owl="1">
|
||||
<t t-name="ImportDataColumnError">
|
||||
<div class="o_import_report alert alert-danger mb-2">
|
||||
<t t-if="props.errors.length > 1">
|
||||
<p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="ImportDataContent" owl="1">
|
||||
<t t-name="ImportDataContent">
|
||||
<div class="o_import_data_content flex-grow-1 overflow-auto border-start">
|
||||
<div t-if="props.previewError" class="border-bottom p-2 bg-light">
|
||||
<div class="alert alert-danger mb-0">
|
||||
@@ -100,7 +100,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="ImportDataContent.tooltip" owl="1">
|
||||
<t t-name="ImportDataContent.tooltip">
|
||||
<h5 class="border-bottom p-2">Preview</h5>
|
||||
<div class="p-2 pt-0 pe-3">
|
||||
<p
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="ImportDataOptions" owl="1">
|
||||
<t t-name="ImportDataOptions">
|
||||
<div t-if="isVisible and state.options.length > 1" t-attf-class="o_import_dropdown o_import_field_#{props.fieldInfo.type} alert alert-danger mb-2">
|
||||
<b>When a value cannot be matched:</b>
|
||||
<select class="o_import_create_option form-select w-auto bg-light" t-att-type="props.fieldInfo.type" t-on-change="onSelectionChanged">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="ImportDataProgress" owl="1">
|
||||
<t t-name="ImportDataProgress">
|
||||
<div t-if="props.importProgress.step > 1" class="o_import_data_progress d-flex align-items-center flex-column">
|
||||
<div class="o_import_progress_dialog_batch text-center">
|
||||
Batch <span class="o_import_progress_dialog_batch_count"><t t-esc="props.importProgress.step"/></span> out of <span t-esc="props.totalSteps"/>...
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="ImportDataSidepanel" owl="1">
|
||||
<t t-name="ImportDataSidepanel">
|
||||
<div class="o_import_data_sidepanel p-3 overflow-auto">
|
||||
<div class="pb-4">
|
||||
<h4>Imported file</h4>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="base_import.ImportRecords" owl="1">
|
||||
<t t-name="base_import.ImportRecords">
|
||||
<DropdownItem class="'o_import_menu'" onSelected.bind="importRecords">
|
||||
<i class="fa fa-fw fa-download me-1"/>Import records
|
||||
</DropdownItem>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="board.AddToBoard" owl="1">
|
||||
<t t-name="board.AddToBoard">
|
||||
<Dropdown class="'o_add_to_board'">
|
||||
<t t-set-slot="toggler">
|
||||
<img src="/board/static/description/icon.svg" alt="Dashboard Icon" class="o_cp_action_app_icon oi-large me-1"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="board.BoardAction" owl="1">
|
||||
<t t-name="board.BoardAction">
|
||||
<t t-if="isValid">
|
||||
<View t-props="viewProps"/>
|
||||
</t>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="board.BoardView" owl="1">
|
||||
<t t-name="board.BoardView">
|
||||
<div class="o_dashboard d-flex flex-column">
|
||||
<t t-if="board.isEmpty">
|
||||
<t t-call="board.NoContent"/>
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="board.Content" owl="1">
|
||||
<t t-name="board.Content">
|
||||
<div t-if="!env.isSmall" class="o-dashboard-header d-flex justify-content-end">
|
||||
<Dropdown togglerClass="'btn btn-secondary m-2 p-2'">
|
||||
<t t-set-slot="toggler">
|
||||
@@ -46,7 +46,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="board.NoContent" owl="1">
|
||||
<t t-name="board.NoContent">
|
||||
<div class="o_view_nocontent">
|
||||
<div class="o_nocontent_help">
|
||||
<p class="o_view_nocontent_neutral_face">
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="board.arch" owl="1">
|
||||
<t t-name="board.arch">
|
||||
<form t-att-string="title">
|
||||
<board t-att-style="layout">
|
||||
<column t-foreach="columns" t-as="column" t-key="column_index">
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="calendar.CalendarConnectProvider" owl="1">
|
||||
<t t-name="calendar.CalendarConnectProvider">
|
||||
<a role="button" title="Connect" class="o_calendar_activate_external_cal btn btn-primary"
|
||||
t-on-click="onConnect">Connect</a>
|
||||
</t>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="calendar.AskRecurrenceUpdatePolicyDialog" owl="1">
|
||||
<t t-name="calendar.AskRecurrenceUpdatePolicyDialog">
|
||||
<Dialog size="'sm'" title="env._t('Edit Recurrent event')">
|
||||
<t t-foreach="Object.entries(possibleValues)" t-as="value" t-key="value[0]">
|
||||
<t t-set="name" t-value="value[0]"/>
|
||||
@@ -10,7 +10,7 @@
|
||||
<label class="form-check-label o_form_label" t-att-for="name" t-esc="state.label"/>
|
||||
</div>
|
||||
</t>
|
||||
<t t-set-slot="footer" owl="1">
|
||||
<t t-set-slot="footer">
|
||||
<button class="btn btn-primary" t-on-click="confirm">
|
||||
Confirm
|
||||
</button>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="calendar.AttendeeCalendarController" t-inherit="web.CalendarController" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="calendar.AttendeeCalendarController" t-inherit="web.CalendarController" t-inherit-mode="primary">
|
||||
<DatePicker position="after">
|
||||
<div id="calendar_sync_wrapper" t-if="isSystemUser">
|
||||
<div id="calendar_sync_title" class="o_calendar_sync text-center">
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="calendar.AttendeeCalendarCommonPopover.body" t-inherit="web.CalendarCommonPopover.body" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="calendar.AttendeeCalendarCommonPopover.body" t-inherit="web.CalendarCommonPopover.body" t-inherit-mode="primary">
|
||||
<xpath expr="//ul[hasclass('o_cw_popover_fields_secondary')]" position="attributes">
|
||||
<attribute name="t-if">isEventDetailsVisible</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="calendar.AttendeeCalendarCommonPopover.footer" t-inherit="web.CalendarCommonPopover.footer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="calendar.AttendeeCalendarCommonPopover.footer" t-inherit="web.CalendarCommonPopover.footer" t-inherit-mode="primary">
|
||||
<xpath expr="//t[@t-if='isEventEditable']" position="after">
|
||||
<t t-elif="isEventViewable">
|
||||
<a href="#" class="btn btn-primary o_cw_popover_edit" t-on-click="onEditEvent">View</a>
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="calendar.AttendeeCalendarCommonRenderer.event" owl="1">
|
||||
<t t-name="calendar.AttendeeCalendarCommonRenderer.event">
|
||||
<div class="fc-content">
|
||||
<div t-attf-class="#{attendeeStatus != 'accepted' ? 'fw-normal' : ''} o_event_title me-2">
|
||||
<span t-if="isAlone" class="fa fa-exclamation-circle"/>
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="calendar.AttendeeCalendarYearPopover.body" t-inherit="web.CalendarYearPopover.body" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="calendar.AttendeeCalendarYearPopover.body" t-inherit="web.CalendarYearPopover.body" t-inherit-mode="primary">
|
||||
<!-- Since we duplicate the event this is needed to avoid duplicated key errors -->
|
||||
<xpath expr="//t[@t-foreach='recordGroup.records']" position="attributes">
|
||||
<attribute name="t-key">record._recordId</attribute>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="calendar.CalendarQuickCreateButtons" t-inherit="web.FormViewDialog.ToOne.buttons" owl="1">
|
||||
<t t-name="calendar.CalendarQuickCreateButtons" t-inherit="web.FormViewDialog.ToOne.buttons">
|
||||
<xpath expr="//button[contains(@class, 'o_form_button_cancel')]" position="after">
|
||||
<button class="btn btn-secondary" t-on-click="goToFullEvent">More Options</button>
|
||||
</xpath>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="calendar.Many2ManyAttendeeExpandable" t-inherit="web.Many2ManyTagsAvatarField" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="calendar.Many2ManyAttendeeExpandable" t-inherit="web.Many2ManyTagsAvatarField" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('many2many_tags_avatar_field_container')]" position="attributes">
|
||||
<attribute name="class" remove="mw-100" add="w-100" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="crm.ColumnProgress" t-inherit="web.ColumnProgress" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="crm.ColumnProgress" t-inherit="web.ColumnProgress" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_column_progress')]" position="attributes">
|
||||
<attribute name="class" remove="w-75" add="w-50" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="crm.CrmKanbanHeader" t-inherit="web.KanbanHeader" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="crm.CrmKanbanHeader" t-inherit="web.KanbanHeader" t-inherit-mode="primary">
|
||||
<xpath expr="//ColumnProgress" position="attributes">
|
||||
<attribute name="progressBarState">props.progressBarState</attribute>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="crm.ForecastKanbanRenderer" t-inherit="web.KanbanRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="crm.ForecastKanbanRenderer" t-inherit="web.KanbanRenderer" t-inherit-mode="primary">
|
||||
<KanbanColumnQuickCreate position="replace">
|
||||
<t t-if="isGroupedByForecastField()">
|
||||
<ForecastKanbanColumnQuickCreate
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="DataRecycle.buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="DataRecycle.buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">
|
||||
<t t-if="nbSelected">
|
||||
<button type="button" class="btn btn-primary o_data_recycle_validate_button" t-on-click="onValidateClick">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="event.IconSelectionField" owl="1">
|
||||
<t t-name="event.IconSelectionField">
|
||||
<i t-att-class="icon" t-att-data-tooltip="title"/>
|
||||
</t>
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="google_calendar.GoogleCalendarController" t-inherit="calendar.AttendeeCalendarController" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="google_calendar.GoogleCalendarController" t-inherit="calendar.AttendeeCalendarController" t-inherit-mode="extension">
|
||||
<xpath expr="//div[@id='calendar_sync_wrapper']" position="attributes">
|
||||
<attribute name="t-if">true</attribute>
|
||||
</xpath>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-inherit="mail.AvatarCardPopover" t-inherit-mode="extension" owl="1">
|
||||
<t t-inherit="mail.AvatarCardPopover" t-inherit-mode="extension">
|
||||
<xpath expr="//div[hasclass('o_avatar_card_buttons')]" position="inside">
|
||||
<button class="btn btn-secondary btn-sm" t-on-click.stop="onClickViewEmployee"> View profile </button>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr.avatarCardUserInfos" owl="1">
|
||||
<t t-name="hr.avatarCardUserInfos">
|
||||
<small class="text-muted" t-if="user.job_title" t-esc="user.job_title"/>
|
||||
<span class="text-muted" t-if="user.department_id" data-tooltip="Department" t-esc="user.department_id[1]"/>
|
||||
</t>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="hr.BackgroundImage" owl="1">
|
||||
<t t-name="hr.BackgroundImage">
|
||||
<img
|
||||
loading="lazy"
|
||||
t-att-data-tooltip-template="hasTooltip and tooltipAttributes.template"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="hr.DepartmentChart" owl="1">
|
||||
<t t-name="hr.DepartmentChart">
|
||||
<div class="o_hr_department_chart">
|
||||
<div class="o_horizontal_separator mb-3 text-uppercase fw-bolder small">Department Organization</div>
|
||||
<t t-if="state.hierarchy.self">
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="hr.DepartmentChart.Department" owl="1">
|
||||
<t t-name="hr.DepartmentChart.Department">
|
||||
<t t-if="dept">
|
||||
<div t-attf-class="#{hideTree?'':'o_treeEntry'} mb-0 ps-4">
|
||||
<div class="d-flex justify-content-between">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="hr.OpenChat" owl="1">
|
||||
<t t-name="hr.OpenChat">
|
||||
<a t-if="props.record.data.user_id"
|
||||
title="Chat"
|
||||
icon="fa-comments"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="hr_homeworking.RadioImageField" owl="1">
|
||||
<t t-name="hr_homeworking.RadioImageField">
|
||||
<div role="radiogroup" class="d-flex flex-wrap" t-att-aria-label="string">
|
||||
<t t-foreach="items" t-as="item" t-key="item[0]">
|
||||
<t t-if="['office', 'home', 'other'].includes(item[0])">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="hr.WorkPermitUploadField" t-inherit="web.BinaryField" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr.WorkPermitUploadField" t-inherit="web.BinaryField" t-inherit-mode="primary">
|
||||
<xpath expr="//label[hasclass('o_select_file_button')]" position="attributes">
|
||||
<attribute name="class" remove="btn-primary" add="btn-secondary" separator=" " />
|
||||
</xpath>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_attendance.GreetingMessage" owl="1">
|
||||
<t t-name="hr_attendance.GreetingMessage">
|
||||
<CardLayout>
|
||||
<t t-if="attendance">
|
||||
<t t-call="hr_attendance.UserBadge">
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_attendance.UserBadge" owl="1">
|
||||
<t t-name="hr_attendance.UserBadge">
|
||||
<div class="o_hr_attendance_user_badge o_home_menu_background d-flex align-items-end justify-content-center flex-grow-1 pt-5 pt-md-4 bg-odoo">
|
||||
<img class="img rounded-circle mb-n5" t-attf-src="/web/image?model=hr.employee.public&field=avatar_128&id=#{userId}" t-att-title="userName" height="80" t-att-alt="userName"/>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_attendance.KioskConfirm" owl="1">
|
||||
<t t-name="hr_attendance.KioskConfirm">
|
||||
<CardLayout>
|
||||
|
||||
<button class="o_hr_attendance_back_button btn btn-block btn-secondary btn-lg d-block d-md-none py-5">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_attendance.KioskMode" owl="1">
|
||||
<t t-name="hr_attendance.KioskMode">
|
||||
<CardLayout kioskModeClasses="'o_barcode_main pt-5'">
|
||||
<h2 class="mb-2"><small>Welcome to</small> <t t-esc="companyName"/></h2>
|
||||
<img t-att-src="companyImageUrl" alt="Company Logo" class="o_hr_attendance_kiosk_company_image align-self-center img img-fluid mb-3" width="200"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_attendance.MyAttendances" owl="1">
|
||||
<t t-name="hr_attendance.MyAttendances">
|
||||
<CardLayout>
|
||||
<t t-if="employee">
|
||||
<t t-call="hr_attendance.UserBadge">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_attendance.CardLayout" owl="1">
|
||||
<t t-name="hr_attendance.CardLayout">
|
||||
<div class="o_hr_attendance_kiosk_mode_container o_home_menu_background d-flex flex-column align-items-center justify-content-center h-100 text-center position-relative">
|
||||
<span class="o_hr_attendance_kiosk_backdrop position-absolute top-0 start-0 end-0 bottom-0 bg-black-25"/>
|
||||
<div t-attf-class="o_hr_attendance_kiosk_mode flex-grow-1 flex-md-grow-0 card pb-3 px-0 px-lg-5 {{props.kioskModeClasses}}">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_attendance.CheckInOut" owl="1">
|
||||
<t t-name="hr_attendance.CheckInOut">
|
||||
<div class="flex-grow-1">
|
||||
<button t-on-click="() => this.onClickSignInOut()" t-attf-class="o_hr_attendance_sign_in_out_icon btn btn-{{ props.checkedIn ? 'warning' : 'success' }} align-self-center px-5 py-3 mt-4 mb-2">
|
||||
<span class="align-middle fs-2 me-3 text-white" t-if="!props.checkedIn">Check IN</span>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="hr_contract.ContractWarningTooltip" owl="1">
|
||||
<t t-name="hr_contract.ContractWarningTooltip">
|
||||
<span
|
||||
class="fa fa-exclamation-triangle text-danger o_calendar_warning ms-3"
|
||||
data-tooltip-template="hr_contract.CalendarMismatch"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="hr_contract.CalendarMismatch" owl="1">
|
||||
<t t-name="hr_contract.CalendarMismatch">
|
||||
<div class="o-tooltip px-1 py-2">
|
||||
<p style="font-size: 12px;" class="text-danger"
|
||||
t-esc="text"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="hr_expense.AttachmentNumber" owl="1">
|
||||
<t t-name="hr_expense.AttachmentNumber">
|
||||
<div>
|
||||
<span class="fa fa-paperclip pe-1 align-middle"/>
|
||||
<t t-if="attachment_number > 0" class="text-center" t-out="attachment_number"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="hr_expense.ExpenseDashboard" owl="1">
|
||||
<t t-name="hr_expense.ExpenseDashboard">
|
||||
<div class="o_expense_container position-sticky start-0 d-flex o_form_statusbar">
|
||||
<t t-foreach="Object.entries(state.expenses)" t-as="expense" t-key="expense[0]">
|
||||
<t t-set="name" t-value="expense[0]"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="hr_expense.KanbanRenderer" t-inherit="web.KanbanRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_expense.KanbanRenderer" t-inherit="web.KanbanRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_kanban_renderer')]" position="attributes">
|
||||
<attribute name="class" add="position-relative h-auto" separator=" "/>
|
||||
</xpath>
|
||||
@@ -11,13 +11,13 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_expense.DashboardKanbanRenderer" t-inherit="hr_expense.KanbanRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_expense.DashboardKanbanRenderer" t-inherit="hr_expense.KanbanRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_kanban_renderer')]" position="before">
|
||||
<ExpenseDashboard/>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_expense.KanbanButtons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_expense.KanbanButtons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_cp_buttons')]" position="inside">
|
||||
<input type="file" name="ufile" class="d-none" t-ref="fileInput" multiple="1" accept="*" t-on-change="onChangeFileInput" />
|
||||
<button type="button" class="d-none d-md-inline o_button_upload_expense btn btn-primary" t-on-click.prevent="uploadDocument">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="hr_expense.ListButtons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_expense.ListButtons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
|
||||
|
||||
<!-- hr.expense and hr.expense.sheet -->
|
||||
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">
|
||||
@@ -27,7 +27,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_expense.ListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_expense.ListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_list_renderer')]" position="before">
|
||||
<div t-if="dragState.showDragZone" class="o_dropzone">
|
||||
<i class="fa fa-upload fa-10x"></i>
|
||||
@@ -39,7 +39,7 @@
|
||||
</t>
|
||||
|
||||
|
||||
<t t-name="hr_expense.DashboardListRenderer" t-inherit="hr_expense.ListRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_expense.DashboardListRenderer" t-inherit="hr_expense.ListRenderer" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_list_renderer')]" position="before">
|
||||
<ExpenseDashboard/>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="hr_fleet.HrFleetKanbanController.Buttons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_fleet.HrFleetKanbanController.Buttons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary">
|
||||
<xpath expr="//div[hasclass('o_cp_buttons')]" position="inside">
|
||||
<input type="file" multiple="true" t-ref="uploadFileInput" class="o_input_file o_hidden" t-on-change.stop="onInputChange"/>
|
||||
<button type="button" t-att-class="'d-none d-md-block btn' + (!env.isSmall ? ' btn-primary' : 'btn-secondary')" t-on-click="() => this.uploadFileInput.el.click()">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<div t-name="hr_holidays.TimeOffCard" owl="1" class="o_timeoff_card py-3 text-odoo">
|
||||
<div t-name="hr_holidays.TimeOffCard" class="o_timeoff_card py-3 text-odoo">
|
||||
<t t-set="data" t-value="props.data"/>
|
||||
<t t-set="duration" t-value="props.requires_allocation ? data.virtual_remaining_leaves : data.virtual_leaves_taken"/>
|
||||
<t t-set="show_popover" t-value="true"/>
|
||||
@@ -40,7 +40,7 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<t t-name="hr_holidays.TimeOffCardMobile" owl="1">
|
||||
<t t-name="hr_holidays.TimeOffCardMobile">
|
||||
<t t-set="data" t-value="props.data"/>
|
||||
<t t-set="duration" t-value="props.requires_allocation ? data.virtual_remaining_leaves : data.virtual_leaves_taken" />
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</span>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_holidays.TimeOffCardPopover" owl="1">
|
||||
<t t-name="hr_holidays.TimeOffCardPopover">
|
||||
<div class="o_timeoff_info">
|
||||
<Popover position="'right'" popoverClass="'o_timeoff_popover'">
|
||||
<span class="fa fa-question-circle-o"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<div t-name="hr_holidays.TimeOffDashboard" owl="1" class="o_timeoff_dashboard">
|
||||
<div t-name="hr_holidays.TimeOffDashboard" class="o_timeoff_dashboard">
|
||||
<t t-foreach="state.holidays" t-as="holiday" t-key="holiday[3]">
|
||||
<TimeOffCard name="holiday[0]" data="holiday[1]" requires_allocation="holiday[2] == 'yes'" id="holiday[3]"/>
|
||||
</t>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<div t-name="hr_holidays.LeaveStatsComponent" owl="1" class="o_leave_stats">
|
||||
<div t-name="hr_holidays.LeaveStatsComponent" class="o_leave_stats">
|
||||
<div t-if="employee" id="o_leave_stats_employee">
|
||||
<div class="o_hr_leave_subtitle">
|
||||
<t t-esc="employee[1]"/> in <t t-esc="thisYear"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="hr_holidays.RadioImageField" owl="1">
|
||||
<t t-name="hr_holidays.RadioImageField">
|
||||
<div role="radiogroup" class="d-flex flex-wrap gap-4" t-att-aria-label="string">
|
||||
<t t-if="props.readonly">
|
||||
<t t-if="value !== false">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_holidays.CalendarController" t-inherit="web.CalendarController" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_holidays.CalendarController" t-inherit="web.CalendarController" t-inherit-mode="primary">
|
||||
<xpath expr="//Layout" position="inside">
|
||||
<t t-set-slot="control-panel-create-button">
|
||||
<span class="o_timeoff_buttons btn-group">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_holidays.CalendarRenderer" owl="1">
|
||||
<t t-name="hr_holidays.CalendarRenderer">
|
||||
<div class="o_timeoff_calendar">
|
||||
<TimeOffDashboard t-if="showDashboard" employeeId="employeeId"/>
|
||||
<t t-call="web.CalendarRenderer"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_holidays.CalendarFilterPanel" t-inherit="web.CalendarFilterPanel" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_holidays.CalendarFilterPanel" t-inherit="web.CalendarFilterPanel" t-inherit-mode="primary">
|
||||
<xpath expr="//t[@t-foreach='props.model.filterSections']" position="after">
|
||||
<div class="o_calendar_filter">
|
||||
<h5>Legend</h5>
|
||||
@@ -39,7 +39,7 @@
|
||||
</t>
|
||||
|
||||
|
||||
<t t-name="hr_holidays.CalendarFilterPanel.filter" t-inherit="web.CalendarFilterPanel.filter" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_holidays.CalendarFilterPanel.filter" t-inherit="web.CalendarFilterPanel.filter" t-inherit-mode="primary">
|
||||
<xpath expr="//span[@t-esc='filter.label']" position="replace">
|
||||
<span class="o_cw_filter_title text-truncate flex-grow">
|
||||
<t t-esc="filter.label"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="hr_holidays.MandatoryDayCalendarYearPopover.body" owl="1">
|
||||
<t t-name="hr_holidays.MandatoryDayCalendarYearPopover.body">
|
||||
<t t-foreach="recordGroups" t-as="recordGroup" t-key="recordGroup.title">
|
||||
<div class="fw-bold mt-2" t-esc="recordGroup.title" />
|
||||
<t t-foreach="recordGroup.records" t-as="record" t-key="record.id">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="hr_holidays.FormViewDialog.buttons" t-inherit="web.FormViewDialog.ToOne.buttons" owl="1">
|
||||
<t t-name="hr_holidays.FormViewDialog.buttons" t-inherit="web.FormViewDialog.ToOne.buttons">
|
||||
<xpath expr="//button[contains(@class, 'o_form_button_save')]" position="replace">
|
||||
<button class="btn btn-primary o_form_button_save" t-on-click="saveButtonClicked" data-hotkey="q">Save</button>
|
||||
</xpath>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="hr_holidays_attendance.TimeOffCard" t-inherit="hr_holidays.TimeOffCard" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="hr_holidays_attendance.TimeOffCard" t-inherit="hr_holidays.TimeOffCard" t-inherit-mode="extension">
|
||||
<xpath expr="//t[@t-set='duration']" position="replace">
|
||||
<t t-set="duration" t-value="props.requires_allocation || props.data['overtime_deductible']?props.data['virtual_remaining_leaves']:props.data['virtual_leaves_taken']" />
|
||||
</xpath>
|
||||
@@ -16,7 +16,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_holidays_attendance.TimeOffCardMobile" t-inherit="hr_holidays.TimeOffCardMobile" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="hr_holidays_attendance.TimeOffCardMobile" t-inherit="hr_holidays.TimeOffCardMobile" t-inherit-mode="extension">
|
||||
<xpath expr="//t[@t-set='duration']" position="replace">
|
||||
<t t-set="duration" t-value="props.requires_allocation || props.data['overtime_deductible']?props.data['virtual_remaining_leaves']:props.data['virtual_leaves_taken']" />
|
||||
</xpath>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates>
|
||||
<t t-name="hr.homeworking.CalendarCommonRenderer.worklocation" owl="1">
|
||||
<t t-name="hr.homeworking.CalendarCommonRenderer.worklocation">
|
||||
<t t-if="multiCalendar">
|
||||
<div class="o_homework_multi">
|
||||
<t t-foreach="records" t-as="record" t-key="record.id">
|
||||
@@ -31,7 +31,7 @@
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<t t-name="hr.homeworking.CalendarCommonRenderer.buttonWorklocation" owl="1">
|
||||
<t t-name="hr.homeworking.CalendarCommonRenderer.buttonWorklocation">
|
||||
<div class="btnWorklocation w-100">
|
||||
<button class='rounded-pill o_month text-nowrap bg-info-light'>
|
||||
<i class="fa fa-map-marker" aria-hidden="true"></i>
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="homework.AttendeeCalendarCommonPopover" owl="1">
|
||||
<t t-name="homework.AttendeeCalendarCommonPopover">
|
||||
<t t-if="isWorkLocationEvent()">
|
||||
<Record resModel="'hr.employee.location'" resId="props.record.rawRecord.idInDB" fieldNames="fieldNames" mode="'readonly'" t-slot-scope="slot">
|
||||
<div class="card-header d-flex justify-content-between py-2 pe-2">
|
||||
@@ -34,7 +34,7 @@
|
||||
<t t-call="web.CalendarCommonPopover" />
|
||||
</t>
|
||||
</t>
|
||||
<t t-name="homework.AttendeeCalendarCommonPopover.body" owl="1">
|
||||
<t t-name="homework.AttendeeCalendarCommonPopover.body">
|
||||
<t t-if="isWorkLocationEvent()">
|
||||
<Record resModel="'hr.employee.location'" resId="props.record.rawRecord.idInDB" fieldNames="fieldNames" mode="'readonly'" t-slot-scope="slot">
|
||||
<ul class="list-group list-group-flush">
|
||||
@@ -60,7 +60,7 @@
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<t t-name="homework.AttendeeCalendarCommonPopover.footer" owl="1">
|
||||
<t t-name="homework.AttendeeCalendarCommonPopover.footer">
|
||||
<t t-if="isWorkLocationEvent()">
|
||||
<Record resModel="'hr.employee.location'" resId="props.record.rawRecord.idInDB" fieldNames="fieldNames" mode="'readonly'" t-slot-scope="slot">
|
||||
<t t-if="isCurrentUserIsOwnerWorklocation()">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="hr_org_chart.hr_org_chart_employee" owl="1">
|
||||
<t t-name="hr_org_chart.hr_org_chart_employee">
|
||||
<t t-set="is_self" t-value="employee.id == view_employee_id"/>
|
||||
|
||||
<section t-if="employee_type == 'self'" t-attf-class="o_org_chart_entry_self_container #{managers.length > 0 ? 'o_org_chart_has_managers' : ''}">
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_org_chart.hr_org_chart_employee_content" owl="1">
|
||||
<t t-name="hr_org_chart.hr_org_chart_employee_content">
|
||||
<div class="o_media_left position-relative">
|
||||
<!-- NOTE: Since by the default on not squared images odoo add white borders,
|
||||
use bg-images to get a clean and centred images -->
|
||||
@@ -63,7 +63,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_org_chart.hr_org_chart" owl="1">
|
||||
<t t-name="hr_org_chart.hr_org_chart">
|
||||
<!-- NOTE: Desidered behaviour:
|
||||
The maximun number of people is always 7 (including 'self'). Managers have priority over suburdinates
|
||||
Eg. 1 Manager + 1 self = show just 5 subordinates (if availables)
|
||||
@@ -123,7 +123,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_org_chart.hr_orgchart_emp_popover" owl="1">
|
||||
<t t-name="hr_org_chart.hr_orgchart_emp_popover">
|
||||
<div class="popover o_org_chart_popup" role="tooltip">
|
||||
<div class="tooltip-arrow">
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="hr_recruitment.ApplicantCharField" t-inherit="web.CharField" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_recruitment.ApplicantCharField" t-inherit="web.CharField" t-inherit-mode="primary">
|
||||
<xpath expr="//span[@t-esc='formattedValue']" position="attributes">
|
||||
<attribute name="t-on-click.prevent.stop">onClick</attribute>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<t t-name="hr_skills.ResumeListRenderer" owl="1" t-inherit-mode="primary" t-inherit="hr_skills.SkillsListRenderer">
|
||||
<t t-name="hr_skills.ResumeListRenderer" t-inherit-mode="primary" t-inherit="hr_skills.SkillsListRenderer">
|
||||
<xpath expr="//table" position="attributes">
|
||||
<attribute name="t-attf-class" add="table-borderless {{ !showTable ? 'd-none' : ''}}" remove="table-striped" separator=" "/>
|
||||
</xpath>
|
||||
@@ -13,7 +13,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_skills.ResumeListRenderer.Rows" owl="1" t-inherit-mode="primary" t-inherit="hr_skills.SkillsListRenderer.Rows">
|
||||
<t t-name="hr_skills.ResumeListRenderer.Rows" t-inherit-mode="primary" t-inherit="hr_skills.SkillsListRenderer.Rows">
|
||||
<xpath expr="//tr" position="attributes">
|
||||
<attribute name="class" add="o_resume_group_header" separator=" "/>
|
||||
</xpath>
|
||||
@@ -22,7 +22,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_skills.ResumeListRenderer.RecordRow" owl="1" t-inherit-mode="primary" t-inherit="web.ListRenderer.RecordRow">
|
||||
<t t-name="hr_skills.ResumeListRenderer.RecordRow" t-inherit-mode="primary" t-inherit="web.ListRenderer.RecordRow">
|
||||
<xpath expr="//t[@t-foreach='getColumns(record)']" position="replace">
|
||||
<t t-set="data" t-value="record.data"/>
|
||||
<td class="o_resume_timeline_cell position-relative pe-lg-2">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<t t-name="hr_skills.SkillsListRenderer" owl="1" t-inherit-mode="primary" t-inherit="web.ListRenderer">
|
||||
<t t-name="hr_skills.SkillsListRenderer" t-inherit-mode="primary" t-inherit="web.ListRenderer">
|
||||
<xpath expr="//table" position="attributes">
|
||||
<attribute name="t-attf-class" add="mb-1 {{ !isEditable ? 'cursor-default' : '' }} {{ !showTable ? 'd-none' : ''}} o_skill_table" separator=" "/>
|
||||
</xpath>
|
||||
@@ -16,7 +16,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="hr_skills.SkillsListRenderer.Rows" owl="1">
|
||||
<t t-name="hr_skills.SkillsListRenderer.Rows">
|
||||
<t t-foreach="Object.entries(groupedList)" t-as="skill_group" t-key="skill_group[0]">
|
||||
<tr class="o_group_has_content o_group_header">
|
||||
<th tabindex="-1" class="o_group_name" t-att-colspan="colspan">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="hr_timesheet.TimesheetUOM" owl="1">
|
||||
<t t-name="hr_timesheet.TimesheetUOM">
|
||||
<t t-component="timesheetComponent" t-props="timesheetComponentProps"/>
|
||||
</t>
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates>
|
||||
<t t-name="hr_work_entry_contract.calendar.controlButtons" t-inherit="web.CalendarController.controlButtons" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="hr_work_entry_contract.calendar.controlButtons" t-inherit="web.CalendarController.controlButtons" t-inherit-mode="primary">
|
||||
<xpath expr="." position="inside">
|
||||
<span class="btn-regenerate-work-entries">
|
||||
<button class="btn btn-secondary ms-3" t-on-click="onRegenerateWorkEntries">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="iap.ActionButtonsWidget" owl="1">
|
||||
<t t-name="iap.ActionButtonsWidget">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<button t-on-click="onBuyLinkClicked" class="btn btn-link buy_credits px-0 o-hidden-ios text-nowrap"><i class="oi oi-arrow-right"/> Buy credits</button><br/>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<template id="template" xml:space="preserve">
|
||||
|
||||
<!-- LAYOUT TEMPLATES -->
|
||||
<t t-name="iap.InsufficientCreditDialog" owl="1">
|
||||
<t t-name="iap.InsufficientCreditDialog">
|
||||
<Dialog>
|
||||
<div t-att-style="style">
|
||||
<t t-if="props.errorData.body">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="im_livechat.Composer" t-inherit="mail.Composer" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="im_livechat.Composer" t-inherit="mail.Composer" t-inherit-mode="extension">
|
||||
<xpath expr="//Typing" position="replace">
|
||||
<div class="d-flex justify-content-between">
|
||||
<t>$0</t>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
<t t-name="im_livechat.ThreadIcon" t-inherit="mail.ThreadIcon" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="im_livechat.ThreadIcon" t-inherit="mail.ThreadIcon" t-inherit-mode="extension">
|
||||
<xpath expr="//*[contains(@class, 'o-mail-ThreadIcon')]" position="inside">
|
||||
<t t-if="props.thread.type === 'livechat'">
|
||||
<Typing t-if="typingService.hasTypingMembers(props.thread)" channel="props.thread" size="props.size" displayText="false"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="im_livechat.LivechatButton" owl="1">
|
||||
<t t-name="im_livechat.LivechatButton">
|
||||
<button
|
||||
part="openChatButton"
|
||||
t-if="isShown"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="im_livechat.FeedbackPanel" owl="1">
|
||||
<t t-name="im_livechat.FeedbackPanel">
|
||||
<div class="d-flex flex-column bg-view flex-grow-1 p-3">
|
||||
<div class="p-2">
|
||||
<div class="mb-5">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="im_livechat.TranscriptSender" owl="1">
|
||||
<t t-name="im_livechat.TranscriptSender">
|
||||
<div class="form-text">
|
||||
<t t-if="state.status === STATUS.SENT">The conversation was sent.</t>
|
||||
<t t-elif="state.status === STATUS.FAILED">An error occurred. Please try again.</t>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="im_livechat.ColorsResetButton" owl="1">
|
||||
<t t-name="im_livechat.ColorsResetButton">
|
||||
<button class="btn btn-link oe_edit_only" t-on-click="onColorsResetButtonClick" aria-label="Reset to default colors" title="Reset to default colors">
|
||||
<span class="fa fa-refresh mb-4"/>
|
||||
</button>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="l10n_co_pos.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="l10n_co_pos.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//div[hasclass('pos-receipt-order-data')]" position="inside">
|
||||
<t t-if="receipt.l10n_co_dian !== false">
|
||||
<div style="word-wrap:break-word;"><t t-esc="receipt.l10n_co_dian"/></div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="l10n_fr_pos_cert.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="l10n_fr_pos_cert.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//div[hasclass('pos-receipt-order-data')]" position="inside">
|
||||
<t t-if="receipt.l10n_fr_hash !== false">
|
||||
<br/>
|
||||
@@ -9,7 +9,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="l10n_fr_pos_cert.OrderLinesReceipt" t-inherit="point_of_sale.OrderLinesReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="l10n_fr_pos_cert.OrderLinesReceipt" t-inherit="point_of_sale.OrderLinesReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//div[@t-foreach='receipt.orderlines']" position="inside">
|
||||
<t t-if="receipt.l10n_fr_hash !== false and line.price_type === 'manual'">
|
||||
<div class="pos-receipt-right-padding">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="l10n_fr_pos_cert.Orderline" t-inherit="point_of_sale.Orderline" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="l10n_fr_pos_cert.Orderline" t-inherit="point_of_sale.Orderline" t-inherit-mode="extension">
|
||||
<xpath expr="//ul[hasclass('info-list')]" position="inside">
|
||||
<t t-if="pos.is_french_country() !== false and props.line.price_manually_set === 'manual'">
|
||||
<li class="info">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
|
||||
|
||||
<xpath expr="//div[hasclass('pos-receipt-contact')]" position="after">
|
||||
<t t-if="receipt.is_gcc_country">
|
||||
@@ -90,7 +90,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-inherit="point_of_sale.OrderLinesReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-inherit="point_of_sale.OrderLinesReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//t[@t-esc='line.unit_name']/.." position="attributes">
|
||||
<attribute name="t-if">!receipt.is_gcc_country</attribute>
|
||||
</xpath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="l10n_in_pos.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="l10n_in_pos.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//div[hasclass('orderlines')]" position="before">
|
||||
<t t-if="receipt.partner and pos.company.country and pos.company.country.code == 'IN'">
|
||||
<div class="pos-receipt-center-align">
|
||||
@@ -17,7 +17,7 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="l10n_in_pos.OrderLinesReceipt" t-inherit="point_of_sale.OrderLinesReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="l10n_in_pos.OrderLinesReceipt" t-inherit="point_of_sale.OrderLinesReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//div[@t-foreach='receipt.orderlines']" position="inside">
|
||||
<t t-if="line.l10n_in_hsn_code and pos.company.country and pos.company.country.code == 'IN'">
|
||||
<div class="pos-receipt-left-padding">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates>
|
||||
<t t-name="l10n_ke_edi_tremol.KEProxyDialog" owl="1">
|
||||
<t t-name="l10n_ke_edi_tremol.KEProxyDialog">
|
||||
<Dialog>
|
||||
<t t-set-slot="header">
|
||||
<h4 class="modal-title text-break">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
|
||||
<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
|
||||
<xpath expr="//img[hasclass('pos-receipt-logo')]" position="after">
|
||||
<t t-if="receipt.is_gcc_country and !receipt.is_settlement">
|
||||
<img t-if="receipt.qr_code" id="qrcode" t-att-src="receipt.qr_code" class="pos-receipt-logo"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<t t-name="loyalty.LoyaltyListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary" owl="1">
|
||||
<t t-name="loyalty.LoyaltyListRenderer" t-inherit="web.ListRenderer" t-inherit-mode="primary">
|
||||
<t t-call="web.ActionHelper" position="replace">
|
||||
<t t-if="showNoContentHelper">
|
||||
<LoyaltyActionHelper noContentHelp="props.noContentHelp"/>
|
||||
@@ -8,7 +8,7 @@
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<t t-name="loyalty.LoyaltyActionHelper" owl="1">
|
||||
<t t-name="loyalty.LoyaltyActionHelper">
|
||||
<div class="o_view_nocontent flex-wrap pt-5">
|
||||
<div class="container">
|
||||
<div class="o_nocontent_help">
|
||||
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="loyalty.LoyaltyX2ManyField" owl="1" t-inherit-mode="primary" t-inherit="web.X2ManyField">
|
||||
<t t-name="loyalty.LoyaltyX2ManyField" t-inherit-mode="primary" t-inherit="web.X2ManyField">
|
||||
<t t-if="displayControlPanelButtons" position="replace">
|
||||
<h4 t-esc="field.string or ''"/>
|
||||
<t t-if="displayControlPanelButtons">
|
||||
@@ -56,7 +56,7 @@
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<t t-name="loyalty.LoyaltyCardListView.buttons" owl="1" t-inherit-mode="primary" t-inherit="web.ListView.Buttons">
|
||||
<t t-name="loyalty.LoyaltyCardListView.buttons" t-inherit-mode="primary" t-inherit="web.ListView.Buttons">
|
||||
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">
|
||||
<t t-set="supportedProgramTypes" t-value="['coupons', 'gift_card', 'ewallet']"/>
|
||||
<button t-if="supportedProgramTypes.includes(props.context.program_type)" type="button" class="btn btn-primary o_loyalty_card_list_button_generate" t-attf-data-tooltip="Generate {{props.context.program_item_name}}"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user