Enable Dark Mode!
widgets-list-in-odoo-14.jpg
By: Varsha Vivek K

Widgets List in Odoo 14

Technical Odoo 14

We have different types of widgets for different purposes helping us with the simplification of the operations. Widgets are used to make the code easy and user-friendly which will be helpful in the coding as well as programming aspects of the software. In Odoo 14 development we can make use of the different widgets which can be used in the operations of the programming certain specific aspects of the operation. These are tools of simplification that will pave the way for the ease of programming operations.



In this blog, we are going to discuss different widgets that can be applied in the Odoo field.


All the Widget tools that can be used in Odoo are defined along with the index involved with it. In total, we have covered 30 types of widget tools that are used in Odoo throughout this blog. Moreover, the field type of operation of the respective widget along with the illustrator screenshot of the respective widget of operation in the Odoo platform has been defined for a clearer perspective of the operation.


Let's now move on to understand each of the widgets one by one.


  1. badge
  2. Field Type: Many2one, Selection

    <field name="state_id" widget="badge" />


    widgets-list-in-odoo-14-


  3. remaining_days
  4. Field Type: Datetime

    <field name="expiration_date" widget="remaining_days"/>


    widgets-list-in-odoo-14-


  5. color_picker
  6. Field Type: Integer

    <field name="color" widget="color_picker"/>

    widgets-list-in-odoo-14-


  7. char_emojis / text_emojis
  8. Field Type: Char, Text


     <field name="subject" string="Subject" widget="char_emojis"/>


    widgets-list-in-odoo-14-


  9. forecast_widget
  10. Field Type: Float


    <field name="forecast_availability" string="Reserved" widget="forecast_widget"/>


    widgets-list-in-odoo-14-


  11. many2one_avatar_employee
  12. Field Type: Many2one


    <field name="employee_id" widget="many2one_avatar_employee"/>


    widgets-list-in-odoo-14-


  13. many2one_avatar_employee
  14. Field Type: Many2one


    <field name="user_id" widget="many2one_avatar_user"/>


    widgets-list-in-odoo-14-


  15. priority
  16. Field Type: Selection


    priority = fields.Selection([('0', 'Normal'),('1', 'Good'),('2', 'Very Good'),('3', 'Excellent')], "Appreciation", default='0')
    <field name="priority" widget="priority"/>


    widgets-list-in-odoo-14-


  17. product_discount
  18. Field Type: Float


    <field name="discount" string="Disc.%"  widget="product_discount"/>


    widgets-list-in-odoo-14-


  19. list_activity
  20. Field Type: One2many


    <field name="activity_ids"  widget="list_activity"/>


    widgets-list-in-odoo-14-


  21. kanban_activity
  22. Field Type: One2many


    <field name="activity_ids" widget="kanban_activity"/>

    widgets-list-in-odoo-14-


  23. account_resequence_widget
  24. Field Type: Text


    <field name="preview_moves" widget="account_resequence_widget"/>


    widgets-list-in-odoo-14-


  25. stock_rescheduling_popover
  26. Field Type: Char


     <field string=" " name="json_popover" widget="stock_rescheduling_popover"/>


    widgets-list-in-odoo-14-


  27. mrp_should_consume
  28. Field Type: Float


     <field name="product_uom_qty" widget="mrp_should_consume" string="To Consume" width="1"/>


    widgets-list-in-odoo-14-


  29. mrp_workorder_popover
  30. Field Type: Char


    <field name="json_popover" widget="mrp_workorder_popover" string=" " width="0.1" attrs="{'invisible': [('show_json_popover', '=', False)]}"/>


    widgets-list-in-odoo-14-


  31. popover_widget
  32. Field Type: Char


    <field name="json_lead_days_popover" optional="show" nolabel="1" string="Forecast Description" width="10px" widget="popover_widget"/>


    widgets-list-in-odoo-14-


  33. kanban_vat_activity
  34. Field Type: Boolean


    <field name="json_activity_data" widget="kanban_vat_activity"/>


    widgets-list-in-odoo-14-


  35. many2one_barcode
  36. Field Type: Many2one


    <field name="product_id"context="{'partner_id': parent.partner_id}" widget="many2one_barcode"domain="[('purchase_ok', '=', True), '|', ('company_id', '=', False), ('company_id', '=', parent.company_id)]"/>


    widgets-list-in-odoo-14-


  37. text
  38. Field Type: Text, Char


    <field name="description" widget="text"/>


    widgets-list-in-odoo-14-


  39. many2manyattendee
  40. Field Type: Many2many


    <field name="partner_ids"  widget="many2manyattendee" placeholder="Select attendees..." context="{'force_email':True}" class="oe_inline"/>


    widgets-list-in-odoo-14-


  41. many2many_tags_avatar
  42. Field Type: Many2many


    <field name="partner_ids"  widget="many2many_tags_avatar" placeholder="Select attendees..." context="{'force_email':True}" class="oe_inline"/>


    widgets-list-in-odoo-14-


  43. website_urls
  44. Field Type: Char


    <field name="regex_url" widget="website_urls" placeholder="e.g. /page"/>


    widgets-list-in-odoo-14-


  45. domain
  46. Fied Type: Char
  47. <field name="filter_domain" widget="domain"/>


    widgets-list-in-odoo-14-


  48. boolean_favorite
  49. Field Type: Boolean


    <field name="is_favorite" widget="boolean_favorite" nolabel="1"/>


    widgets-list-in-odoo-14-


  50. account_hierarchy_selection
  51. Field Type: Many2one


    <field name="user_type_id" widget="account_hierarchy_selection"/>


    widgets-list-in-odoo-14-


  52. percentage
  53. Field Type: Float


    <field name="percentage"  widget="percentage" />

    widgets-list-in-odoo-14-


  54. task_with_hours
  55. Field Type: Many2one


    <field name="task_id" widget="task_with_hours" domain="[('project_id', '=', project_id)]"/>

    widgets-list-in-odoo-14-


  56. timesheet_uom_no_toggle
  57. Float Type: Float


    <field name="planned_hours" widget="timesheet_uom_no_toggle" sum="Initially Planned Hours" optional="hide"/>


    widgets-list-in-odoo-14-


  58. CopyClipboardChar
  59. Float Type: Char


    <field name="link" readonly="1" widget="CopyClipboardChar"/>


    widgets-list-in-odoo-14-


  60. boolean_toggle
  61. Float Type: Boolean


    <field name="active" widget="boolean_toggle"/>

    widgets-list-in-odoo-14-


  62. sms_widget
  63. Float Type: Char, Text


    <field name="body" widget="sms_widget"/>


    widgets-list-in-odoo-14-


  64. selection_badge
  65. Float Type: Selection


    <field name="progression" widget="selection_badge"/>


    widgets-list-in-odoo-14-


  66. timesheet_uom_timer
  67. Float Type: Float


    <field name="unit_amount" string="Time Spent" widget="timesheet_uom_timer"/>

    widgets-list-in-odoo-14-


  68. daterange
  69. Float Type: Datetime


    <field name="date_end" widget="daterange" nolabel="1" class="oe_inline" options="{'related_start_date': 'date_begin'}"/>


    widgets-list-in-odoo-14-


    timesheet_uom

    Filed Type: timesheet_uom


    <field name="unit_amount" widget="timesheet_uom"/>

    widgets-list-in-odoo-14-


  70. pad
  71. Float Type: Char


    <field name="description_pad" widget="pad" nolabel="1"/>


    widgets-list-in-odoo-14-


  72. tate_selection
  73. Field Type: Selection


    <field name="kanban_state" widget="state_selection"/>

    widgets-list-in-odoo-14-


  74. many2many_checkboxes
  75. Float Type: Many2many


    <field name="inbound_payment_method_ids" string="Methods" widget="many2many_checkboxes" attrs="{'invisible': [('type', 'not in', ['bank', 'cash'])]}"/>


    widgets-list-in-odoo-14-


  76. video_preview
  77. Float Type: Char


    <field name="embed_code" class="mt-2" widget="video_preview"/>


    widgets-list-in-odoo-14-


  78. res_partner_many2one

Field type: many2one


<field name="partner_id"  widget="res_partner_many2one"
 context="{'default_name': contact_name,'default_title': title,
       'default_street': street,'default_street2': street2,
       'default_city': city,'default_state_id': state_id,
       'default_zip': zip,'default_country_id': country_id,
        'default_function': function,'default_phone': phone,
      'default_mobile': mobile,'default_email': email_from,
      'default_user_id': user_id,'default_team_id': team_id,
      'default_website': website,'show_vat': True}" />

widgets-list-in-odoo-14-


These are the various types of widget tools that are used during the development of the Odoo platform to bring in advanced functionalities of operation to the platform by simplifying the development and programming aspects. 


In conclusion, all the 40 types of widget tools that have been described in this blog will be helpful in the operational aspects of the platform. You can read the following blog to have a clear understanding of further other widget tools which have been used and can be used in Odoo: Widgets in Odoo


If you need any assistance in odoo, we are online, please chat with us.



0
Comments



Leave a comment



whatsapp
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message