- Use the ControlPanelMixin in the Import view; - Adapt the stylesheet to fit with both community and enterprise editions; - Convert the css into less, use mixins and variables defined in web; - Return the reload() deferred in the on_reverse_breadcrumb callback so that the previous action waits to be properly reloaded before being shown.
13 lines
586 B
XML
13 lines
586 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<template id="assets_backend" name="base_import assets" inherit_id="web.assets_backend">
|
|
<xpath expr="." position="inside">
|
|
<link rel="stylesheet" href="/base_import/static/src/less/import.less"/>
|
|
<script type="text/javascript" src="/base_import/static/lib/javascript-state-machine/state-machine.js"></script>
|
|
<script type="text/javascript" src="/base_import/static/src/js/import.js"></script>
|
|
</xpath>
|
|
</template>
|
|
</data>
|
|
</openerp>
|