gantt图样式修改
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
'web.assets_qweb': [
|
'web.assets_qweb': [
|
||||||
],
|
],
|
||||||
'web.assets_backend': [
|
'web.assets_backend': [
|
||||||
|
'sf_plan/static/src/scss/gannt_change.scss'
|
||||||
],
|
],
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
3
sf_plan/static/src/scss/gannt_change.scss
Normal file
3
sf_plan/static/src/scss/gannt_change.scss
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
//.o_gantt_view .o_gantt_row_nogroup .o_gantt_pill {
|
||||||
|
// background-color: #6ec89b !important;
|
||||||
|
//}
|
||||||
@@ -66,10 +66,11 @@
|
|||||||
<field name="name">sf.pl.plan.gantt</field>
|
<field name="name">sf.pl.plan.gantt</field>
|
||||||
<field name="model">sf.pl.plan</field>
|
<field name="model">sf.pl.plan</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<gantt class="o_mrp_workorder_gantt" date_stop="plan_end_time" date_start="plan_start_time" string="坯料预制计划" default_group_by="current_operation_name" create="0"
|
<gantt class="o_mrp_workorder_gantt" date_stop="plan_end_time" date_start="plan_start_time"
|
||||||
|
string="坯料预制计划" default_group_by="current_operation_name" create="0"
|
||||||
delete="0" sample="1"
|
delete="0" sample="1"
|
||||||
display_unavailability="1"
|
display_unavailability="1"
|
||||||
color="pl_name"
|
color="state"
|
||||||
progress_bar="pl_name"
|
progress_bar="pl_name"
|
||||||
form_view_id="sf_pl_plan_form">
|
form_view_id="sf_pl_plan_form">
|
||||||
|
|
||||||
@@ -84,12 +85,34 @@
|
|||||||
<div class="row g-0">
|
<div class="row g-0">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<ul class="ps-1 mb-0 list-unstyled">
|
<ul class="ps-1 mb-0 list-unstyled">
|
||||||
<li><strong>开始时间: </strong> <t t-out="userTimezoneStartDate.format('L LTS')"/></li>
|
<li>
|
||||||
<li><strong>结束时间: </strong> <t t-out="userTimezoneStopDate.format('L LTS')"/></li>
|
<strong>开始时间:</strong>
|
||||||
<li><strong>坯料编号: </strong> <t t-out="pl_no"/></li>
|
<t t-out="userTimezoneStartDate.format('L LTS')"/>
|
||||||
<li><strong>坯料名称: </strong> <t t-out="pl_name"/></li>
|
</li>
|
||||||
<li><strong>数量: </strong> <t t-out="quantity"/></li>
|
<li>
|
||||||
<li><strong>材质: </strong> <t t-out="material"/></li>
|
<strong>结束时间:</strong>
|
||||||
|
<t t-out="userTimezoneStopDate.format('L LTS')"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<strong>坯料编号:</strong>
|
||||||
|
<t t-out="pl_no"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<strong>坯料名称:</strong>
|
||||||
|
<t t-out="pl_name"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<strong>数量:</strong>
|
||||||
|
<t t-out="quantity"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<strong>材质:</strong>
|
||||||
|
<t t-out="material"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<strong>状态:</strong>
|
||||||
|
<t t-out="state"/>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user