---
title: "badge (Odoo)"
description: "itgen_odoo_badge"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.gamification.badge
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.gamification.badge
updated: 2023-03-01T15:29:04Z
license: https://documentation.invantive.eu/en/
---

# badge: Odoo itgen_odoo_badge

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `gamification`
- Label: itgen_odoo_badge

Gamification Badge

Can only retrieve data.

## Summary

Badge object that users can send and receive

## Table Columns

The columns of the table `badge` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `active` | `boolean` | Active | [ ] |  |  |
| `can_publish` | `boolean` | Can Publish | [ ] |  |  |
| `challenge_ids` | `varchar2` |  | [ ] |  |  |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `description` | `varchar2` | Description | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `goal_definition_ids` | `varchar2` |  | [ ] |  | The users that have succeeded these goals will receive automatically the badge. |
| `granted_count` | `int32` | Total | [ ] |  | The number of time this badge has been received. |
| `granted_employees_count` | `int32` | Granted Employees Count | [ ] |  |  |
| `granted_users_count` | `int32` | Number of users | [ ] |  | The number of time this badge has been received by unique users. |
| `has_message` | `boolean` | Has Message | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `image_1024` | `varbinary` | Image 1024 | [ ] |  |  |
| `image_128` | `varbinary` | Image 128 | [ ] |  |  |
| `image_1920` | `varbinary` | Image | [ ] |  |  |
| `image_256` | `varbinary` | Image 256 | [ ] |  |  |
| `image_512` | `varbinary` | Image 512 | [ ] |  |  |
| `is_published` | `boolean` | Is Published | [ ] |  |  |
| `level` | `varchar2` | Forum Badge Level | [ ] |  |  |
| `message_attachment_count` | `int32` | Attachment Count | [ ] |  |  |
| `message_follower_ids` | `varchar2` |  | [ ] |  |  |
| `message_has_error` | `boolean` | Message Delivery error | [ ] |  | If checked, some messages have a delivery error. |
| `message_has_error_counter` | `int32` | Number of errors | [ ] |  | Number of messages with delivery error |
| `message_has_sms_error` | `boolean` | SMS Delivery error | [ ] |  | If checked, some messages have a delivery error. |
| `message_ids` | `varchar2` |  | [ ] |  |  |
| `message_is_follower` | `boolean` | Is Follower | [ ] |  |  |
| `message_main_attachment_id` | `varchar2` |  | [ ] |  |  |
| `message_main_attachment_id_label` | `varchar2` |  | [ ] |  |  |
| `message_needaction` | `boolean` | Action Needed | [ ] |  | If checked, new messages require your attention. |
| `message_needaction_counter` | `int32` | Number of Actions | [ ] |  | Number of messages which requires an action |
| `message_partner_ids` | `varchar2` |  | [ ] |  |  |
| `name` | `varchar2` | Badge | [x] |  |  |
| `owner_ids` | `varchar2` |  | [ ] |  | The list of instances of this badge granted to users |
| `remaining_sending` | `int32` | Remaining Sending Allowed | [ ] |  | If a maximum is set |
| `rule_auth` | `varchar2` | Allowance to Grant | [x] |  | Who can grant this badge |
| `rule_auth_badge_ids` | `varchar2` |  | [ ] |  | Only the people having these badges can give this badge |
| `rule_auth_user_ids` | `varchar2` |  | [ ] |  | Only these people can give this badge |
| `rule_max` | `boolean` | Monthly Limited Sending | [ ] |  | Check to set a monthly limit per person of sending this badge |
| `rule_max_number` | `int32` | Limitation Number | [ ] |  | The maximum number of time this badge can be sent per month per person. |
| `stat_my` | `int32` | My Total | [ ] |  | The number of time the current user has received this badge. |
| `stat_my_monthly_sending` | `int32` | My Monthly Sending Total | [ ] |  | The number of time the current user has sent this badge this month. |
| `stat_my_this_month` | `int32` | My Monthly Total | [ ] |  | The number of time the current user has received this badge this month. |
| `stat_this_month` | `int32` | Monthly total | [ ] |  | The number of time this badge has been received this month. |
| `survey_id` | `varchar2` |  | [ ] |  |  |
| `survey_id_label` | `varchar2` |  | [ ] |  |  |
| `survey_ids` | `varchar2` |  | [ ] |  |  |
| `unique_owner_ids` | `varchar2` |  | [ ] |  | The list of unique users having received this badge. |
| `website_message_ids` | `varchar2` |  | [ ] |  | Website communication history |
| `website_published` | `boolean` | Visible on current website | [ ] |  |  |
| `website_url` | `varchar2` | Website URL | [ ] |  | The full URL to access the document through the website. |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Odoo](/en/release-notes/drivers?driver=odoo)

