Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <record id="work_order_kanban_view" model="ir.ui.view">
  2. <field name="name">vtab_warranty.work.order.kanban</field>
  3. <field name="model">vtab.warranty.work_order</field>
  4. <field name="arch" type="xml">
  5. <kanban default_group_by="state_id" default_order="work_order_date desc" class="o_kanban_small_column" quick_create="false" edit="false">
  6. <templates>
  7. <t t-name="kanban-box">
  8. <div t-attf-class="oe_kanban_card oe_kanban_global_click">
  9. <div class="row">
  10. <div class="col-xs-12" style="font-size:13px;">
  11. <div t-att-class="(record.view_color.value == 'blue' ? 'warranty_kanban_blue'
  12. :record.view_color.value == 'red' ? 'warranty_kanban_red'
  13. :record.view_color.value == 'grey' ? 'warranty_kanban_grey'
  14. :'warranty_kanban_default')">
  15. <!--<div class="warranty_kanban_default" t-att-style='"background: " + manual_state_id.color if manual_state_id + ";"'>-->
  16. <!--<div t-att-style="'background: ' + manual_state_id.color + '' if manual_state_id and manual_state_id.color else 'background: #555;'" >-->
  17.  
  18. <!-- <div t-att-style='"background:" + manual_state_id.color if manual_state_id'>
  19. <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