IRC logs of #tryton for Wednesday, 2016-09-07

chat.freenode.net #tryton log beginning Wed Sep 7 00:00:01 CEST 2016
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:47
-!- brunnenschacht(~brunnensc@p5DD1811A.dip0.t-ipconnect.de) has joined #tryton06:51
-!- scrapper(~scrapper@88.117.159.6) has joined #tryton07:30
-!- Jones_(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton07:34
Jones_pokoli: I try as per your suggestion to set party profile picture but I am getting error as here: http://pastebin.com/VNX74xqa07:43
Jones_does it means require another method attachment.write07:43
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:52
-!- rpit(~rpit@aftr-37-24-148-94.unity-media.net) has joined #tryton07:52
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:13
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:52
-!- udono(~udono@ip-37-201-244-82.hsi13.unitymediagroup.de) has joined #tryton08:53
-!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton09:39
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:56
pokoliJones_: if you are using attachments to store images, you must first create the attachment, and then set the id of the attachment to the related party09:57
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton11:22
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:25
-!- nicoe(~nicoe@87.215.31.146) has joined #tryton11:34
-!- mariomop(~quassel@host80.190-137-208.telecom.net.ar) has joined #tryton13:09
Jones_hello, is there any way to combine 2 methods? e.g. One method to get part.search_read() which gives all ids of addresses & party.address to get address details14:02
Jones_I want to combine these 2 methods with only one API call14:03
pokoliJones_: don't understand what do you want to combine :$14:04
pokoliJones_: there is search_read which combines search and read in a single call14:04
Jones_FIRST call to get details party.search_read() which gives all ids of his addresses & SECOND Call party.address to get address details14:09
Jones_I want get party details & address details in single call14:09
-!- brunnenschacht(~brunnensc@p5DD1811A.dip0.t-ipconnect.de) has joined #tryton14:11
pokoliJones_: ahh, you mean get all the related information of the party.address. Understood14:11
pokoliJones_: no it's not possible, but you can use a direct call to search_read on party.address filtering by party14:11
pokoliJones_: you can use a dot to search on the related model. See: http://doc.tryton.org/4.0/trytond/doc/topics/domain.html?highlight=related%20models14:12
Jones_ok, but some calls like, party_subscription & subscription.subscription can not apply this logic14:13
pokoliJones_: can you elaborate? Sorry but I don't know anything about party_subscription14:19
cedkJones_: trytond RPC are designed for the Tryton's clients14:24
cedkJones_: if you have special need you should probably create your API on top of it14:24
cedkJones_: I already used flask-tryton to create a tailored Rest API: https://flask-tryton.b2ck.com/14:25
pokoliJones_: of course, if you provide a deeper explanation of what are you trying to achieve we can provide better advices14:33
Jones_I want to show subscription of parties , for that first I have to call party_subscription.search_Read which returns you subscription ids & after that call subscription.search_read which gives you subscription details14:47
notizblockis there a way to show all translations for a single .po file in pootle?14:53
cedkJones_: you are not explaining your goals but the solution you think it should be14:56
cedknotizblock: I think you can download the po file14:56
notizblockah, ok14:56
notizblockWhat is the best way to report issues with a translation? Pootle "Report issue with this string" or bugs.tryton.org?15:10
notizblockI reported it now with Pootle, so I guess the admin should get a notification.15:11
pokolinotizblock: AFAIU you can provide suggestions on pottle15:13
cedknotizblock: do not report using Pootle, it only goes to the administrator who will not do anything15:22
cedknotizblock: you can make suggestion or create an issue in the tracker if it needs discussion15:23
notizblockcedk pokoli thx for the clarification15:32
Jones_My goal is to show subscription details with only ONE call, is that possible? rightnow  it takes 2 calss as explain above15:37
-!- SamSagaZ_(~SamSagaZ@190.18.95.126) has joined #tryton15:40
SamSagaZ_hey guys, is possible to run a trytond server under windows? :D15:40
SamSagaZ_oh, found it, its named neso :)15:41
notizblockSamSagaZ_: neso is retired15:42
SamSagaZ_uh15:42
SamSagaZ_:(15:42
notizblockSee http://www.tryton.org/posts/neso-retirement.html15:43
cedkSamSagaZ_: you can run trytond on windows if you want, you just need to setup a Python environment15:44
SamSagaZ_ok, i want to install tryton into a windows machine that dont have server. and remote server are slow. will try to set an python env in client box15:45
SamSagaZ_thanks cedk15:45
SamSagaZ_mm btw, is possible to sync remote and local db?15:45
-!- brunnenschacht(~brunnensc@p5DD1811A.dip0.t-ipconnect.de) has joined #tryton15:45
cedkSamSagaZ_: search for postgresql replication15:46
cedkSamSagaZ_: but if your remote connection is slow, the replication will also be slow15:46
SamSagaZ_well.. thanks guys15:47
notizblockWhat would be the best approach to tackle the following issue: We need several "terms and conditions" on our invoice and sale reports. Those items should be picked from a predefined list by a user during sale/invoice creation. I think a small custom module per entry with an adapted report is a possible solution. Is there a better way?15:48
cedknotizblock: I think you should only put it on sale, not on invoice15:49
notizblockas invoices can relate to sales, yes15:50
notizblockThe solution in my mind is pretty much what nantic-incoterm and nantic-sale_incoterm do15:51
cedknotizblock: we should have incoterm in base15:52
cedknotizblock: be careful that an invoice can be linked to many sales15:53
pokolinotizblock: for what you describe it reminds me this module: https://bitbucket.org/nantic/trytond-sale_typified_description/src/83eda44c9cf653ea0cffb78b85841b5a69b084a7/sale.py?at=default&fileviewer=file-view-default15:55
pokoliand for incoterms, there is a blueprint in the old wiki: http://hg.tryton.org/deprecated/tryton.wiki/file/e5cff9482830/Incoterms.wiki15:57
mrichezcedk: i'm linking purchase_request state to purchase_requisition, i'm wondering if the purchase_request state "purchased" is not confusing because purchase_order could be in draft state16:00
-!- brunnenschacht(~brunnensc@p5DD185C0.dip0.t-ipconnect.de) has joined #tryton16:02
notizblockpokoli: thx for the links16:07
pokolinotizblock: if you want to revive the incoterm blueprint, you must re-create them in https://discuss.tryton.org ;-)16:09
notizblockpokoli: i'll test tryton-sale_typified_descriptions. Maybe it is exactly what we need.16:09
pokolinotizblock: it was designed to be used on reports, that's why I remembered about it16:10
SamSagaZ_well, im not lucky, looks like cant run windows client using linux server :/16:10
pokoliSamSagaZ_: why not? what's your problem?16:10
pokoliSamSagaZ_: AFAIK people connect from windows to linux servers using standard client16:10
SamSagaZ_trytond 4.0.416:11
SamSagaZ_ / windows client 4.0.416:11
SamSagaZ_error say client not compatible with server version16:11
pokoliSamSagaZ_: please check you server and client versions. To be compatible you must match the first two digits of the version, so in your case 4.016:12
SamSagaZ_i already say16:12
SamSagaZ_server 4.0.416:12
SamSagaZ_client 4.0.416:12
pokoliSamSagaZ_: also ensure that the server it's accessible from the client (i.e: you can connect with telent)16:12
SamSagaZ_ok, let me check16:12
pokolis/telent/telnet/16:12
SamSagaZ_8000 port?16:14
SamSagaZ_is default?16:14
SamSagaZ_oh its for web16:15
SamSagaZ_sorry16:15
pokoliSamSagaZ_: yes, default port is 8000, but default configuration only listen to localhost, so you must change it if you want to access from another server16:21
SamSagaZ_yes, looks like i cant run the server16:24
-!- niki(~niki@0x3e2c86e7.mobile.telia.dk) has joined #tryton16:25
SamSagaZ_running trytond using 0:00 /usr/bin/python /usr/local/bin/trytond -c /etc/trytond.conf16:25
pokoliSamSagaZ_: you must edit your /etc/trytond.conf to toogle it to your needs16:31
SamSagaZ_yes alredy edited, but still cant login in... still trying16:32
pokoliSamSagaZ_: you can use the --verbose option in the server to see where it's listening16:33
SamSagaZ_thanks!16:34
notizblockpokoli: thx for the tryton-sale_typified_description hint. It is exactly what we need.16:36
pokolinotizblock: you are welcome. I'm always happy to help :)16:37
SamSagaZ_is strange, looks like dont read my ip:port configuration and always listen to localhost16:38
SamSagaZ_werkzeug  * Running on http://localhost:8000/16:38
SamSagaZ_in my conf i have listen = 192.168.0.100:800016:39
pokoliSamSagaZ_: trytond will use it's defaults values if the user running the server does not have permisions to read the config file16:39
pokoliSamSagaZ_: so you must check that the user is allowed to read /etc/trytond.confg16:39
SamSagaZ_im running as root16:40
SamSagaZ_and chmod 777 the conf file16:40
SamSagaZ_still getting the same16:40
notizblockSamSagaZ_: is the listen directive part of the [web] section?16:41
SamSagaZ_im an stupid16:42
SamSagaZ_was using 3.8 conf file16:42
SamSagaZ_and dont have web section16:42
SamSagaZ_sorry guys16:42
pokoliSamSagaZ_: it was the next thing i was going to ask, if you are using the correct version of the config file :)16:43
SamSagaZ_INFO werkzeug  * Running on http://192.168.0.100:8000/ (Press CTRL+C to quit)16:43
notizblockSamSagaZ_: looks good16:44
SamSagaZ_im IN :D16:44
pokoliSamSagaZ_: congrats :D16:45
SamSagaZ_lol just dont remember the password, will create the db again16:45
SamSagaZ_thanks foryour support guys16:45
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton17:28
SamSagaZ_guys, wich is the right way to set languages in tryton? i want to the users can see the tryton in spanish19:14
SamSagaZ_i set es_ES in the conf file but still see it in english19:14
SamSagaZ_and into users preferences are empty the option to choice lang19:15
SamSagaZ_maybe need to isntall some modle?19:15
SamSagaZ_module19:15
yangoonpokoli: hi! as you worked on the localization awareness of eonasdan-bootstrap-datetimepicker, on which version did you work?19:26
yangoonpokoli: more precisely: did you get any other than 4.7.14 to work, namely the actual version 4.17.42?19:27
-!- darkwarriorjam(48fcf40a@gateway/web/freenode/ip.72.252.244.10) has joined #tryton19:30
darkwarriorjamhi ..any one home19:30
darkwarriorjami have a prob running tryton 3.4.12 on windows 7 it wants elevated privilege, how can i run it without?19:32
darkwarriorjamthanks for your time19:35
SamSagaZ_i broken my tryton after install some modules20:08
SamSagaZ_is possible to remove all the files from tryton and start again?20:08
SamSagaZ_i want to disable all these modules20:08
SamSagaZ_fixed, removed all the files from python dist-packages20:13
SamSagaZ_trytond broken after install trytonar_account_bank_ar :/20:14
SamSagaZ_ImportError: cannot import name safe_eval20:16
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton20:31
SamSagaZ_foudn the error20:58
SamSagaZ_module is not compatible with version 420:58
darkwarriorjamhi anyone has an answer for me/ re running tryton 3.4.12  on windows 7 requiers elevated privilege?21:14
-!- scrapper(~scrapper@88.117.159.6) has joined #tryton21:19
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton21:32
-!- udono(~udono@tmo-111-47.customers.d1-online.com) has joined #tryton21:47
-!- udono(~udono@tmo-111-47.customers.d1-online.com) has joined #tryton22:46
SamSagaZ_guys, dont know if its possible, that i want to know if is possible to have diferents niches in the same company, i mean i want to add a company that sell for example computers, cellphones, and food23:22
SamSagaZ_i want to manage every niche in diferents accounts (revenue/expenses) but as all are under the same company, wants to display the whole info too, i want in that way because want to analyze every niche and see wich is going better and stuff like that23:24
SamSagaZ_(sorry for my english) :D23:24

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