Re: [tryton-dev] New module sale_rebate (issue66001)

2011-07-18 Thread Rob Martin
I prefer rebate in this case, especially if the rebate can be recorded as an expense. I haven't reviewed the code. Is that possible? On Jul 18, 2011 6:31 PM, "Ian Wilson" wrote: > On Sun, Jul 17, 2011 at 2:05 PM, wrote: > >> Reviewers: , >> >> >> >> Please review this at http://codereview.tryton

Re: [tryton-dev] New module sale_rebate (issue66001)

2011-07-18 Thread Ian Wilson
On Sun, Jul 17, 2011 at 2:05 PM, wrote: > Reviewers: , > > > > Please review this at > http://codereview.tryton.org/**66001/ > > Affected files: > A COPYRIGHT > A INSTALL > A LICENSE > A MANIFEST.in > A README > A __init__.py > A __tryton__.py > A doc

Re: [tryton-dev] How Can I extend view?

2011-07-18 Thread Cédric Krier
On 18/07/11 05:38 -0700, oscar_andres_col wrote: > Hi, Boys > > I am trying to develop a new Tryton module for Vistors Control in > Companies, but it is neccesary that the models view form have widgets > such as: >- gtk.Image >- gtk.FileSelection >- maybe other widgets... You can

Re: [tryton-dev] Remove NetRPC

2011-07-18 Thread Cédric Krier
On 17/07/11 11:51 +0200, Cédric Krier wrote: > I propose to write a small python module that use httplib to support jsonrpc > request. Here are the patches [1] and [2]. On the client patch, I created a jsonrpc module that I could use to add JSON-RPC support to Proteus. Please report any issues an

[tryton-dev] Drop NetRPC and activate JSON-RPC by default (issue66002)

2011-07-18 Thread cedric . krier
Reviewers: , Please review this at http://codereview.tryton.org/66002/ Affected files: M CHANGELOG M etc/trytond.conf M trytond/config.py M trytond/protocols/common.py M trytond/protocols/jsonrpc.py R trytond/protocols/netrpc.py M trytond/protocols/xmlrpc.py R trytond/pysocket.

[tryton-dev] Use JSON-RPC (issue67001)

2011-07-18 Thread cedric . krier
Reviewers: , Please review this at http://codereview.tryton.org/67001/ Affected files: M CHANGELOG M tryton/common/common.py M tryton/config.py M tryton/exceptions.py M tryton/fingerprints.py M tryton/gui/main.py M tryton/gui/window/dbcreate.py M tryton/gui/window/dbdumpdrop.py

Re: [tryton-dev] How Can I extend view?

2011-07-18 Thread Rodrigo Hübner
Hi Oscar, I'm also developing a widget and I had these doubts... First you must create a widget and put in tryton/gui/window/view_form/view/form_gtk/ After it must declared your widget at final of parser.py file in the same path. Follow the same way it is stated the other widgets... In the server

[tryton-dev] How Can I extend view?

2011-07-18 Thread oscar_andres_col
Hi, Boys I am trying to develop a new Tryton module for Vistors Control in Companies, but it is neccesary that the models view form have widgets such as: - gtk.Image - gtk.FileSelection - maybe other widgets... How can I include this Widgets in XML model view form? A little example