实现基础的rpc拿取后端生产线数据功能

This commit is contained in:
mgw
2023-08-03 17:24:37 +08:00
parent 1afd164712
commit 810ef41c05
4 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates>
<t t-name="sf_manufacturing.CustomKanbanView1" t-inherit="web.KanbanView" owl="1">
<!-- <xpath expr="//Layout" position="before"> -->
<!-- <div> -->
<!-- Hello world ! -->
<!-- </div> -->
<!-- </xpath> -->
<xpath expr="//t[@t-component='props.Renderer']" position="before">
<div class="alerts">
<!-- <t t-foreach="env['mrp.workcenter'].get_dynamic_data()" t-as="i" t-key="i"> -->
<t t-foreach="workOrders" t-as="i" t-key="i">
<div>
产线<t t-esc="i"></t>
</div>
</t>
</div>
</xpath>
</t>
</templates>