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

chat.freenode.net #tryton log beginning Wed Sep 7 00:00:01 CEST 2016
2016-09-07 01:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-09-07 06:51 -!- brunnenschacht(~brunnensc@p5DD1811A.dip0.t-ipconnect.de) has joined #tryton
2016-09-07 07:30 -!- scrapper(~scrapper@88.117.159.6) has joined #tryton
2016-09-07 07:34 -!- Jones_(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton
2016-09-07 07:43 <Jones_> pokoli: I try as per your suggestion to set party profile picture but I am getting error as here: http://pastebin.com/VNX74xqa
2016-09-07 07:43 <Jones_> does it means require another method attachment.write
2016-09-07 07:52 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-09-07 07:52 -!- rpit(~rpit@aftr-37-24-148-94.unity-media.net) has joined #tryton
2016-09-07 08:13 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-09-07 08:52 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-09-07 08:53 -!- udono(~udono@ip-37-201-244-82.hsi13.unitymediagroup.de) has joined #tryton
2016-09-07 09:39 -!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-09-07 09:56 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-09-07 09:57 <pokoli> Jones_: 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 party
2016-09-07 11:22 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-09-07 11:25 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-09-07 11:34 -!- nicoe(~nicoe@87.215.31.146) has joined #tryton
2016-09-07 13:09 -!- mariomop(~quassel@host80.190-137-208.telecom.net.ar) has joined #tryton
2016-09-07 14:02 <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 details
2016-09-07 14:03 <Jones_> I want to combine these 2 methods with only one API call
2016-09-07 14:04 <pokoli> Jones_: don't understand what do you want to combine :$
2016-09-07 14:04 <pokoli> Jones_: there is search_read which combines search and read in a single call
2016-09-07 14:09 <Jones_> FIRST call to get details party.search_read() which gives all ids of his addresses & SECOND Call party.address to get address details
2016-09-07 14:09 <Jones_> I want get party details & address details in single call
2016-09-07 14:11 -!- brunnenschacht(~brunnensc@p5DD1811A.dip0.t-ipconnect.de) has joined #tryton
2016-09-07 14:11 <pokoli> Jones_: ahh, you mean get all the related information of the party.address. Understood
2016-09-07 14:11 <pokoli> Jones_: no it's not possible, but you can use a direct call to search_read on party.address filtering by party
2016-09-07 14:12 <pokoli> Jones_: 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%20models
2016-09-07 14:13 <Jones_> ok, but some calls like, party_subscription & subscription.subscription can not apply this logic
2016-09-07 14:19 <pokoli> Jones_: can you elaborate? Sorry but I don't know anything about party_subscription
2016-09-07 14:24 <cedk> Jones_: trytond RPC are designed for the Tryton's clients
2016-09-07 14:24 <cedk> Jones_: if you have special need you should probably create your API on top of it
2016-09-07 14:25 <cedk> Jones_: I already used flask-tryton to create a tailored Rest API: https://flask-tryton.b2ck.com/
2016-09-07 14:33 <pokoli> Jones_: of course, if you provide a deeper explanation of what are you trying to achieve we can provide better advices
2016-09-07 14:47 <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 details
2016-09-07 14:53 <notizblock> is there a way to show all translations for a single .po file in pootle?
2016-09-07 14:56 <cedk> Jones_: you are not explaining your goals but the solution you think it should be
2016-09-07 14:56 <cedk> notizblock: I think you can download the po file
2016-09-07 14:56 <notizblock> ah, ok
2016-09-07 15:10 <notizblock> What is the best way to report issues with a translation? Pootle "Report issue with this string" or bugs.tryton.org?
2016-09-07 15:11 <notizblock> I reported it now with Pootle, so I guess the admin should get a notification.
2016-09-07 15:13 <pokoli> notizblock: AFAIU you can provide suggestions on pottle
2016-09-07 15:22 <cedk> notizblock: do not report using Pootle, it only goes to the administrator who will not do anything
2016-09-07 15:23 <cedk> notizblock: you can make suggestion or create an issue in the tracker if it needs discussion
2016-09-07 15:32 <notizblock> cedk pokoli thx for the clarification
2016-09-07 15:37 <Jones_> My goal is to show subscription details with only ONE call, is that possible? rightnow it takes 2 calss as explain above
2016-09-07 15:40 -!- SamSagaZ_(~SamSagaZ@190.18.95.126) has joined #tryton
2016-09-07 15:40 <SamSagaZ_> hey guys, is possible to run a trytond server under windows? :D
2016-09-07 15:41 <SamSagaZ_> oh, found it, its named neso :)
2016-09-07 15:42 <notizblock> SamSagaZ_: neso is retired
2016-09-07 15:42 <SamSagaZ_> uh
2016-09-07 15:42 <SamSagaZ_> :(
2016-09-07 15:43 <notizblock> See http://www.tryton.org/posts/neso-retirement.html
2016-09-07 15:44 <cedk> SamSagaZ_: you can run trytond on windows if you want, you just need to setup a Python environment
2016-09-07 15:45 <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 box
2016-09-07 15:45 <SamSagaZ_> thanks cedk
2016-09-07 15:45 <SamSagaZ_> mm btw, is possible to sync remote and local db?
2016-09-07 15:45 -!- brunnenschacht(~brunnensc@p5DD1811A.dip0.t-ipconnect.de) has joined #tryton
2016-09-07 15:46 <cedk> SamSagaZ_: search for postgresql replication
2016-09-07 15:46 <cedk> SamSagaZ_: but if your remote connection is slow, the replication will also be slow
2016-09-07 15:47 <SamSagaZ_> well.. thanks guys
2016-09-07 15:48 <notizblock> What 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?
2016-09-07 15:49 <cedk> notizblock: I think you should only put it on sale, not on invoice
2016-09-07 15:50 <notizblock> as invoices can relate to sales, yes
2016-09-07 15:51 <notizblock> The solution in my mind is pretty much what nantic-incoterm and nantic-sale_incoterm do
2016-09-07 15:52 <cedk> notizblock: we should have incoterm in base
2016-09-07 15:53 <cedk> notizblock: be careful that an invoice can be linked to many sales
2016-09-07 15:55 <pokoli> notizblock: 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-default
2016-09-07 15:57 <pokoli> and for incoterms, there is a blueprint in the old wiki: http://hg.tryton.org/deprecated/tryton.wiki/file/e5cff9482830/Incoterms.wiki
2016-09-07 16:00 <mrichez> cedk: 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 state
2016-09-07 16:02 -!- brunnenschacht(~brunnensc@p5DD185C0.dip0.t-ipconnect.de) has joined #tryton
2016-09-07 16:07 <notizblock> pokoli: thx for the links
2016-09-07 16:09 <pokoli> notizblock: if you want to revive the incoterm blueprint, you must re-create them in https://discuss.tryton.org ;-)
2016-09-07 16:09 <notizblock> pokoli: i'll test tryton-sale_typified_descriptions. Maybe it is exactly what we need.
2016-09-07 16:10 <pokoli> notizblock: it was designed to be used on reports, that's why I remembered about it
2016-09-07 16:10 <SamSagaZ_> well, im not lucky, looks like cant run windows client using linux server :/
2016-09-07 16:10 <pokoli> SamSagaZ_: why not? what's your problem?
2016-09-07 16:10 <pokoli> SamSagaZ_: AFAIK people connect from windows to linux servers using standard client
2016-09-07 16:11 <SamSagaZ_> trytond 4.0.4
2016-09-07 16:11 <SamSagaZ_> / windows client 4.0.4
2016-09-07 16:11 <SamSagaZ_> error say client not compatible with server version
2016-09-07 16:12 <pokoli> SamSagaZ_: 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.0
2016-09-07 16:12 <SamSagaZ_> i already say
2016-09-07 16:12 <SamSagaZ_> server 4.0.4
2016-09-07 16:12 <SamSagaZ_> client 4.0.4
2016-09-07 16:12 <pokoli> SamSagaZ_: also ensure that the server it's accessible from the client (i.e: you can connect with telent)
2016-09-07 16:12 <SamSagaZ_> ok, let me check
2016-09-07 16:12 <pokoli> s/telent/telnet/
2016-09-07 16:14 <SamSagaZ_> 8000 port?
2016-09-07 16:14 <SamSagaZ_> is default?
2016-09-07 16:15 <SamSagaZ_> oh its for web
2016-09-07 16:15 <SamSagaZ_> sorry
2016-09-07 16:21 <pokoli> SamSagaZ_: yes, default port is 8000, but default configuration only listen to localhost, so you must change it if you want to access from another server
2016-09-07 16:24 <SamSagaZ_> yes, looks like i cant run the server
2016-09-07 16:25 -!- niki(~niki@0x3e2c86e7.mobile.telia.dk) has joined #tryton
2016-09-07 16:25 <SamSagaZ_> running trytond using 0:00 /usr/bin/python /usr/local/bin/trytond -c /etc/trytond.conf
2016-09-07 16:31 <pokoli> SamSagaZ_: you must edit your /etc/trytond.conf to toogle it to your needs
2016-09-07 16:32 <SamSagaZ_> yes alredy edited, but still cant login in... still trying
2016-09-07 16:33 <pokoli> SamSagaZ_: you can use the --verbose option in the server to see where it's listening
2016-09-07 16:34 <SamSagaZ_> thanks!
2016-09-07 16:36 <notizblock> pokoli: thx for the tryton-sale_typified_description hint. It is exactly what we need.
2016-09-07 16:37 <pokoli> notizblock: you are welcome. I'm always happy to help :)
2016-09-07 16:38 <SamSagaZ_> is strange, looks like dont read my ip:port configuration and always listen to localhost
2016-09-07 16:38 <SamSagaZ_> werkzeug * Running on http://localhost:8000/
2016-09-07 16:39 <SamSagaZ_> in my conf i have listen = 192.168.0.100:8000
2016-09-07 16:39 <pokoli> SamSagaZ_: trytond will use it's defaults values if the user running the server does not have permisions to read the config file
2016-09-07 16:39 <pokoli> SamSagaZ_: so you must check that the user is allowed to read /etc/trytond.confg
2016-09-07 16:40 <SamSagaZ_> im running as root
2016-09-07 16:40 <SamSagaZ_> and chmod 777 the conf file
2016-09-07 16:40 <SamSagaZ_> still getting the same
2016-09-07 16:41 <notizblock> SamSagaZ_: is the listen directive part of the [web] section?
2016-09-07 16:42 <SamSagaZ_> im an stupid
2016-09-07 16:42 <SamSagaZ_> was using 3.8 conf file
2016-09-07 16:42 <SamSagaZ_> and dont have web section
2016-09-07 16:42 <SamSagaZ_> sorry guys
2016-09-07 16:43 <pokoli> SamSagaZ_: it was the next thing i was going to ask, if you are using the correct version of the config file :)
2016-09-07 16:43 <SamSagaZ_> INFO werkzeug * Running on http://192.168.0.100:8000/ (Press CTRL+C to quit)
2016-09-07 16:44 <notizblock> SamSagaZ_: looks good
2016-09-07 16:44 <SamSagaZ_> im IN :D
2016-09-07 16:45 <pokoli> SamSagaZ_: congrats :D
2016-09-07 16:45 <SamSagaZ_> lol just dont remember the password, will create the db again
2016-09-07 16:45 <SamSagaZ_> thanks foryour support guys
2016-09-07 17:28 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-09-07 19:14 <SamSagaZ_> guys, wich is the right way to set languages in tryton? i want to the users can see the tryton in spanish
2016-09-07 19:14 <SamSagaZ_> i set es_ES in the conf file but still see it in english
2016-09-07 19:15 <SamSagaZ_> and into users preferences are empty the option to choice lang
2016-09-07 19:15 <SamSagaZ_> maybe need to isntall some modle?
2016-09-07 19:15 <SamSagaZ_> module
2016-09-07 19:26 <yangoon> pokoli: hi! as you worked on the localization awareness of eonasdan-bootstrap-datetimepicker, on which version did you work?
2016-09-07 19:27 <yangoon> pokoli: more precisely: did you get any other than 4.7.14 to work, namely the actual version 4.17.42?
2016-09-07 19:30 -!- darkwarriorjam(48fcf40a@gateway/web/freenode/ip.72.252.244.10) has joined #tryton
2016-09-07 19:30 <darkwarriorjam> hi ..any one home
2016-09-07 19:32 <darkwarriorjam> i have a prob running tryton 3.4.12 on windows 7 it wants elevated privilege, how can i run it without?
2016-09-07 19:35 <darkwarriorjam> thanks for your time
2016-09-07 20:08 <SamSagaZ_> i broken my tryton after install some modules
2016-09-07 20:08 <SamSagaZ_> is possible to remove all the files from tryton and start again?
2016-09-07 20:08 <SamSagaZ_> i want to disable all these modules
2016-09-07 20:13 <SamSagaZ_> fixed, removed all the files from python dist-packages
2016-09-07 20:14 <SamSagaZ_> trytond broken after install trytonar_account_bank_ar :/
2016-09-07 20:16 <SamSagaZ_> ImportError: cannot import name safe_eval
2016-09-07 20:31 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-09-07 20:58 <SamSagaZ_> foudn the error
2016-09-07 20:58 <SamSagaZ_> module is not compatible with version 4
2016-09-07 21:14 <darkwarriorjam> hi anyone has an answer for me/ re running tryton 3.4.12 on windows 7 requiers elevated privilege?
2016-09-07 21:19 -!- scrapper(~scrapper@88.117.159.6) has joined #tryton
2016-09-07 21:32 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-09-07 21:47 -!- udono(~udono@tmo-111-47.customers.d1-online.com) has joined #tryton
2016-09-07 22:46 -!- udono(~udono@tmo-111-47.customers.d1-online.com) has joined #tryton
2016-09-07 23:22 <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 food
2016-09-07 23:24 <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 that
2016-09-07 23:24 <SamSagaZ_> (sorry for my english) :D

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