Tuesday, March 23, 2021

kanban view in odoo




In this blog we will give and example to design kanban view in odoo
so the code can be just as bellow


<!-- """Create Kanban View""" -->

  <record id="view_ssc_projects_kanban" model="ir.ui.view">
    <field name="name">ssc.projects.kanban</field>
    <field name="model">ssc.projects</field>
    <field name="arch" type="xml">
      <kanban class="o_hr_employee_kanban">
        <field name="id"/>
        <templates>
          <t t-name="kanban-box">
            <div class="oe_kanban_global_click">

              <div class="o_kanban_image">
                <img t-att-src="kanban_image('ssc.projects','image',record.id.raw_value)" alt="Image"/>
              </div>

              <div class="oe_kanban_details">
                <h2>
                  <a type="open">
                    <field name="name" />
                  </a>
                </h2>
                <h4>
                  <a type="open" style="color:#04025e ! important;">
                   <field name="customer_id"/>
                 </a>
               </h4>
             </div>

           </div>
         </t>
       </templates>
     </kanban>
   </field>
 </record>


and the kanban view can look like bellow 
 

 

1 comment:

  1. One of the top
    Odoo Themes, Arc Backend Theme, is gaining huge popularity among Odoo enthusiasts due to its ultra-advanced features and the makeover it gives to the Odoo backend. The app charms everyone with its original and out-of-the-box functionalities and theme styles. App Drawer, Favorites Bar, Bookmark Panel, Scope-based theme settings are just a few of the vast features that it comes with. The app exceeds the expectations of Odoo users in a very surprising way! Try it yourself!

    ReplyDelete

Odoo Invoice Qr code issues

There are two main issues must of us facing with the QR code in Odoo invoice & these issues are 1/ QR code displayed as broken image w...