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

# post_to_lead: Odoo itgen_odoo_post_to_lead

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `social`
- Label: itgen_odoo_post_to_lead

Convert Social Post to Lead

Can only retrieve data.

## Summary

Simple wizard allowing to convert a social.stream.post or a comment/reply to a post into
    a lead.

    This wizard is typically used from the "Feed" social view, when the end user can interact with
    its community through their posts or view other people's posts.
    For more information about the 2 'sources' of conversion ('comment' and 'stream_post'), see
    #action_convert_to_lead.

    Please note that for obvious privacy reasons, the social media platforms will not provide us
    with people's email, phone or address information, we only have the author name and the content
    of their post/comment.
    For that reason, end users will probably often only convert to leads based on existing clients,
    since otherwise they will not have any mean to contact the created lead.

## Table Columns

The columns of the table `post_to_lead` 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 |
|---|---|---|:---:|---|---|
| `action` | `varchar2` | Related Customer | [ ] |  |  |
| `author_name` | `varchar2` | Post Author Name | [ ] |  |  |
| `conversion_source` | `varchar2` | Conversion Source | [ ] |  |  |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `partner_id` | `varchar2` |  | [ ] |  |  |
| `partner_id_label` | `varchar2` |  | [ ] |  |  |
| `post_content` | `varchar2` | Post Content | [ ] |  |  |
| `post_datetime` | `datetime` | Post Datetime | [ ] |  |  |
| `post_link` | `varchar2` | Post Link | [ ] |  |  |
| `social_account_id` | `varchar2` |  | [ ] |  |  |
| `social_account_id_label` | `varchar2` |  | [ ] |  |  |
| `social_stream_post_id` | `varchar2` |  | [ ] |  |  |
| `social_stream_post_id_label` | `varchar2` |  | [ ] |  |  |
| `utm_campaign_id` | `varchar2` |  | [ ] |  |  |
| `utm_campaign_id_label` | `varchar2` |  | [ ] |  |  |
| `utm_medium_id` | `varchar2` |  | [ ] |  |  |
| `utm_medium_id_label` | `varchar2` |  | [ ] |  |  |
| `utm_source_id` | `varchar2` |  | [ ] |  |  |
| `utm_source_id_label` | `varchar2` |  | [ ] |  |  |
| `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)

