Community mailing list archives

community@mail.odoo.com

Re: Imports in Server Actions

by
Graeme Gellatly
- 05/13/2016 01:35:10
I could well be wrong but I think the answer is no.

From memory you get only the time library.  It uses a safe evaluation mechanism so using the keyword import would likely fail.

On Fri, May 13, 2016 at 4:02 PM, Luis Miguel Sarabia <luismiguel.sarabia@gmail.com> wrote:
Hi Mohamed,

Thanks for your answer.

I did not ask about importing data. 

My question is if in the action servers any python library could be used by importing them?



2016-05-11 0:52 GMT-05:00 mohamed mostafa <mohamedmtloob87@gmail.com>:
Yes its possible
Not depend on what library to use its depends on migrate the date source to destination in Odoo.
Ex: If you take about entering csv file read it line by line and entering it in Odoo.

Regards
Mohamed Mtloob

From: Luis Miguel Sarabia
Sent: ‏11/‏05/‏2016 01:46 ص
To: Community
Subject: Imports in Server Actions

Hi,

Is it possible to use import in Server Actions?

If yes , which libraries could be imported? And how?

Thanks a lot,

--
Luis Miguel Sarabia

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Luis Miguel Sarabia

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe