Community mailing list archives
Re: Imports in Server Actionsby
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 <firstname.lastname@example.org> 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 <email@example.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.
Mohamed MtloobHi,Is it possible to use import in Server Actions?If yes , which libraries could be imported? And how?Thanks a lot,--Luis Miguel Sarabia--Luis Miguel Sarabia