- Mailing Lists
- Contributors
- Re: Async import external employee data from db view to Odoo.
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
RE: Async import external employee data from db view to Odoo.
Re: Async import external employee data from db view to Odoo.
Re: Async import external employee data from db view to Odoo.
Nice modules :-)
In Odoo 12, I currently using very small modules for importing from MSSQL.
https://github.com/Bilbonet/external-dbsource
In Odoo 13 I will start to use these modules and help if is possible.
Thank you!
De: Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
Enviado el: lunes, 1 de marzo de 2021 10:07
Para: Contributors <contributors@odoo-community.org>
Asunto: Re: Async import external employee data from db view to Odoo.
Thank you very much Simone, for the helpful hint.
I guess I will do "connector_importer_external_dbsource".
Thank you!
On Mon, Mar 1, 2021 at 3:06 PM Simone Orsi <simahawk@gmail.com> wrote:
On Mon, Mar 1, 2021 at 7:47 AM Kitti Upariphutthiphong <kittiu@ecosoft.co.th> wrote:
Thank you Simon! I could help to write more readme afterwards :)
I checked it and it looks like what we wanted to do, except it only deal with .CSV file at the moment. So I will need to create the new import component handler for MSSQL, right?
As you mentioned, you did it for Oracle DB?
Yes, but it's quite easy.
Each step of the import machinery it's separated. What you have to do is to create your own source model which provides a `_get_lines` method which returns a list of dict. The rest of the system does not care where you pick data from.
Here you see an example using another Odoo instance as source (I've used it to migrate records from an old v9 to a new v11 live).
Then depending on the complexity of your import you'll have to define one or mappers. It's unlikely that you have to define specific importers, especially if you use https://github.com/OCA/connector-interfaces/pull/76 (which might benefit from some reviews ;) ).
Kitti U.
On Sun, Feb 28, 2021 at 6:11 PM Simone Orsi <simahawk@gmail.com> wrote:
Hi Kitti,
connector_importer was born exactly for this reason: recurring imports.
I've used it for importing employees and users and more (even from Oracle DB).
Docs are missing so if you have questions, don't hesitate to ask.
Cheers,
S.
On Sun, Feb 28, 2021 at 9:52 AM Kitti Upariphutthiphong <kittiu@ecosoft.co.th> wrote:
Dear Community,
We need to get data from external HR applications (they will provide an mssql database view), for users and employee data into Odoo.
It seems to be quite a generic use case, to become an addon, so I want to check with community, would be nice to know how you normally cope with this.
I checked OCA and plan to use the followings as starting point.
Thank you!
Kitti U.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Kitti Upariphutthiphong - 05:35 - 3 Mar 2021
Reference
-
Async import external employee data from db view to Odoo.
Dear Community,We need to get data from external HR applications (they will provide an mssql database view), for users and employee data into Odoo.It seems to be quite a generic use case, to become an addon, so I want to check with community, would be nice to know how you normally cope with this.I checked OCA and plan to use the followings as starting point.Thank you!Kitti U.
by Kitti Upariphutthiphong - 09:51 - 28 Feb 2021