Hello,
I am using the proteus library in python scripts in order to import
and export data from a trytond server.
for example:

from proteus import config, Model

def main(args):
  ... do something ...

if __name__ == '__main__':
  config.set_trytond(user='admin', password='admin',
database_name='trytondb')
  main(sys.argv)

The above script works for the current company of user 'admin'.
How can I change the current company in the proteus script ?

-- 
[email protected] mailing list

Reply via email to