con este patch se corrige el error.
Gracias oscar por tu tiempo.
Puedo decir que estoy aprendiendo a usar presik gracias oscar.

El domingo, 6 de septiembre de 2015, 20:38:01 (UTC-5), Jamil Enriquez 
Deceano escribió:
>
> Traceback (most recent call last):
>   File "pospro", line 20, in <module>
>     client.main(conn, params)
>   File "/home/ja1000/Devel/presik/presik_pos_client_qt5/pos/client.py", 
> line 52, in main
>     mw = mainwindow.MainWindow(conn, params)
>   File 
> "/home/ja1000/Devel/presik/presik_pos_client_qt5/pos/interface/mainwindow.py",
>  
> line 81, in __init__
>     self.set_printing_context()
>   File 
> "/home/ja1000/Devel/presik/presik_pos_client_qt5/pos/interface/mainwindow.py",
>  
> line 190, in set_printing_context
>     self._context
>   File "/usr/lib/python3.4/xmlrpc/client.py", line 1105, in __call__
>     return self.__send(self.__name, args)
>   File 
> "/home/ja1000/Devel/presik/presik_pos_client_qt5/pos/proteus/jsonrpc.py", 
> line 281, in __request
>     raise Fault(*response['error'])
> pos.proteus.jsonrpc.Fault: <Fault '"party.party,1" has no attribute 
> "city"': 'Traceback (most recent call last):\n  File 
> "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch\n   
>  response[\'result\'] = dispatch_method(method, params)\n  File 
> "/trytond/protocols/jsonrpc.py", line 191, in _dispatch\n    res = 
> dispatch(*args)\n  File "/trytond/protocols/dispatcher.py", line 158, in 
> dispatch\n    result = rpc.result(meth(*c_args, **c_kwargs))\n  File 
> "/site-packages/trytonpsk_sale_pos_printer-3.6.0-py2.7.egg/trytond/modules/sale_pos_printer/sale.py",
>  
> line 75, in get_printing_context\n    \'phone\': company.party.phone or 
> \'\',\n  File "/trytond/model/modelstorage.py", line 1196, in __getattr__\n 
>    raise AttributeError(\'"%s" has no attribute "%s"\' % (self, 
> name))\nAttributeError: "party.party,1" has no attribute "city"\n'>
>
>
> ======================================================================================
> mi concifuracion cliente presik
>
>
> [General]
> #Valid protocols: xml, json, local
> protocol=json
> server=10.10.10.104
> port=8000
> database=devtryton
> user=admin
>
>
> #########################################
> # Printer and Display Port
> # For Unix use eg:  /dev/lp0 or /dev/usb/lp0
> # For Windows use eg:  >USER>NAMEPRINTER
> #########################################
>
> #printer_port=/dev/usb/lp0
> printer=PDF
>
> # ROW CHARACTERS: 33 or 48
> # --- EPSON 33 or 48
> # --- DYMO 28
> #row_characters=33
>
> # cups or escpos
> printing_interface=cups
>
> printing_taxes=False
>
>
> #########################################
> active_timeout=True
> timeout=10000
> touchpad=False
> logo=False
> number_receipt=False
>
> # Discount method for apply to unit price: percentage or fixed
> discount_method=fixed
>
> # Mode of window: fullscreen or maximized
> mode_window=maximized
>
> locale=es_MX.UTF-8
> language=es_MX
>
>
>
>
>

Responder a