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

# mixin: Odoo itgen_odoo_mixin

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `extract`
- Label: itgen_odoo_mixin

Base class to extract data from documents

Can only retrieve data.

## Summary

Base model to inherit from to add extract functionality to a model.

## Table Columns

The columns of the table `mixin` 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 |
|---|---|---|:---:|---|---|
| `extract_can_show_send_button` | `boolean` | Can show the ocr send button | [ ] |  |  |
| `extract_error_message` | `varchar2` | Error message | [ ] |  |  |
| `extract_remote_id` | `int32` | Id of the request to IAP-OCR | [ ] |  |  |
| `extract_state` | `varchar2` | Extract state | [x] |  |  |
| `extract_state_processed` | `boolean` | Extract State Processed | [ ] |  |  |
| `extract_status_code` | `int32` | Status code | [ ] |  |  |
| `has_message` | `boolean` | Has Message | [ ] |  |  |
| `is_in_extractable_state` | `boolean` | Is In Extractable State | [ ] |  |  |
| `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` |  | [ ] |  |  |
| `website_message_ids` | `varchar2` |  | [ ] |  | Website communication history |



## Release Notes

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

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

