On 09/04/12 04:28 -0700, kostas wrote:
> The above script works for the current company of user 'admin'.
> How can I change the current company in the proteus script ?
Since 2.2, the current company can be changed with the context.
In proteus, the context is defined on the config object but it is
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='t