工作中心看板视图动态添加标签页

This commit is contained in:
WEB许何哲\xuhez
2023-08-03 17:31:11 +08:00
parent 7eca8110cf
commit 17476fdcf4
4 changed files with 95 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.name"></t>
</div>
</t>
</div>
</xpath>
</t>
</templates>