run openerp file.py in terminal

Asked by ange bouabre

Can anyone tell me how to run openerp python file in a terminal??? thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
filsys (office-filsystem) said :
#1

$python file.py

Revision history for this message
Numérigraphe (numerigraphe) said :
#2

Don't expect to get much out of this however, because OpenERP is a 3 tiers application and the python files are not meant to be used directly.
If you want to script OpenERP actions, you best move for the moment is to write a script using XML-RPC to interact with a running OpenERP server.
Lionel.

Can you help with this problem?

Provide an answer of your own, or ask ange bouabre for more information if necessary.

To post a message you must log in.