增加js_class类对看板视图进行布局修改

This commit is contained in:
mgw
2023-07-11 15:43:03 +08:00
parent b72c3ce08a
commit 94ffec20db
5 changed files with 60 additions and 5 deletions

View File

@@ -74,7 +74,7 @@
<field name="name">example.kanban</field>
<field name="model">stock.location</field>
<field name="arch" type="xml">
<kanban class="o_kanban_mobile">
<kanban class="o_kanban_mobile" js_class="custom_kanban">
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_card oe_kanban_global_click