OpenERP Client Options [GTK]
There are a number of options available for users and developers with the OpenERP GTK client for passing for passing default values and make the process of development and debugging easier. Here is an attempt to reveal some of the options available with the OpenERP client.
To list out all the available options just use the option '--help' as given below. It would list out the possible list of options.
>>./openerp-client.py --help
You can see the options -p, -s and -u which can respectively be used to pass default values to client for 'port', server 'ip' or 'name' and the user name.
Samples
#1. Prefilling Server details
>>./openerp-client.py -u admin -s 192.168.85.230 -p 8070
>>./openerp-client.py -u admin -s localhost -p 8080
Samples
#1. Prefilling Server details
>>./openerp-client.py -u admin -s 192.168.85.230 -p 8070
>>./openerp-client.py -u admin -s localhost -p 8080
Fig 2. sample prefilled server details
#2. Opening Debug Mode
>>./openerp-client.py -v
As you can see this option starts the client in verbose mode which enables us to know the details of the form in perspective of a developer like field name. It has improved very much in version 6. Where it shows much more details regarding a field like domain, model name, function name for function field etc.
Fig 3. Verbose mode version 5
Fig 4. Verbose mode version 6