mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 08:52:06 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!-- Copyright 2021 Studio73 - Pablo Fuentes (https://www.studio73.es)
|
||||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
|
||||
<template>
|
||||
<t t-inherit="web.CustomFilterItem" t-inherit-mode="extension">
|
||||
<xpath expr="//span[hasclass('o_generator_menu_value')]" position="replace">
|
||||
<t
|
||||
t-if="(fieldType === 'date' || fieldType === 'datetime') && selectedOperator.date_range"
|
||||
>
|
||||
<span class="o_generator_menu_value">
|
||||
<select
|
||||
class="o_input"
|
||||
t-on-change="ev => this.onValueChange(condition, ev)"
|
||||
>
|
||||
<option
|
||||
t-foreach="date_ranges[selectedOperator.date_range_type]"
|
||||
t-as="option"
|
||||
t-key="option_index"
|
||||
t-att-value="option.id"
|
||||
t-esc="option.name"
|
||||
/>
|
||||
</select>
|
||||
</span>
|
||||
</t>
|
||||
<t t-else="">$0</t>
|
||||
</xpath>
|
||||
</t>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue