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

chat.freenode.net #tryton log beginning Fri Jul 14 00:00:01 CEST 2017
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:46
-!- thaneor(~ldlc6@179.26.238.25) has joined #tryton03:29
-!- smarro(~sebastian@181.16.7.104) has joined #tryton04:14
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton04:32
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton04:59
-!- kstenger1(~karla@r186-48-241-15.dialup.adsl.anteldata.net.uy) has joined #tryton05:21
-!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton06:51
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton07:18
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton07:20
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton07:25
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:44
-!- rpit(~rpit@aftr-37-24-146-103.unity-media.net) has joined #tryton08:52
-!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton09:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:05
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:00
-!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton11:11
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton12:47
LordVanhi13:23
pokoliLordVan: hi13:23
LordVanpokoli, 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?13:24
LordVanhttps://tryton-rietveld.appspot.com/32711002/ i mean13:24
pokoliLordVan: just apply the patch on the trytond repo, and use sphinx to build the html13:29
pokoliLordVan: do you know about sphinx? http://www.sphinx-doc.org/en/stable/13:29
-!- mariomop(~quassel@181.92.8.71) has joined #tryton13:31
LordVana bit13:32
LordVanthanks will look13:32
-!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton14:00
-!- smarro(~sebastian@181.16.7.104) has joined #tryton14:07
LordVanpokoli, i will have to do that later though .. no sphinx on this windows box at work ^^14:28
pokoliLordVan: pip install sphinx :)14:28
LordVanhaha point taken14:29
LordVani do have cygwin14:29
LordVanand now back to why i hate windows .. ^^14:32
pokoliLordVan: http://www.sphinx-doc.org/en/stable/install.html#windows-install-python-and-sphinx14:33
LordVanerror writing to c program files python35 lol14:33
LordVani 'd rather quickly create a new  LXC container on the server and run it there lol14:34
LordVanpokoli, 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)14:44
pokoliLordVan: you need to update the database if you modify the models or loadl xml data14:47
pokoliLordVan: with trytond-admin14:47
LordVanyes14:47
pokoliLordVan: if you launch server with development flag new code will be loaded automatically14:48
LordVanbut i do not need to re-add ?14:48
LordVancuz that would be a bit of a pain ^^14:48
pokoliLordVan: don't know what you understand by "re-add" :$14:48
LordVanah sorry i meant activation14:51
pokoliLordVan: no, once a module is activated, you don't have to re-activate14:51
pokoliLordVan: only update to reload it's data14:51
pokoliLordVan: and that's what you do with tryton-admin14:51
LordVanok14:52
LordVangood14:52
LordVanwell-designed :)14:52
LordVanshould i restart trytond if i change the module source or will it reload automatically?14:52
LordVanhmm14:59
TimitosLordVan: start the trytond with --dev and it will reload automatically15:01
LordVanthanks :)=15:01
LordVanpokoli, 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?15:01
pokoliLordVan: you need a function field, which is python :)15:03
pokoliLordVan: i have to go, good luck on your adventure :P15:03
LordVanok (i prefer python to xml anyway - i just wasn'T sure what i'D need15:03
LordVanhaah thanks15:03
LordVani will probably be bak asking questiosn lol15:03
LordVando i need that xml at all btw or can i do it in just python15: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/email15:04
LordVan.. i wonder if there is a module that does something similar to this that i can look at for reference15:05
LordVanACTION goes and looks15:05
LordVanhttps://pypi.python.org/pypi/mds_party_fieldaddon/0.1.3 seems like a reasonable starting point ^^15:07
LordVani think i might actually even use that module ^^15:11
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton15:12
LordVanpokoli, do you knwo that module ? i thought the idea in tryton was to create relationships between parties (ie company and it's employees)15:12
LordVani guess there are different ways to use it15:14
LordVanwell gtg for the time being . cya15:14
-!- thaneor1(~ldlc6@r179-25-169-114.dialup.adsl.anteldata.net.uy) has joined #tryton15:32
-!- smarro(~sebastian@181.83.228.108) has joined #tryton15:35
-!- kstenger(~karla@r186-48-241-15.dialup.adsl.anteldata.net.uy) has joined #tryton16:03
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton17:07
-!- kstenger1(~karla@r167-56-251-81.dialup.adsl.anteldata.net.uy) has joined #tryton17:24
jcmhi, in Proteus README I don't see a config example to be used with a real server (and not sqlite)17:48
jcmtried config = config.set_trytond('mydbname', 'admin', config_file=path_to_my_config)17:49
jcmI get psycopg2.ProgrammingError: relation "ir_cache" does not exist17:52
-!- kstenger(~karla@r167-56-251-81.dialup.adsl.anteldata.net.uy) has joined #tryton17:54
jcmsucceeded once to connect, cannot anymore :/ these error messages are cryptics17:57
cedkjcm: looks likt the database was not initialized18:11
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton18:14
-!- kstenger(~karla@r167-56-251-81.dialup.adsl.anteldata.net.uy) has joined #tryton18:43
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:59
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton19:02
jcmcedk: yes this db is an empty one, just did createdb19:26
jcmcedk: with an existing and working one I get AssertionError in File "/Users/jcm/Sites/_tryton/tryton4.4/trytond/trytond/transaction.py", line 81, in start19:27
jcmhow can I create a new db with postgresql from proteus?19:28
-!- smarro(~sebastian@181.16.7.104) has joined #tryton19:30
sisalpjcm: check trytond-admin command toinitialise a database19:35
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:04
jcmsisalp: ok, proteus needs an initialized db20:06
jcmthe 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.20:08
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton20:15
-!- lukio(~lukio@200.68.72.41) has joined #tryton21:30
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton22:03
-!- kstenger1(~karla@r190-134-206-126.dialup.adsl.anteldata.net.uy) has joined #tryton22:16
-!- kstenger(~karla@r186-50-23-16.dialup.adsl.anteldata.net.uy) has joined #tryton22:28
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton22:39
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton22:50
-!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton23:24
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:52

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!