mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 04:32:07 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
35
odoo-bringout-oca-ocb-web/web/static/src/views/view.xml
Normal file
35
odoo-bringout-oca-ocb-web/web/static/src/views/view.xml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="web.View" owl="1">
|
||||
<WithSearch t-props="withSearchProps" t-slot-scope="search">
|
||||
<t t-component="Controller"
|
||||
t-on-click="handleActionLinks"
|
||||
t-props="componentProps"
|
||||
context="search.context"
|
||||
domain="search.domain"
|
||||
groupBy="search.groupBy"
|
||||
orderBy="search.orderBy"
|
||||
comparison="search.comparison"
|
||||
display="search.display"/>
|
||||
</WithSearch>
|
||||
</t>
|
||||
|
||||
<t t-name="web.ReportViewMeasures" owl="1">
|
||||
<Dropdown togglerClass="'btn btn-primary'">
|
||||
<t t-set-slot="toggler">
|
||||
Measures <i class="fa fa-caret-down ms-1"/>
|
||||
</t>
|
||||
<t t-foreach="measures"
|
||||
t-as="measure"
|
||||
t-key="measure_value.name">
|
||||
<div t-if="!measure_first and measure == '__count'" role="separator" class="dropdown-divider"/>
|
||||
<DropdownItem class="{ o_menu_item: true, selected: activeMeasures.includes(measure) }"
|
||||
parentClosingMode="'none'"
|
||||
t-esc="measures[measure].string"
|
||||
onSelected="() => this.onMeasureSelected({ measure: measure_value.name })"
|
||||
/>
|
||||
</t>
|
||||
</Dropdown>
|
||||
</t>
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue