Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/修改机床参数bug
# Conflicts: # sf_maintenance/views/maintenance_views.xml
This commit is contained in:
@@ -26,12 +26,12 @@
|
||||
</header>
|
||||
</xpath>
|
||||
<xpath expr="//page[@name='maintenance']" position="attributes">
|
||||
<attribute name="string">维保</attribute>
|
||||
<attribute name="string">维保</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='maintenance_count']" position="attributes">
|
||||
<attribute name="string">维保</attribute>
|
||||
<attribute name="string">维保</attribute>
|
||||
</xpath>
|
||||
<!-- <field string="Maintenance" name="maintenance_count" widget="statinfo"/>-->
|
||||
<!-- <field string="Maintenance" name="maintenance_count" widget="statinfo"/>-->
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
|
||||
<button name="%(action_maintenance_logs)d"
|
||||
@@ -284,12 +284,11 @@
|
||||
<field name="machine_tool_picture"/>
|
||||
|
||||
</xpath>
|
||||
<xpath expr="//templates" position="inside">
|
||||
|
||||
|
||||
<xpath expr="//templates" position="inside">
|
||||
<t t-name="kanban-box">
|
||||
<div t-attf-class="oe_kanban_global_click o_kanban_record_has_image_fill o_hr_kanban_record oe_kanban_card oe_kanban_global_click
|
||||
#{record.state.raw_value == '正常' ? 'kanban_color_1' : ''}
|
||||
#{record.state.raw_value == '故障' ? 'kanban_color_2' : ''}
|
||||
#{record.state.raw_value == '不可用' ? 'kanban_color_3' : ''}">
|
||||
<div t-attf-class="oe_kanban_global_click o_kanban_record_has_image_fill o_hr_kanban_record oe_kanban_card oe_kanban_global_click">
|
||||
|
||||
<field name="machine_tool_picture" class="o_kanban_image_fill_left d-block my-image"
|
||||
preview_image="image_128" widget="image"/>
|
||||
@@ -307,7 +306,10 @@
|
||||
<div class="o_kanban_record_bottom state_zc">
|
||||
<field name="technician_user_id"/>
|
||||
</div>
|
||||
<div class="o_kanban_record_bottom state_zc">
|
||||
<div class="o_kanban_record_bottom state_zc"
|
||||
t-attf-class="#{record.state.raw_value == '正常' ? 'font_color_1' : ''}
|
||||
#{record.state.raw_value == '故障' ? 'font_color_2' : ''}
|
||||
#{record.state.raw_value == '不可用' ? 'font_color_3' : ''}">
|
||||
<field name="state"/>
|
||||
</div>
|
||||
<!-- <div class="o_kanban_record_bottom">-->
|
||||
@@ -316,7 +318,12 @@
|
||||
<!-- <field name="supplier_id"/>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
|
||||
<div class="show_state" t-attf-class="oe_kanban_global_click o_kanban_record_has_image_fill o_hr_kanban_record oe_kanban_card oe_kanban_global_click
|
||||
">
|
||||
<div t-attf-class="#{record.state.raw_value == '正常' ? 'color_1' : ''}"></div>
|
||||
<div t-attf-class="#{record.state.raw_value == '故障' ? 'color_2' : ''}"></div>
|
||||
<div t-attf-class="#{record.state.raw_value == '不可用' ? 'color_3' : ''}"></div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user