IRC logs of #tryton for Tuesday, 2017-01-31

chat.freenode.net #tryton log beginning Tue Jan 31 00:00:01 CET 2017
2017-01-31 00:31 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2017-01-31 00:46 -!- JanGB(~jan@p54B98487.dip0.t-ipconnect.de) has joined #tryton
2017-01-31 01:08 -!- kstenger1(~karla@r190-134-147-234.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-01-31 01:32 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-01-31 02:35 -!- theviajerock(~victor@cable201-232-160-169.epm.net.co) has joined #tryton
2017-01-31 02:35 <theviajerock> Hello people.
2017-01-31 02:36 <theviajerock> Can somebody help me please with my tryton installation? I tried two ways, the first with the tryton included in my operating system...
2017-01-31 02:36 <theviajerock> The second, I downloaded the repository and execute python setup.py install...
2017-01-31 02:37 <theviajerock> In the first way, I installed and configure postgresql but the client of tryton doesn't detect the database... And I can't connect yet to tryton with the 8000 port...
2017-01-31 02:54 <cedk> theviajerock: you have to initialize the database: http://doc.tryton.org/4.2/trytond/doc/topics/setup_database.html#topics-setup-database
2017-01-31 03:00 <theviajerock> I understand.. But i don't have trytond-admin.....
2017-01-31 03:00 <theviajerock> Just trytond-client and server.
2017-01-31 03:04 <kstenger> theviajerock: if you installed the server from the repository correctly you should have trytond-admin
2017-01-31 03:07 <theviajerock> Mmm This is what i've done:
2017-01-31 03:07 <theviajerock> sudo apt-get install tryton-client
2017-01-31 03:07 <theviajerock> sudo apt-get install tryton-server
2017-01-31 03:08 <theviajerock> Then I created the user:
2017-01-31 03:08 <theviajerock> sudo su - postgres -c "createuser --createdb --no-createrole --no-superuser --pwprompt tryton";
2017-01-31 03:08 <kstenger> theviajerock: trytond and trytond-admin are binaries that should be available if you installed the server
2017-01-31 03:08 <kstenger> theviajerock: but it may depend on your distro for the way you've installed
2017-01-31 03:09 <theviajerock> Yes, trytond is there, but no trytond-admin
2017-01-31 03:09 <kstenger> theviajerock: then you may have an older version, IIRC trytond-admin is available starting at 4.0 or so
2017-01-31 03:09 <theviajerock> Ahh yes
2017-01-31 03:09 <theviajerock> I have debian jessie
2017-01-31 03:09 <kstenger> theviajerock: check your versions
2017-01-31 03:09 <theviajerock> And the version it's older.
2017-01-31 03:09 <kstenger> of tryton server and client
2017-01-31 03:10 <theviajerock> So... Do you recommend me to install tryton with the development repository?
2017-01-31 03:10 <theviajerock> This option:
2017-01-31 03:10 <theviajerock> Install an official release. Once you’ve downloaded and unpacked a trytond source release, enter the directory where the archive was unpacked, and run: python setup.py install
2017-01-31 03:10 <kstenger> it depends on what you want to achieve, can't advice without context
2017-01-31 03:10 <theviajerock> Mmm I get it.
2017-01-31 03:11 <kstenger> if you install from source you will have the latest changes available of course
2017-01-31 03:11 <theviajerock> At first, I want to learn how to use trypton, later I would like to modify the code.
2017-01-31 03:12 <kstenger> theviajerock: then you may want to check for the right version's documentation, change the numbers of the url that they gave you before to the version you are using
2017-01-31 03:16 <theviajerock> kstenger: I understand what you are saying... the first thing that I tried was to install it from the official release...
2017-01-31 03:16 <theviajerock> I downloaded this:
2017-01-31 03:16 <theviajerock> https://downloads.tryton.org/4.2/tryton-4.2.0.tar.gz
2017-01-31 03:17 <theviajerock> And I installed it with python setup.py install.
2017-01-31 03:17 <theviajerock> I'm following the 4.2 documentation currently.
2017-01-31 03:18 <theviajerock> I'm stucked in that point because I don't know how to initialize the server and connect it to the DB.
2017-01-31 03:18 <kstenger> theviajerock: this URL you give is for the client 4.2, but now you have some version you haven't yet stated which version it is
2017-01-31 03:18 <theviajerock> The version that I installed with apt-get is the 3.2
2017-01-31 03:19 <kstenger> uh, that's amazingly old
2017-01-31 03:19 <theviajerock> Yeah
2017-01-31 03:19 <theviajerock> But is the default of debian 8
2017-01-31 03:19 <kstenger> theviajerock: yeah, I don;t think it's a good idea to stick to it
2017-01-31 03:19 <theviajerock> And was the "easy" way for my to try trypton.
2017-01-31 03:20 <kstenger> theviajerock: what failed when you tried 4.2?
2017-01-31 03:22 <theviajerock> let me try again and I'll tell you what happen.. That was like 3 hours ago.
2017-01-31 03:23 <kstenger> theviajerock: remember "tryton" is the client and "trytond" is the server
2017-01-31 03:27 <theviajerock> All right, I didn't know it.
2017-01-31 03:30 <theviajerock> All right, I installed it.
2017-01-31 03:30 <theviajerock> Now, I need to configure it, right?
2017-01-31 03:30 <kstenger> yes
2017-01-31 03:31 <kstenger> theviajerock: http://doc.tryton.org/4.2/trytond/doc/topics/configuration.html
2017-01-31 03:33 <theviajerock> Is there a template? Or I should I create it ?
2017-01-31 03:33 <kstenger> create it
2017-01-31 03:34 <kstenger> name you want wherever you want, just remember to pass the file path to the server by the -c parameter
2017-01-31 03:38 <theviajerock> all right
2017-01-31 03:38 <theviajerock> I created it...
2017-01-31 03:39 <theviajerock> I only write the web and the database section
2017-01-31 03:39 <theviajerock> I saw that the other configuration is by default, or should I modify it too?
2017-01-31 03:39 <theviajerock> [web]
2017-01-31 03:39 <theviajerock> listen = localhost:8000
2017-01-31 03:39 <theviajerock>
2017-01-31 03:39 <theviajerock> [database]
2017-01-31 03:39 <theviajerock> uri = postgresql://tryton:tryton@localhost:5432/
2017-01-31 03:39 <theviajerock> path = /home/victor/workspace/tryton
2017-01-31 03:40 <theviajerock> I only wrote that.
2017-01-31 03:41 <kstenger> please use a pastebin service for pasting here next time, I don't understand your question. Try the server and see if it works.
2017-01-31 03:42 <theviajerock> Oh all right, excuse me.
2017-01-31 03:46 <kstenger> Sorry I can't stay longer. Good night
2017-01-31 03:48 <theviajerock> Thank you! Good night.
2017-01-31 04:23 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton
2017-01-31 04:33 -!- theviajerock(~victor@cable201-232-160-169.epm.net.co) has left #tryton
2017-01-31 04:59 -!- robinak(~quassel@unaffilated/robink) has joined #tryton
2017-01-31 07:49 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-01-31 07:56 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-01-31 08:14 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-01-31 09:05 -!- rpit(~rpit@aftr-37-24-151-238.unity-media.net) has joined #tryton
2017-01-31 09:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-01-31 09:51 -!- tr33(~tr33@2a01:198:45e:babe:81df:7f32:6413:6ed4) has joined #tryton
2017-01-31 09:52 -!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton
2017-01-31 09:52 <tr33> good morning
2017-01-31 09:53 -!- mamcode(~mamcode@201.209.13.65) has joined #tryton
2017-01-31 09:55 <tr33> i'm currently migrating from Tryton 3.2 to 4.2 and I've some trouble or confusion:
2017-01-31 09:56 <tr33> i like to use the module 'account_invoice_line_standalone', but in the view i can't add any invoice_lines because the view seems to be readonly
2017-01-31 09:57 <tr33> also, when making a new invoice, i can only select variants for articles. so for every article i've to create a variant. is this the way supposed to do? in tryton 3.2 i can add articles directly without any variant.
2017-01-31 09:59 <cedk> tr33: it was always only variant but now it is explicit
2017-01-31 10:01 <tr33> okay, so the (new) way supposed to do is: first create an article, then create a according variant for the article. then the aricle is available for invoicing?
2017-01-31 10:03 <cedk> tr33: by default a variant is created from the template
2017-01-31 10:06 <tr33> ah, good hint. I'll try this
2017-01-31 10:10 <tr33> ah, indeed! the variants were not created because i've imported my articles. okay
2017-01-31 10:11 -!- JanGB(~jan@193.174.248.1) has joined #tryton
2017-01-31 10:13 <tr33> but why seems my view for account.invoice.line to be read-only ?
2017-01-31 10:52 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-01-31 10:55 <tr33> when i add a new invoice-line, every field is read-only
2017-01-31 11:14 -!- thaneor(~ldlc6@r179-25-163-94.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-01-31 11:22 <cedk> tr33: is the state of the invoice 'draft'?
2017-01-31 11:39 <tr33> there is no invoice yed, i'd just like to "collect" invoice-lines and add them later to a (yet not existing) invoice
2017-01-31 11:40 <tr33> i'm talking aboud account_invoice_line_standalone
2017-01-31 11:45 <cedk> tr33: I guess we are missing a default invoice_state on standalone lines
2017-01-31 11:45 <cedk> tr33: please report an issue
2017-01-31 11:53 <tr33> how? i currently feel not able to formulate an issue about this
2017-01-31 11:53 <pokoli> tr33: create a new issue on https://bugs.tryton.org
2017-01-31 11:54 <pokoli> tr33: you can link the IRC chat from this url: http://www.tryton.org/~irclog/2017-01-31.log.html#t2017-01-31%2009:52
2017-01-31 11:54 <pokoli> tr33: And in the issue text, just explain which is the current behaviour and which is the expected behaviour
2017-01-31 12:04 <tr33> done: https://bugs.tryton.org/issue6226?
2017-01-31 12:04 <pokoli> tr33: great, for the next time, don't add the module name in the title but use components instead. Thanks!
2017-01-31 12:05 -!- mariomop(~quassel@181.93.190.111) has joined #tryton
2017-01-31 12:10 <tr33> thx
2017-01-31 12:10 <pokoli> tr33: could you explain the steps in order to reproduce it?
2017-01-31 12:10 <tr33> is there any workaround ?
2017-01-31 12:10 <pokoli> tr33: i'm currently testing it and I will work for a patch
2017-01-31 12:11 <pokoli> tr33: IIUC you are creating a new line from the following menu entry: "Accounting/Invoices/Customer Invoces/Invoice lines" don't you?
2017-01-31 12:20 <tr33> exactly
2017-01-31 12:22 <cedk> pokoli: I think it is just missing a default value for invoice_state
2017-01-31 12:25 <pokoli> cedk: yes, that was
2017-01-31 12:25 <pokoli> tr33: I uploaded a review, could you please apply the patch on your instalation and confirm that it works for you?
2017-01-31 12:25 <pokoli> tr33: let me know if you need some help in order to test it :)
2017-01-31 12:31 <tr33> thx
2017-01-31 12:37 <tr33> patch ./account_invoice_line_standalone/invoice.py /tmp/issue27071002_1_10001.diff
2017-01-31 12:37 <tr33> patching file ./account_invoice_line_standalone/invoice.py
2017-01-31 12:37 <tr33> Hunk #1 FAILED at 1654.
2017-01-31 12:37 <tr33> 1 out of 1 hunk FAILED -- saving rejects to file ./account_invoice_line_standalone/invoice.py.rej
2017-01-31 12:46 <tr33> okay
2017-01-31 12:46 <tr33> patch ./account_invoice/invoice.py /tmp/issue27071002_1_10001.diff did it :-D
2017-01-31 12:46 <tr33> seems working :-)
2017-01-31 12:48 <tr33> thanks!
2017-01-31 12:52 <pokoli> tr33: you are welcome. Thanks for reporting :)
2017-01-31 12:54 <tr33> thanks for fixing :-D
2017-01-31 12:57 <tr33> cya
2017-01-31 13:05 -!- wifasoi(8c69cff5@mittelab/sudo/wifasoi) has joined #tryton
2017-01-31 13:10 <wifasoi> hi. i'm new with tryton but I have found some strange behaviour when add a new line in an invoice (accounting/client invoice)[i'm using the 4.2.1 version of tryton with sale module at 4.2.0 (and the dependencies installed)].
2017-01-31 13:13 <wifasoi> whe i add a line in the invoice, and i pick a product.. the "unit price" is not automaticcaly populeted. Is it normal?
2017-01-31 13:14 <wifasoi> (if not i'll will file a bug report)
2017-01-31 13:15 <cedk> wifasoi: yes it is normal, if you want price computation you must use sale
2017-01-31 13:15 <wifasoi> ok thanks
2017-01-31 13:50 -!- JanGB(~jan@193.174.248.1) has joined #tryton
2017-01-31 14:09 -!- udono1(~udono@183-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-01-31 14:22 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-01-31 16:40 -!- mamcode(~mamcode@201.209.13.65) has joined #tryton
2017-01-31 17:39 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-01-31 17:47 -!- mamcode(~mamcode@201.209.13.65) has joined #tryton
2017-01-31 18:15 -!- kstenger(~karla@r190-134-145-3.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-01-31 20:22 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-01-31 20:32 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-01-31 21:05 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-01-31 21:07 -!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton
2017-01-31 21:07 <andrespoliti> hello, in sao, when i have a binary field and i want to select a file, i press the magnifying glass icon, which opens another dialog with a button to open the file explorer. Is it possible to avoid this intermediate step and open the file explorer directly from the magnifying glass icon?
2017-01-31 21:09 <andrespoliti> i mean, can i modify sao source code to avoid the extra dialog or is it done like this for some reason?
2017-01-31 21:23 -!- JanGB(~jan@p54B98BC6.dip0.t-ipconnect.de) has joined #tryton
2017-01-31 21:46 -!- JanGB(~jan@p54B98BC6.dip0.t-ipconnect.de) has joined #tryton
2017-01-31 22:28 -!- JanGB(~jan@p54B98BC6.dip0.t-ipconnect.de) has joined #tryton
2017-01-31 22:29 -!- apostatize_(~visavis@unaffiliated/apostatize) has joined #tryton
2017-01-31 22:51 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-01-31 22:56 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-01-31 23:02 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-01-31 23:03 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-01-31 23:05 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-01-31 23:17 -!- thaneor1(~ldlc6@r167-56-170-165.dialup.adsl.anteldata.net.uy) has joined #tryton

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