تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5750 أدوات العرض
  • I have a button on the kanban view I want it to show as an icon

  • ```

  •  <button type="object" class="btn btn-sm btn-primary" name="clean_trigger" icon="fa-refresh"/>

  • ```

    • But he didn't show it

    • tried this in the tree view, and it worked, but it didn't work in the kanban view attempt

      • I use version 13 of Odoo


      thanks in advance

الصورة الرمزية
إهمال
أفضل إجابة
Yeah, I finally found out that in kanban view you need to set icon in the Class properties

<button type="object" class="btn  fa fa-refresh " name="clean_trigger" />


At last it worked

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

@Prakash  Sorry, my error overwrote your answer, Your answer is correct. I found it. Thank you

الصورة الرمزية
إهمال

Welcome

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 25
1756
0
أكتوبر 24
1306
2
سبتمبر 23
2543
0
أغسطس 22
2631
3
يونيو 22
6965