mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update apps
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
{
|
||||
'name': "App web enterprise enhance,企业版界面增强",
|
||||
'version': '13.19.10.05',
|
||||
'version': '13.19.12.09',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
|
||||
18
app_web_enterprise/static/src/js/list_renderer.js
Normal file
18
app_web_enterprise/static/src/js/list_renderer.js
Normal file
@@ -0,0 +1,18 @@
|
||||
odoo.define('app_web_enterprise.ListRenderer', function (require) {
|
||||
"use strict";
|
||||
|
||||
var ListRenderer = require('web.ListRenderer');
|
||||
|
||||
ListRenderer.include({
|
||||
_renderBody: function () {
|
||||
var self = this;
|
||||
var $rows = this._renderRows();
|
||||
while ($rows.length < 1) {
|
||||
$rows.push(self._renderEmptyRow());
|
||||
}
|
||||
return $('<tbody>').append($rows);
|
||||
},
|
||||
});
|
||||
|
||||
return ListRenderer;
|
||||
});
|
||||
@@ -4,6 +4,9 @@
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/app_style.scss"/>
|
||||
</xpath>
|
||||
<xpath expr="script[last()]" position="after">
|
||||
<script type="text/javascript" src="/app_web_enterprise/static/src/js/list_renderer.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
<!-- 企业版变色 -->
|
||||
<template id="_app_assets_primary_variables" inherit_id="web_enterprise._assets_primary_variables" priority="15">
|
||||
|
||||
Reference in New Issue
Block a user