update apps

This commit is contained in:
ivan deng
2019-12-09 18:07:19 +08:00
parent 10621f7cfd
commit e65800cda1
3 changed files with 22 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
{ {
'name': "App web enterprise enhance,企业版界面增强", 'name': "App web enterprise enhance,企业版界面增强",
'version': '13.19.10.05', 'version': '13.19.12.09',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'category': 'Base', 'category': 'Base',
'website': 'https://www.sunpop.cn', 'website': 'https://www.sunpop.cn',

View 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;
});

View File

@@ -4,6 +4,9 @@
<xpath expr="//link[last()]" position="after"> <xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/app_style.scss"/> <link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/app_style.scss"/>
</xpath> </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>
<!-- 企业版变色 --> <!-- 企业版变色 -->
<template id="_app_assets_primary_variables" inherit_id="web_enterprise._assets_primary_variables" priority="15"> <template id="_app_assets_primary_variables" inherit_id="web_enterprise._assets_primary_variables" priority="15">