Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <record id="work_order_kanban_view" model="ir.ui.view">
- <field name="name">vtab_warranty.work.order.kanban</field>
- <field name="model">vtab.warranty.work_order</field>
- <field name="arch" type="xml">
- <kanban default_group_by="state_id" default_order="work_order_date desc" class="o_kanban_small_column" quick_create="false" edit="false">
- <templates>
- <t t-name="kanban-box">
- <div t-attf-class="oe_kanban_card oe_kanban_global_click">
- <div class="row">
- <div class="col-xs-12" style="font-size:13px;">
- <div t-att-class="(record.view_color.value == 'blue' ? 'warranty_kanban_blue'
- :record.view_color.value == 'red' ? 'warranty_kanban_red'
- :record.view_color.value == 'grey' ? 'warranty_kanban_grey'
- :'warranty_kanban_default')">
- <!--<div class="warranty_kanban_default" t-att-style='"background: " + manual_state_id.color if manual_state_id + ";"'>-->
- <!--<div t-att-style="'background: ' + manual_state_id.color + '' if manual_state_id and manual_state_id.color else 'background: #555;'" >-->
- <!-- <div t-att-style='"background:" + manual_state_id.color if manual_state_id'>
- <div t-att-style="'background: ' if categ.id in parent_category_ids else 'background:#555;'" >-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement