1
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
||||
xmlns:a="http://relaxng.org/ns/annotation/1.0"
|
||||
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||
<!-- Handling of element overloading when inheriting from a base
|
||||
template
|
||||
-->
|
||||
<rng:include href="common.rng"/>
|
||||
<rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:a="http://relaxng.org/ns/annotation/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||
<!-- Handling of element overloading when inheriting from a base template -->
|
||||
<rng:include href="odoo/addons/base/rng/common.rng"/>
|
||||
|
||||
<rng:define name="groupby">
|
||||
<rng:element name="groupby">
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
.o_list_view {
|
||||
.o_list_table {
|
||||
th .text-truncate {
|
||||
overflow: visible !important; // 强制显示溢出内容
|
||||
text-overflow: clip !important; // 移除省略号(或直接不设置)
|
||||
min-width: max-content !important; // 按内容撑开列宽(可选)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,12 +4,12 @@
|
||||
<t t-inherit="web.ListRenderer" t-inherit-mode="extension">
|
||||
<xpath expr="//thead//th[@t-if='hasSelectors']" position="before">
|
||||
<t t-if="numSwitch">
|
||||
<th class="o_list_record_selector list-number">#</th>
|
||||
<th class="list-number">#</th>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//tfoot//td[@t-if='hasSelectors']" position="before">
|
||||
<t t-if="numSwitch">
|
||||
<td class="o_list_record_selector"/>
|
||||
<td/>
|
||||
</t>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user