[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,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>
|
||||
|
||||
Reference in New Issue
Block a user