Merge pull request #4173 from expsa/younes_dev_odex25_project
IMP Project Status Report
This commit is contained in:
commit
21cfd307f0
|
|
@ -188,6 +188,10 @@
|
|||
margin-top: 20px;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
.custom-html img {
|
||||
width: 200px !important;
|
||||
height: 200px !important;
|
||||
}
|
||||
</style>
|
||||
<div class="page">
|
||||
<h5>
|
||||
|
|
@ -458,7 +462,9 @@
|
|||
<div style="page-break-inside: avoid;">
|
||||
<h5>Project Details</h5>
|
||||
<!-- <span t-field="e.description"/>-->
|
||||
<t t-raw="e.description"/>
|
||||
<div class="custom-html">
|
||||
<t t-raw="e.description"/>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
.custom-html-project img {
|
||||
width: 200px !important;
|
||||
height: 200px !important;
|
||||
}
|
||||
|
||||
|
|
@ -1,11 +1,16 @@
|
|||
<odoo>
|
||||
<template id="assets_backend" inherit_id="web.assets_backend"
|
||||
name="Progress bar">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" type="text/scss"
|
||||
href="/project_base/static/src/css/progress_bar_color.css"/>
|
||||
<script type="text/javascript"
|
||||
src="/project_base/static/src/js/progress_bar_color.js"/>
|
||||
</xpath>
|
||||
name="Progress bar">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" type="text/scss"
|
||||
href="/project_base/static/src/css/progress_bar_color.css"/>
|
||||
<script type="text/javascript"
|
||||
src="/project_base/static/src/js/progress_bar_color.js"/>
|
||||
</xpath>
|
||||
<xpath expr="link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/project_base/static/src/scss/project_base.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
</odoo>
|
||||
|
|
@ -139,6 +139,7 @@
|
|||
</xpath>
|
||||
<xpath expr="//field[@name='description']" position="attributes">
|
||||
<attribute name="attrs">{'readonly':[('state','not in',['draft','confirm'])]}</attribute>
|
||||
<attribute name="class">custom-html-project</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='company_id']" position="attributes">
|
||||
<attribute name="attrs">{'readonly':True}</attribute>
|
||||
|
|
|
|||
Loading…
Reference in New Issue