← Back to team overview

openerp-connector-community team mailing list archive

Re: Database definition in ConnectorSessionHandler

 

Thank you . Walter.

 

I wrote int the openerp-sercer.conf:

 

db_name = voxster_p1_24072014

 

and

 

workers = 0

 

now the variables in ConnectorSessionHandler.py are set and it works.

Von: Walter Vargas [mailto:waltervargas@xxxxxxxxx] 
Gesendet: Samstag, 26. Juli 2014 09:56
An: joe@xxxxxxxxxx
Cc: Guewen Baconnier; openerp-connector-community@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Openerp-connector-community] Database definition in ConnectorSessionHandler

 

Hello, 

 

VOXSTER_P1_25072014 must be between quotes.

 

2014-07-25 5:09 GMT-04:30 <joe@xxxxxxxxxx>:

Dear all

 

How can I make sure that connector.py select the right database? I changed the self.db_name to the actual db in ConnectorSessionHandler.py

 

    def __init__(self, db_name, uid, context=None):

        self.db_name = VOXSTER_P1_25072014

        self.uid = uid

        self.context = {} if context is None else context

 

Any help would be appreciated.

 

Thank you 

 

Joe

 


--
Mailing list: https://launchpad.net/~openerp-connector-community
Post to     : openerp-connector-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-connector-community
More help   : https://help.launchpad.net/ListHelp





 

-- 
Walter Vargas 
Linux id:268566
Debian of course!
Táchira - Venezuela 


References