Hello !
I'm new with Oddo 10. I'm trying to do some integration with another ERP and I want to send newly created sales orders to a message queue.
I want to do this through a server action with pyhton code but it seems you cannot use "import" in this code to add external libraries.
How would I do that ! Do I have to create a new odoo module ? If so, how do I refer to it from my python code inside the server action ?
Thanks !
Hugues
Why don't you use an automated scheduler if you'd like to do this every x time? If you wish to do it on save or create you could do it in the create or write function and call your external service there. Any specific requirement that made you choose for a server action to do this?