IRC logs of #tryton for Friday, 2017-07-14

chat.freenode.net #tryton log beginning Fri Jul 14 00:00:01 CEST 2017
2017-07-14 01:46 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-14 03:29 -!- thaneor(~ldlc6@179.26.238.25) has joined #tryton
2017-07-14 04:14 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-14 04:32 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-07-14 04:59 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-07-14 05:21 -!- kstenger1(~karla@r186-48-241-15.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 06:51 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton
2017-07-14 07:18 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-07-14 07:20 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-07-14 07:25 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-07-14 07:44 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-07-14 08:52 -!- rpit(~rpit@aftr-37-24-146-103.unity-media.net) has joined #tryton
2017-07-14 09:01 -!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton
2017-07-14 09:05 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-14 10:00 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-07-14 11:11 -!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton
2017-07-14 12:47 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-07-14 13:23 <LordVan> hi
2017-07-14 13:23 <pokoli> LordVan: hi
2017-07-14 13:24 <LordVan> pokoli, that tutorial docs you sent me a link to before .. i am not really to familiar with rst .. can i easily convert taht to html to browse easier?
2017-07-14 13:24 <LordVan> https://tryton-rietveld.appspot.com/32711002/ i mean
2017-07-14 13:29 <pokoli> LordVan: just apply the patch on the trytond repo, and use sphinx to build the html
2017-07-14 13:29 <pokoli> LordVan: do you know about sphinx? http://www.sphinx-doc.org/en/stable/
2017-07-14 13:31 -!- mariomop(~quassel@181.92.8.71) has joined #tryton
2017-07-14 13:32 <LordVan> a bit
2017-07-14 13:32 <LordVan> thanks will look
2017-07-14 14:00 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton
2017-07-14 14:07 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-14 14:28 <LordVan> pokoli, i will have to do that later though .. no sphinx on this windows box at work ^^
2017-07-14 14:28 <pokoli> LordVan: pip install sphinx :)
2017-07-14 14:29 <LordVan> haha point taken
2017-07-14 14:29 <LordVan> i do have cygwin
2017-07-14 14:32 <LordVan> and now back to why i hate windows .. ^^
2017-07-14 14:33 <pokoli> LordVan: http://www.sphinx-doc.org/en/stable/install.html#windows-install-python-and-sphinx
2017-07-14 14:33 <LordVan> error writing to c program files python35 lol
2017-07-14 14:34 <LordVan> i 'd rather quickly create a new LXC container on the server and run it there lol
2017-07-14 14:44 <LordVan> pokoli, something i did nto see (yet ) in the docs .. while developing a module do i need to re-register it (I am now talking about just making one that extends the contact view without new DB fields first)
2017-07-14 14:47 <pokoli> LordVan: you need to update the database if you modify the models or loadl xml data
2017-07-14 14:47 <pokoli> LordVan: with trytond-admin
2017-07-14 14:47 <LordVan> yes
2017-07-14 14:48 <pokoli> LordVan: if you launch server with development flag new code will be loaded automatically
2017-07-14 14:48 <LordVan> but i do not need to re-add ?
2017-07-14 14:48 <LordVan> cuz that would be a bit of a pain ^^
2017-07-14 14:48 <pokoli> LordVan: don't know what you understand by "re-add" :$
2017-07-14 14:51 <LordVan> ah sorry i meant activation
2017-07-14 14:51 <pokoli> LordVan: no, once a module is activated, you don't have to re-activate
2017-07-14 14:51 <pokoli> LordVan: only update to reload it's data
2017-07-14 14:51 <pokoli> LordVan: and that's what you do with tryton-admin
2017-07-14 14:52 <LordVan> ok
2017-07-14 14:52 <LordVan> good
2017-07-14 14:52 <LordVan> well-designed :)
2017-07-14 14:52 <LordVan> should i restart trytond if i change the module source or will it reload automatically?
2017-07-14 14:59 <LordVan> hmm
2017-07-14 15:01 <Timitos> LordVan: start the trytond with --dev and it will reload automatically
2017-07-14 15:01 <LordVan> thanks :)=
2017-07-14 15:01 <LordVan> pokoli, if i want to just show (the first line or X words/chars) of a phone number/email on the party view .. can i do all that in xml or do i need python too?
2017-07-14 15:03 <pokoli> LordVan: you need a function field, which is python :)
2017-07-14 15:03 <pokoli> LordVan: i have to go, good luck on your adventure :P
2017-07-14 15:03 <LordVan> ok (i prefer python to xml anyway - i just wasn'T sure what i'D need
2017-07-14 15:03 <LordVan> haah thanks
2017-07-14 15:03 <LordVan> i will probably be bak asking questiosn lol
2017-07-14 15:04 <LordVan> do i need that xml at all btw or can i do it in just python
2017-07-14 15:04 <LordVan> (I wonder if it would make more sense to leave the comment field as-is and instead just add a field to the DB to specify "type" of phone no/email
2017-07-14 15:05 <LordVan> .. i wonder if there is a module that does something similar to this that i can look at for reference
2017-07-14 15:05 <LordVan> ACTION goes and looks
2017-07-14 15:07 <LordVan> https://pypi.python.org/pypi/mds_party_fieldaddon/0.1.3 seems like a reasonable starting point ^^
2017-07-14 15:11 <LordVan> i think i might actually even use that module ^^
2017-07-14 15:12 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2017-07-14 15:12 <LordVan> pokoli, do you knwo that module ? i thought the idea in tryton was to create relationships between parties (ie company and it's employees)
2017-07-14 15:14 <LordVan> i guess there are different ways to use it
2017-07-14 15:14 <LordVan> well gtg for the time being . cya
2017-07-14 15:32 -!- thaneor1(~ldlc6@r179-25-169-114.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 15:35 -!- smarro(~sebastian@181.83.228.108) has joined #tryton
2017-07-14 16:03 -!- kstenger(~karla@r186-48-241-15.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 17:07 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-14 17:24 -!- kstenger1(~karla@r167-56-251-81.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 17:48 <jcm> hi, in Proteus README I don't see a config example to be used with a real server (and not sqlite)
2017-07-14 17:49 <jcm> tried config = config.set_trytond('mydbname', 'admin', config_file=path_to_my_config)
2017-07-14 17:52 <jcm> I get psycopg2.ProgrammingError: relation "ir_cache" does not exist
2017-07-14 17:54 -!- kstenger(~karla@r167-56-251-81.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 17:57 <jcm> succeeded once to connect, cannot anymore :/ these error messages are cryptics
2017-07-14 18:11 <cedk> jcm: looks likt the database was not initialized
2017-07-14 18:14 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-14 18:43 -!- kstenger(~karla@r167-56-251-81.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 18:59 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-14 19:02 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-07-14 19:26 <jcm> cedk: yes this db is an empty one, just did createdb
2017-07-14 19:27 <jcm> cedk: with an existing and working one I get AssertionError in File "/Users/jcm/Sites/_tryton/tryton4.4/trytond/trytond/transaction.py", line 81, in start
2017-07-14 19:28 <jcm> how can I create a new db with postgresql from proteus?
2017-07-14 19:30 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-14 19:35 <sisalp> jcm: check trytond-admin command toinitialise a database
2017-07-14 20:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-14 20:06 <jcm> sisalp: ok, proteus needs an initialized db
2017-07-14 20:08 <jcm> the other error comes from the folder from which I launch Python commands: when it's proteus, I get an AssertionError. Works when Python commands are launched from ../proteus.
2017-07-14 20:15 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-14 21:30 -!- lukio(~lukio@200.68.72.41) has joined #tryton
2017-07-14 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-07-14 22:03 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-07-14 22:16 -!- kstenger1(~karla@r190-134-206-126.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 22:28 -!- kstenger(~karla@r186-50-23-16.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-14 22:39 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-14 22:50 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-07-14 23:24 -!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton
2017-07-14 23:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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