|
@ -1,6 +1,6 @@ |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<templates> |
|
|
<templates> |
|
|
<!-- Inherits X2Many field to Add the Searche Bar--> |
|
|
<!-- Inherits X2Many field to Add the Searche Bar--> |
|
|
<t t-name="One2ManySearchTemplate" t-inherit="web.X2ManyField" |
|
|
<t t-name="One2ManySearchTemplate" t-inherit="web.X2ManyField" |
|
|
t-inherit-mode="primary" owl="1"> |
|
|
t-inherit-mode="primary" owl="1"> |
|
|
<t t-if="displayAddButton" position="replace"> |
|
|
<t t-if="displayAddButton" position="replace"> |
|
@ -8,7 +8,6 @@ |
|
|
<div> |
|
|
<div> |
|
|
<input type="text" class="oe_search_value searchInput pl-3" |
|
|
<input type="text" class="oe_search_value searchInput pl-3" |
|
|
placeholder="Search..." |
|
|
placeholder="Search..." |
|
|
t-att-id="this.props.id" |
|
|
|
|
|
t-ref="search_keyword" |
|
|
t-ref="search_keyword" |
|
|
style="margin-bottom:10px;height:30px;" |
|
|
style="margin-bottom:10px;height:30px;" |
|
|
t-on-keyup="onInputKeyUp"/> |
|
|
t-on-keyup="onInputKeyUp"/> |
|
@ -17,7 +16,7 @@ |
|
|
<t t-if="displayAddButton"> |
|
|
<t t-if="displayAddButton"> |
|
|
<div class="o_cp_buttons me-0 ms-auto" role="toolbar" |
|
|
<div class="o_cp_buttons me-0 ms-auto" role="toolbar" |
|
|
aria-label="Control panel buttons" |
|
|
aria-label="Control panel buttons" |
|
|
t-ref="buttons">viewMode |
|
|
t-ref="buttons"> |
|
|
<div> |
|
|
<div> |
|
|
<button type="button" |
|
|
<button type="button" |
|
|
class="btn btn-secondary o-kanban-button-new" |
|
|
class="btn btn-secondary o-kanban-button-new" |
|
|