Re: [tryton] print report to csv
but my problem is when i export file to csv, I must choose the field every time to export data... Can I set automatic to export this field... On Fri, Oct 19, 2012 at 7:29 PM, mohit sarla wrote: > Sir,I am not sure but...go to the setting or we can say the the tool > icon in the tryton framework..select export data and choose fields and > add them now click to ok button .csv is open...please reply f i m rght > or wrong > On Fri, Oct 19, 2012 at 4:07 PM, pjalrimba rimbabara > wrote: > > Dear all > > How can I print my report system tryton to csv file... > > > > -- > > -- > > tryton@googlegroups.com mailing list > > > > > > > > > > -- > Mohit Sarla > > -- > -- > tryton@googlegroups.com mailing list > > > > -- -- tryton@googlegroups.com mailing list
[tryton] print report to csv
Dear all How can I print my report system tryton to csv file... -- -- tryton@googlegroups.com mailing list
Re: [tryton] DOCTORS EVALUATION ON GNUHEALTH
try to install heath_history On Wed, Jul 25, 2012 at 4:00 PM, suraj wrote: > Hello on gnuhealth pls what module do I install to get doctors evaluation? > I have install heath services module but I can only see patients evaluation > but not doctors also is it possible to be able to know how many patients we > have in a particular months? > > -- > -- > tryton@googlegroups.com mailing list > > > > -- -- tryton@googlegroups.com mailing list
[tryton] How to enable delete button at client
How to enable delete button at client because if I download tryton 1.8, the delete button is enable. -- -- tryton@googlegroups.com mailing list
Re: [tryton] Invoice creation
You can try download manual tryton On Tue, Jul 3, 2012 at 10:02 PM, avfc services wrote: > I am facing a problem in following steps : > create new draft invoice ---> create new invoice line ---> create new > account ---> create new account type > assigning company > > In above steps i unable to assign the company , kindly help me to > assign the company. > > -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
Re: [tryton] Re: error running gnuhealth
I think you try update database # trytond -d -u all On Tue, Jul 3, 2012 at 10:54 PM, suraj wrote: > Thanks for the reply but i have updated phyton the error is still there > but when i created another database i connected successfully does this > error have anything to do with database? > > > On Monday, 2 July 2012 16:01:18 UTC+1, suraj wrote: >> >> hi i dont know if anyone has encounter this error b4 on >> gnuhealth...everything was working fyn then suddenly i get this error when >> i try to connect to trytond-server, >> "File "/usr/bin/tryton", line 52, in >> tryton.client.TrytonClient().**run() >> >> File "/usr/local/lib/python2.6/**dist-packages/tryton/client.**py", >> line 118, in run >> main.sig_login() >> >> File "/usr/local/lib/python2.6/**dist-packages/tryton/gui/main.**py", >> line 936, in sig_login >> self.sig_win_menu(prefs=**prefs) >> >> File "/usr/local/lib/python2.6/**dist-packages/tryton/gui/main.**py", >> line 1064, in sig_win_menu >> if action.get('views', []):" >> >> -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
Re: [tryton] error running gnuhealth
try to update pyhton On Mon, Jul 2, 2012 at 11:01 PM, suraj wrote: > hi i dont know if anyone has encounter this error b4 on > gnuhealth...everything was working fyn then suddenly i get this error when > i try to connect to trytond-server, > "File "/usr/bin/tryton", line 52, in > tryton.client.TrytonClient().run() > > File "/usr/local/lib/python2.6/dist-packages/tryton/client.py", line > 118, in run > main.sig_login() > > File "/usr/local/lib/python2.6/dist-packages/tryton/gui/main.py", line > 936, in sig_login > self.sig_win_menu(prefs=prefs) > > File "/usr/local/lib/python2.6/dist-packages/tryton/gui/main.py", line > 1064, in sig_win_menu > if action.get('views', []):" > > -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
[tryton] how to setting user access
Anybody can tech me how to make user access. If I Admin I just to see a Party only. Not see the product or another menu. Thanks. -- tryton@googlegroups.com mailing list
Re: [tryton] proble with attachment tryton
Ok thanks sudo chmod a+rw /var/lib and it working Thank you On Thu, Jun 21, 2012 at 2:47 PM, Cédric Krier wrote: > On 20/06/12 19:54 -0700, pjalrimba rimbabara wrote: > > Dear all > > I have a problem with the attachment using tryton. When I save my > document > > at attachment this error appear: > > > > OSError: [Errno 13] Permission denied: '/var/lib/trytond/ > > > > How to resolve this problem... > > By reading the error message: > >Permission denied: '/var/lib/trytond/ > > so give write permission to trytond user to /var/lib/trytond/ directory > > -- > Cédric Krier > > B2CK SPRL > Rue de Rotterdam, 4 > 4000 Liège > Belgium > Tel: +32 472 54 46 59 > Email/Jabber: cedric.kr...@b2ck.com > Website: http://www.b2ck.com/ > -- -- tryton@googlegroups.com mailing list
[tryton] proble with attachment tryton
Dear all I have a problem with the attachment using tryton. When I save my document at attachment this error appear: OSError: [Errno 13] Permission denied: '/var/lib/trytond/ How to resolve this problem... -- -- tryton@googlegroups.com mailing list
[tryton] Auto Id
Hai everybody I just to know how to make auto ID example 1,2,3,4,5,6,7, Please help me with coding -- tryton@googlegroups.com mailing list
Re: [tryton] print report one2many
thank you On Mon, Dec 19, 2011 at 7:21 PM, Nicolas Évrard wrote: > * pjalrimba rimbabara [2011-12-19 05:45 +0100]: > >> When i try to print report one2many this error out: How can I define >> my class in report. >> >> Traceback (most recent call last): >> File "/trytond/protocols/jsonrpc.**py", line 108, in >> _marshaled_dispatch >> response['result'] = dispatch_method(method, params) >> File "/trytond/protocols/jsonrpc.**py", line 147, in _dispatch >> res = dispatch(*args) >> File "/trytond/protocols/**dispatcher.py", line 155, in dispatch >> res = getattr(obj, method)(*args_without_context, **kargs) >> File "/trytond/report/report.py", line 134, in execute >> type, data = self.parse(action_report, objects, datas, {}) >> File "/trytond/report/report.py", line 258, in parse >> data = rel_report(**localcontext).**render() >> File "/relatorio/templates/base.py"**, line 36, in render >> return self.serializer(self.events) >> File "/relatorio/templates/**opendocument.py", line 753, in __call__ >> for kind, data, pos in stream: >> File "/genshi/core.py", line 288, in _ensure >> for event in stream: >> File "/genshi/filters/i18n.py", line 683, in __call__ >> for kind, data, pos in stream: >> File "/genshi/template/base.py", line 605, in _include >> for event in stream: >> File "/genshi/template/markup.py", line 327, in _match >> for event in stream: >> File "/genshi/template/base.py", line 545, in _flatten >> for kind, data, pos in stream: >> File "/genshi/template/directives.**py", line 359, in __call__ >> iterable = _eval_expr(self.expr, ctxt, vars) >> File "/genshi/template/base.py", line 277, in _eval_expr >> retval = expr.evaluate(ctxt) >> File "/genshi/template/eval.py", line 178, in evaluate >> return eval(self.code, _globals, {'__data__': data}) >> File "/genshi/template/eval.py", line 309, in lookup_name >> val = cls.undefined(name) >> File "/genshi/template/eval.py", line 410, in undefined >> raise UndefinedError(key, owner=owner) >> UndefinedError: "employee" not defined >> > > I guess you're writing a custom report. > In the company module there is an example of how to add a 'variable' > in the context of the report (look for CompanyReport). > > -- > Nicolas Évrard > > B2CK SPRL > rue de Rotterdam, 4 > 4000 Liège > Belgium > Tel: +32 472 54 46 59 > E-mail/Jabber: nicolas.evr...@b2ck.com > Website: http://www.b2ck.com/ > > -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
[tryton] print report one2many
When i try to print report one2many this error out: How can I define my class in report. Traceback (most recent call last): File "/trytond/protocols/jsonrpc.py", line 108, in _marshaled_dispatch response['result'] = dispatch_method(method, params) File "/trytond/protocols/jsonrpc.py", line 147, in _dispatch res = dispatch(*args) File "/trytond/protocols/dispatcher.py", line 155, in dispatch res = getattr(obj, method)(*args_without_context, **kargs) File "/trytond/report/report.py", line 134, in execute type, data = self.parse(action_report, objects, datas, {}) File "/trytond/report/report.py", line 258, in parse data = rel_report(**localcontext).render() File "/relatorio/templates/base.py", line 36, in render return self.serializer(self.events) File "/relatorio/templates/opendocument.py", line 753, in __call__ for kind, data, pos in stream: File "/genshi/core.py", line 288, in _ensure for event in stream: File "/genshi/filters/i18n.py", line 683, in __call__ for kind, data, pos in stream: File "/genshi/template/base.py", line 605, in _include for event in stream: File "/genshi/template/markup.py", line 327, in _match for event in stream: File "/genshi/template/base.py", line 545, in _flatten for kind, data, pos in stream: File "/genshi/template/directives.py", line 359, in __call__ iterable = _eval_expr(self.expr, ctxt, vars) File "/genshi/template/base.py", line 277, in _eval_expr retval = expr.evaluate(ctxt) File "/genshi/template/eval.py", line 178, in evaluate return eval(self.code, _globals, {'__data__': data}) File "/genshi/template/eval.py", line 309, in lookup_name val = cls.undefined(name) File "/genshi/template/eval.py", line 410, in undefined raise UndefinedError(key, owner=owner) UndefinedError: "employee" not defined -- tryton@googlegroups.com mailing list
Re: [tryton] upload file
I just to know coding to upload file and image becaus i'm new bie with python and xml...If you have answer please give to me... On Fri, Dec 9, 2011 at 7:28 PM, Cédric Krier wrote: > On 09/12/11 01:43 -0800, pjalrimba rimbabara wrote: > > How to upload file,image..? > > You must be more precise with your questions if you want that someone > was able to answer. > Please give a scenario of your needs? > > -- > Cédric Krier > > B2CK SPRL > Rue de Rotterdam, 4 > 4000 Liège > Belgium > Tel: +32 472 54 46 59 > Email/Jabber: cedric.kr...@b2ck.com > Website: http://www.b2ck.com/ > -- tryton@googlegroups.com mailing list
[tryton] upload file
How to upload file,image..? -- tryton@googlegroups.com mailing list
[tryton] remove module
How to remove module -- tryton@googlegroups.com mailing list
[tryton] confius about my_module.my_report
Can anybody explain to me what is my_module.my_report . Invoice account.invoice account.invoice my_module/my_report module_name/header_A4.odt report_name: The name of the report model, for example my_module.my_report. This is the name you would use with pool.get -- tryton@googlegroups.com mailing list
[tryton] create report at excel
hai anybody can help me . How to create report at excel -- tryton@googlegroups.com mailing list
[tryton] tab
Hai member in tryton group. Can anybody help me to make coding tab at module. -- tryton@googlegroups.com mailing list
Re: [tryton] problem with print report Hello World
k thank you i resolve this problem. Thank you very much. So simple... On Sun, Nov 27, 2011 at 3:34 AM, Craig Barnes wrote: > Hi Pjalrimba, > > On 24 November 2011 01:03, pjalrimba rimbabara > wrote: > > Yes i just copy tutorial Hello World. For user i using administrator and > i > > can access right the file. > >> > Any body help me , I cannot print report Hello World. This is error or > >> > bug when i click the Button print > >> > > >> > Traceback (most recent call last): > >> > File "/trytond/protocols/netrpc.py", line 51, in run > >> >res = dispatch(host, port, 'NetRPC', *msg) > >> > File "/trytond/protocols/dispatcher.py", line 145, in dispatch > >> >res = getattr(obj, method)(*args, **kargs) > >> > File "/trytond/report/report.py", line 117, in execute > >> >type, data = self.parse(action_report, objects, datas, {}) > >> > File "/trytond/report/report.py", line 154, in parse > >> >raise Exception('Error', 'Missing report file!') > >> > Exception: ('Error', 'Missing report file!') > > >> > >> If you are sure that the file is in the correct place with the right > >> file name, the only thing that I can think of is; > >> > >> What user does Tryton run as? > >> Does that user have access rights to the file? > >> > > Just tried the the hello module again for myself on Tryton 2.2 and it > wouldn't list the report in Tryton for me. > > I compared this xml to that found in the party module, the only > significant difference I could find was a value within the > ir.action.keyword section. > The wiki states:- > >hello.hello,0 > changing this line to >hello.hello,-1 > Seems to work for me. > > Not sure why this works, and I doubt it's going to correct your error. > > Even still HTH > > If not, What platform are you running on? > Where on your system is Tryton running from? > Which Tryton Version? > Which Python version are you using? > > -- > Craig > > () ascii ribbon campaign - against html mail > /\ > > -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
[tryton] coding simple print report
Hello anybody how to make simple print report. -- tryton@googlegroups.com mailing list
[tryton] error xml
I try to make module medical. This is error i found. Can anybody help me to resolve this module. Traceback (most recent call last): File "/trytond/protocols/netrpc.py", line 51, in run res = dispatch(host, port, 'NetRPC', *msg) File "/trytond/protocols/dispatcher.py", line 145, in dispatch res = getattr(obj, method)(*args, **kargs) File "/trytond/wizard/wizard.py", line 119, in execute action_res = getattr(self, action)(data) File "/trytond/ir/module/module.py", line 519, in _upgrade_module pool.init(update=True, lang=lang) File "/trytond/pool.py", line 127, in init lang=lang) File "/trytond/modules/__init__.py", line 435, in load_modules load_module_graph(graph, pool, lang) File "/trytond/modules/__init__.py", line 253, in load_module_graph tryton_parser.parse_xmlstream(fp) File "/trytond/convert.py", line 432, in parse_xmlstream self.sax_parser.parse(source) File "/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/xml/sax/expatreader.py", line 301, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/trytond/convert.py", line 450, in startElement self.taghandler.startElement(name, attributes) File "/trytond/convert.py", line 61, in startElement action_id = self.mh.get_id(values['action']) File "/trytond/convert.py", line 496, in get_id ".".join([module,xml_id])) Exception: Reference to medicaled.act_medical_world_form not found This is my coding. medicaled.xml medicaled.medicaled tree medicaled.medicaled form Emerging Diseases medicaled.medicaled __init__.py from medicaled import * medicaled.py from trytond.model import ModelView, ModelSQL, fields class emerging_disease(ModelSQL, ModelView): 'EmergingDisease' _name = 'medicaled.medicaled' _description = __doc__ _columns = { 'patient' : fields.Char ('First Case',help="First identified and confirmed case"), 'disease' : fields.Char ('Disease'), 'region' : fields.Char ('Region'), 'transmission' : fields.Selection([ ('water', 'Water'), ('soil', 'Soil'), ('fluids', 'Body Fluids'), ],'Transmission',required=True) , 'organism' : fields.Selection([ ('bacteria', 'bacteria'), ('virus', 'virus'), ('parasite', 'parasite'), ],'Organism',required=True), 'highly_contagious' : fields.Boolean ('Highly Contagious'), 'brief_info' : fields.Char ('Brief description', size=256), 'notes' : fields.Text ('Notes'), } _defaults = { 'highly_contagious': lambda * a : True } emerging_disease () __tryton__.py { 'name' : 'GNU Health : Emerging Diseases DEMO module', 'version' : '1.0', 'author' : 'GNU Solidario', 'category' : 'Generic Modules/Others', 'website' : 'http://medical.sourceforge.net', 'description' : 'Hello', 'depends' : [ 'ir', ], 'xml' : [ 'medicaled.xml', ], 'translation': [ ], } -- tryton@googlegroups.com mailing list
Re: [tryton] problem with print report Hello World
Yes i just copy tutorial Hello World. For user i using administrator and i can access right the file. On Thu, Nov 24, 2011 at 4:37 AM, Craig Barnes wrote: > On 23 November 2011 03:25, pjalrimba rimbabara > wrote: > > Any body help me , I cannot print report Hello World. This is error or > > bug when i click the Button print > > > > Traceback (most recent call last): > > File "/trytond/protocols/netrpc.py", line 51, in run > >res = dispatch(host, port, 'NetRPC', *msg) > > File "/trytond/protocols/dispatcher.py", line 145, in dispatch > >res = getattr(obj, method)(*args, **kargs) > > File "/trytond/report/report.py", line 117, in execute > >type, data = self.parse(action_report, objects, datas, {}) > > File "/trytond/report/report.py", line 154, in parse > >raise Exception('Error', 'Missing report file!') > > Exception: ('Error', 'Missing report file!') > > Hi Pjalrimba, > > If you are sure that the file is in the correct place with the right > file name, the only thing that I can think of is; > > What user does Tryton run as? > Does that user have access rights to the file? > > HTH > -- > Craig > > () ascii ribbon campaign - against html mail > /\ > > -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
Re: [tryton] problem with print report Hello World
Capital 'W' is correct i follow tutorial Hello World. http://code.google.com/p/tryton/wiki/HelloWorld Hello hello.hello hello.helloworld helloWorld/hello.odt form_print hello.hello,0 On Wed, Nov 23, 2011 at 7:30 PM, Bertrand Chenal wrote: > Le Tue, 22 Nov 2011 19:25:45 -0800 (PST), > pjalrimba rimbabara a écrit : > > > Any body help me , I cannot print report Hello World. This is error or > > bug when i click the Button print > > > > > > > id="act_hello_form_view2"> > > > > > > > > > > > > Hello > > hello.hello > > hello.helloworld > > helloWorld/hello.odt > > > Double check for typo on this line (is the capital W correct?) > > > -- > Bertrand Chenal > > B2CK SPRL > Rue de Rotterdam, 4 > 4000 Liège > Belgium > Email: bertrand.che...@b2ck.com > Website: http://www.b2ck.com/ > > -- > tryton@googlegroups.com mailing list > -- tryton@googlegroups.com mailing list
[tryton] problem with print report Hello World
Any body help me , I cannot print report Hello World. This is error or bug when i click the Button print Traceback (most recent call last): File "/trytond/protocols/netrpc.py", line 51, in run res = dispatch(host, port, 'NetRPC', *msg) File "/trytond/protocols/dispatcher.py", line 145, in dispatch res = getattr(obj, method)(*args, **kargs) File "/trytond/report/report.py", line 117, in execute type, data = self.parse(action_report, objects, datas, {}) File "/trytond/report/report.py", line 154, in parse raise Exception('Error', 'Missing report file!') Exception: ('Error', 'Missing report file!') This is my coding __init__.py from hello import * __tryton__.py { 'name' : 'Hello World', 'version' : '0.0.1', 'author' : 'nickname', 'email': 'cor...@example.com', 'website': 'http://www.tryton.org/', 'description': 'Hello World with menus', 'depends' : [ 'ir', ], 'xml' : [ 'hello.xml', ], 'translation': [ ], } hello.xml hello.hello tree hello.hello form Hello World hello.hello Hello hello.hello hello.helloworld helloWorld/hello.odt form_print hello.hello,0 hello.odt Then I follow this Insert->Fields->Others..., in the tag 'Functions', with the type 'Placeholder' and the format 'Text', and fill the field Placeholder with each line, vg: 'for each="hello in objects"'. Insert->Fields->Others..., in the tag 'Functions', with the type 'Placeholder' and the format 'Text', and fill the field Placeholder with each line, vg: 'hello.name'. Insert->Fields->Others..., in the tag 'Functions', with the type 'Placeholder' and the format 'Text', and fill the field Placeholder with each line, vg: '/for'. -- tryton@googlegroups.com mailing list
[tryton] video create hello world
Good evening to all group tryton I'm newbie in tryton so i'm interested about this. If anybody in group tryton have simple video how to create module. hello world or any module. Thank you very much. -- tryton@googlegroups.com mailing list
[tryton] make development trytond
Good Morning I'm interested about tryton. Do you have tutorial development tryton. Ho to make basic module. If do you have can reply to me. Thank you -- tryton@googlegroups.com mailing list