IRC logs of #tryton for Sunday, 2013-03-10

chat.freenode.net #tryton log beginning Sun Mar 10 00:00:09 CET 2013
2013-03-10 11:27 <basman> I got a bug while I'm paying an invoice partially and I found the issue in bug tracker by the help of Mr Cédric Krier. Here is the issue: https://bugs.tryton.org/issue2953 but I don't know how to apply the patch. Could any body tell me how ?
2013-03-10 11:46 <basman> How I could apply a patch ?
2013-03-10 13:04 <basman> How to patch a file
2013-03-10 14:52 -!- Telesight(~anthony@77.175.68.233) has left #tryton
2013-03-10 14:55 <shomon> hi
2013-03-10 14:55 <shomon> how do I link nagios to tryton?
2013-03-10 14:55 <shomon> I want to check it's up and running...
2013-03-10 15:54 <cedk> basman: no need to apply, it is already on trunk and 2.6
2013-03-10 15:56 <basman> cedk: but I still get the error message when I try to pay an invoice partially, what should I do then ?
2013-03-10 15:56 <cedk> basman: what version are you running ?
2013-03-10 15:57 <basman> 2.6 , I've installed it using pip about a week ago
2013-03-10 15:58 <cedk> basman: 2.6 is not a version number
2013-03-10 15:59 <basman> cedk: , what recent version pip will install?, that should be my version
2013-03-10 16:00 <cedk> basman: check the files !!!!
2013-03-10 16:00 <basman> cedk: I don't have access to the server I've installed tryton on right now
2013-03-10 16:00 <cedk> basman: I can not answer base on assumption
2013-03-10 16:00 <shomon> hi, any idea how I can monitor tryton?
2013-03-10 16:00 <shomon> with nagios.. or is there a url to check that it's up?
2013-03-10 16:00 <cedk> basman: come later when you will have
2013-03-10 16:01 <basman> cedk: I will check the version number and get back to u later, thx brother.
2013-03-10 16:02 <cedk> shomon: trytond answer to json-rpc
2013-03-10 16:04 <shomon> hmm, so I can't just point nagios at a url?
2013-03-10 16:04 <shomon> well on an 8000 port
2013-03-10 16:05 <cedk> shomon: don't know nagios
2013-03-10 16:05 <cedk> shomon: any way, such stuff must be tested
2013-03-10 16:06 <shomon> sorry what stuff?
2013-03-10 16:06 <cedk> shomon: nagios configuration
2013-03-10 16:06 <shomon> nagios in it's simplest form just periodically checks a url and if the response matches what it likes.. it's fine
2013-03-10 16:07 <shomon> if I connected via json, would it connect to server.pyc?
2013-03-10 16:07 <cedk> shomon: don't understand the question
2013-03-10 16:09 <shomon> when you connect via tryton to a trytond service running on myserver.com:8000, what does it actually connect to?
2013-03-10 16:10 <shomon> maybe myserver.com:8000/something.xml?
2013-03-10 16:13 <cedk> shomon: still don't understand: it connects to host: myserver.com on port 8000
2013-03-10 16:14 <shomon> well in json, you connect for example to "http://admin:admin@localhost:8000"
2013-03-10 16:14 <shomon> but I'm trying to find out what it acutally connects to within json
2013-03-10 16:14 <shomon> but yeah I guess that's a nagios question re any json
2013-03-10 16:23 <basman> How I could change the date format for invoice or any other kind of report?
2013-03-10 16:27 <basman> I want to change the date format from month/day/year to day/month/year
2013-03-10 16:28 <shomon> not sure, sorry
2013-03-10 16:31 <basman> cedk: do you have an answer for my question ?
2013-03-10 16:59 <albertca> Anyone knows if static functions are inheritable or only class and instance ones?
2013-03-10 17:01 <albertca> I think I have my answer: usually should be possible to override them with @classmethod
2013-03-10 17:01 <albertca> so I suppose, this is the correct way of managing them
2013-03-10 17:05 <cedk> basman: date format is defined on the language
2013-03-10 17:06 <cedk> albertca: yes staticmethod are just classmethod without the class as first argument
2013-03-10 17:06 <mbuf> I have tryton-2.2.5-1 installed on F17 and need some help trying to connect to trytond and the postgres database. I am lost as to which username, password in the Tryton client corresponds to trytond or the database
2013-03-10 17:07 <albertca> cedk: thanks
2013-03-10 17:07 <mbuf> I have been able to create the database from tryton client though; just connecting tells me "Connection error! Bad username or password!"
2013-03-10 17:17 <cedk> mbuf: to login, you must use the admin user and the password you give to create the database
2013-03-10 17:25 <mbuf> cedk: sorry, which login are you referring to, and it corresponds to tryton or the database?
2013-03-10 17:27 <basman> cedk: I use English version, is there a way that I could change the date format then?
2013-03-10 17:28 <cedk> basman: adapt the language
2013-03-10 17:28 <cedk> mbuf: tryton
2013-03-10 17:29 <basman> cedk: I didn't understnd, sorry, how ?
2013-03-10 17:30 <mbuf> cedk: when we open tryton client, there is a form to input Host, Database, User name, Password. The user name and password refer to tryton or the database?
2013-03-10 17:30 <cedk> basman: administration>localization>languages
2013-03-10 17:30 <cedk> mbuf: tryton
2013-03-10 17:31 <mbuf> cedk: in managing profile section, the Username refers to that of tryton or postgresql?
2013-03-10 17:33 <cedk> mbuf: how much time should I answer tryton ?
2013-03-10 17:34 <mbuf> cedk: the context to which the answer was not clear
2013-03-10 17:35 <mbuf> I still get connection error Bad username or password
2013-03-10 17:35 <basman> cedk: For example, I'm using English, so, should I make it right to left instead of left to right in order to change the date format?
2013-03-10 17:36 <cedk> basman: how do you read english? r2l or l2r ?
2013-03-10 17:36 <basman> l2r :D
2013-03-10 17:36 <mbuf> INFO:dispatcher:bad login or password 'admin' from 127.0.0.1:58484 using JSON-RPC on database 'gnuhealth'
2013-03-10 17:37 <mbuf> is there any other way I can test authentication to the trytond server?
2013-03-10 17:37 <cedk> mbuf: no, it is the password you give, if you forget it, restart the database creation process
2013-03-10 17:38 <mbuf> cedk: I have tried it few times; the database is getting created correctly from "managing profile", but, when I try to login from the tryton client, I get this message
2013-03-10 17:39 <basman> cedk: brother, I just want to change the date format, please tell me directly all the steps to do that.
2013-03-10 17:39 <cedk> basman: edit the language
2013-03-10 17:43 <basman> cedk: I want to keep using english, I just want to change the date format, there are options to change the language, the direction and the code, however, no other options, what I should change to get a different date format?
2013-03-10 17:44 <cedk> basman: open your eyes
2013-03-10 17:45 <basman> :(
2013-03-10 17:46 <rmu> basman: there should be "Date Formatting" and "Number Formatting", too
2013-03-10 17:47 <mbuf> cedk: http://fpaste.org/hi45/ any thoughts?
2013-03-10 17:48 <basman> cedk: I think because I'm using the demo online DB, there is no Date Formatting or number formatting options, is that right ?
2013-03-10 17:50 <mbuf> cedk: is there a trytond.conf file that I can use for reference?
2013-03-10 17:50 <cedk> mbuf: in the source
2013-03-10 17:50 <cedk> basman: no
2013-03-10 17:52 <basman> cedk: Administratin> Localization > Languages - I didn't find any Date Formatting or number formatting options.
2013-03-10 17:53 <mbuf> cedk: I meant that in already being used, with the mandatory options
2013-03-10 17:54 <rmu> basman: switch view to form view
2013-03-10 17:56 <mbuf> cedk: I am looking for a tutorial from start to finish on setting up trytond server, its configuration, and connecting from client
2013-03-10 17:58 <basman> rmu: how ?
2013-03-10 17:59 <rmu> basman: click the "switch view" icon
2013-03-10 17:59 <rmu> or double-click on the line
2013-03-10 18:00 <rmu> (i assume you are in administration>localization>languages)
2013-03-10 18:00 <basman> rmu: super thanks, got it :), thanks cedk
2013-03-10 18:03 <rmu> mbuf: https://code.google.com/p/tryton/wiki/InstallationOS and https://code.google.com/p/tryton/wiki/SetupAndStart
2013-03-10 18:05 <mbuf> rmu: the instructions are pretty old for Fedora
2013-03-10 18:06 <mbuf> rmu: success!
2013-03-10 18:07 <mbuf> cedk: the username was for tryton, but the password was for the database in the tryton main login screen
2013-03-10 19:53 <basman> rmu: the date format didn't change on the invoice report, it changed just in invoices module
2013-03-10 19:53 <basman> I still get the old format when generating invoice report
2013-03-10 20:06 <rmu> basman: are you sure the invoice report is regenerated? invoices are special

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!