IRC logs of #tryton for Monday, 2017-06-26

chat.freenode.net #tryton log beginning Mon Jun 26 00:00:01 CEST 2017
2017-06-26 00:11 <cedk> csotelo: please show the traceback
2017-06-26 00:15 <csotelo> cedk, give me a minute please, after the error, form get totally crashed
2017-06-26 00:19 <csotelo> cedk, sorry·. something is weird with my internet connection
2017-06-26 00:19 <csotelo> pastebin is no loading
2017-06-26 00:20 <csotelo> I will be waiting. as soon it gets back I will paste the trace back
2017-06-26 00:20 <csotelo> cedk, https://pastebin.com/zjMMuYUx
2017-06-26 00:24 <cedk> csotelo: fixed by issue5930
2017-06-26 00:39 <csotelo> cedk, I see, on 3.8??
2017-06-26 00:39 <csotelo> I see
2017-06-26 00:39 <csotelo> perfect!
2017-06-26 00:39 <csotelo> thanbs
2017-06-26 01:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-26 02:08 -!- thaneor(~ldlc6@r179-25-87-247.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-26 04:52 -!- vbastos(~vbastos@120.22.170.248) has joined #tryton
2017-06-26 05:50 <csotelo> Dear coders, I have and issue with this url module http://bitbucket.org/tryton-pe/account_pe on the setup.py file. Module doesnt install into tryton/modules path, the setup.py is : https://pastebin.com/ZjnjpfT5
2017-06-26 07:26 -!- _2cadz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2017-06-26 08:19 -!- JanGB(~jan@x590fefe5.dyn.telefonica.de) has joined #tryton
2017-06-26 08:33 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-06-26 08:34 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2017-06-26 08:47 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-06-26 08:57 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-06-26 09:06 -!- notizblock(~notizbloc@nblock.org) has joined #tryton
2017-06-26 09:12 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-06-26 09:19 -!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-26 09:40 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-06-26 10:08 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-26 10:35 -!- alexbodn(~alex@213.57.190.189) has joined #tryton
2017-06-26 10:35 <alexbodn> hello friends
2017-06-26 10:36 <alexbodn> hello pokoli, are you aboard?
2017-06-26 10:36 <pokoli> alexbodn: hi, yes I'm here :)
2017-06-26 10:36 <alexbodn> how are you?
2017-06-26 10:37 <alexbodn> my mission is fulfilled :)
2017-06-26 10:39 <pokoli> alexbodn: I'm testing some tryton regression ;) but well thanks. And you?
2017-06-26 10:39 <pokoli> alexbodn: I saw you ran a test suite
2017-06-26 10:39 <alexbodn> good thanks
2017-06-26 10:39 <pokoli> alexbodn: which version are you working on?
2017-06-26 10:41 <alexbodn> i made the required patch and test for default and 4.0. but i ran the test on 4.0 only
2017-06-26 10:42 <alexbodn> test ran on sqlite and pg
2017-06-26 10:42 <pokoli> alexbodn: sorry I do not rember, which issue are you talking about?
2017-06-26 10:43 <alexbodn> tryton-admin install modules with their dependencies.
2017-06-26 10:43 <alexbodn> you asked me to prepare a pr
2017-06-26 10:44 <pokoli> alexbodn: well, we don't accept PR, have a look at the how to contribute: http://www.tryton.org/how-to-contribute.html
2017-06-26 10:45 <pokoli> alexbodn: I can add you as contributor for https://tryton-rietveld.appspot.com/29361002/ so you can modify the patch
2017-06-26 10:46 <pokoli> alexbodn: can I have a look at your code?
2017-06-26 10:46 <alexbodn> of course you can, pokoli
2017-06-26 10:47 <alexbodn> i have cloned trytond in bitbucket (but forgot to fork). how can i make a patch?
2017-06-26 10:48 <pokoli> alexbodn: http://www.tryton.org/how-to-contribute.html#submitting-codereview
2017-06-26 10:49 <pokoli> alexbodn: if you are using mercurial, I will recomend hgreview
2017-06-26 10:53 <alexbodn> let me read
2017-06-26 10:53 <alexbodn> pokoli, i'd like to submit my modification to the patch
2017-06-26 10:54 <pokoli> alexbodn: then patch owner have to add you as contributor
2017-06-26 10:54 <pokoli> alexbodn: you're a lucky guy, as I'm the patch owner
2017-06-26 10:55 <alexbodn> knew it ;)
2017-06-26 10:55 <pokoli> alexbodn: I need your email (the one you use in rietvield) in order to do it
2017-06-26 11:00 <alexbodn> alexbodn@012.net.il
2017-06-26 11:01 <alexbodn> ah, just a moment, thought bitbucket.
2017-06-26 11:01 <alexbodn> i don't have a rietveld account yet. let me check first
2017-06-26 11:04 <alexbodn> pokoli, in rietveld i'm alexbodn@gmail.com
2017-06-26 11:05 <pokoli> alexbodn: added you as collaborator
2017-06-26 11:05 <pokoli> alexbodn: you should be able to modify the issue on rietvield
2017-06-26 11:07 <alexbodn> pokoli, could you please initiate me on how to export a patch from the hg up to submitting it ro rietveld?
2017-06-26 11:07 <pokoli> alexbodn: have you installed hgreview?
2017-06-26 11:07 <alexbodn> right now
2017-06-26 11:09 <alexbodn> pokoli hgreview installed
2017-06-26 11:12 <pokoli> alexbodn: so no you have to configure it as explained on the how-to-contribute
2017-06-26 11:13 <pokoli> alexbodn: and then get the review, modify and upload
2017-06-26 11:13 <pokoli> alexbodn: it's all explained on the how to contribute
2017-06-26 11:13 <alexbodn> ok
2017-06-26 11:14 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has left #tryton
2017-06-26 11:24 <csotelo> Hello coders, I have and issue with this url module http://bitbucket.org/tryton-pe/account_pe on the setup.py file. Module doesnt install into tryton/modules path, the setup.py is : https://pastebin.com/ZjnjpfT5
2017-06-26 11:26 <pokoli> csotelo: I don't see any issue
2017-06-26 11:28 <alexbodn> pokoli, i have already committed the patches. how should i proceed? may also submit per release patches?
2017-06-26 11:29 <pokoli> csotelo: btw, don't use trytond as prefix. It's reserved for oficial modules
2017-06-26 11:29 <pokoli> alexbodn: you don't have to commit them. Use use before-commit codereview
2017-06-26 11:29 <pokoli> alexbodn: but If you push them to your bitbucket fork, i can review them
2017-06-26 11:30 <pokoli> alexbodn: we only accept patches for latests development version
2017-06-26 11:30 <alexbodn> pokoli, i have 4 patches: 2 for 4.0 and 2 for default
2017-06-26 11:31 <pokoli> alexbodn: so lets center on default and forget about 4.0
2017-06-26 11:31 <pokoli> alexbodn: which patches?
2017-06-26 11:33 <alexbodn> one for fixing/backporting the password parameter to trytond-admin, and the second for the dependency handling, inc testing it
2017-06-26 11:54 <csotelo> pokoli, about prefix, nice to know that
2017-06-26 11:55 <csotelo> pokoli, when I do python setup.py install, it installs into egg path no into tryton/modules path
2017-06-26 11:55 <pokoli> alexbodn: there is no need to backport on default :)
2017-06-26 11:55 <pokoli> csotelo: and what's the problem? trytond will read module definition from there
2017-06-26 11:58 <csotelo> pokoli, this is righty, but module is not installed on tryton/module as I could see on other modeules. Let me create a paste bin with the paths
2017-06-26 11:59 <pokoli> csotelo: I know what you mean, but there is no problem about the paths
2017-06-26 11:59 <pokoli> csotelo: if the module is installed as python module, trytond is able to know about it
2017-06-26 12:01 <csotelo> hmmm, ok.. then.. why when I install other python module, it is set into trytond/modules path? probably I am wrong, but my "package_" definitions on setup.py points to trytond/modules path
2017-06-26 12:03 <pokoli> csotelo: IIRC each module is installed on it's own path
2017-06-26 12:03 <pokoli> csotelo: but I don't understand why you worry about that. Do you have any issue?
2017-06-26 12:04 <csotelo> pokoli, I have no try to test it on tryton, I just was testing the paths... and since i have found it, then I get worried
2017-06-26 12:04 <csotelo> let me try to chec it
2017-06-26 12:16 <alexbodn> pokoli, indeed. default needs a patch for password parameter.
2017-06-26 12:18 <alexbodn> my repository is a clone of original trytond on bitbucket. how could i connect it to my fork, instead?
2017-06-26 12:24 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-06-26 13:17 <pokoli> alexbodn: don't understand. What do you mean by connect it to my fork?
2017-06-26 13:17 <pokoli> alexbodn: can you share your repos URL?
2017-06-26 13:17 <pokoli> alexbodn: which patch for password parameter are we talking about? Where is the issue?
2017-06-26 13:18 -!- mariomop(~quassel@host146.181-14-116.telecom.net.ar) has joined #tryton
2017-06-26 13:53 -!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton
2017-06-26 14:11 -!- thaneor1(~ldlc6@r179-25-71-167.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-26 14:29 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-06-26 14:32 -!- smarro(~sebastian@cust-119-46-13-200.trynet.com.ar) has joined #tryton
2017-06-26 14:37 <LordVan> hi
2017-06-26 14:38 <LordVan> cedk, the gentoo ebuilds seem to be missing some dep .. i just tried to check a vat number through VIES and got this error: ImportError: No module named pysimplesoap.client
2017-06-26 14:38 <LordVan> after installing vatnumber with USE=vies it works ok
2017-06-26 14:43 -!- savumies(~morato@82-203-190-95.bb.dnainternet.fi) has joined #tryton
2017-06-26 14:52 -!- Piiteri(~Piiteri@unaffiliated/piiteri) has joined #tryton
2017-06-26 14:52 -!- Piiteri(~Piiteri@unaffiliated/piiteri) has left #tryton
2017-06-26 14:56 <LordVan> when i create a sale / offer and add a position .. why is my delivery date greyed out there?
2017-06-26 14:59 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-06-26 15:00 <andrespoliti> hello! do you know a method of scanning qr codes from Sao?
2017-06-26 15:16 <LordVan> What do i need to configure/set up to be able to mark a product as saleable ? I get the error "Account Revenue" is required
2017-06-26 15:16 <LordVan> ah .. seems i need an account category
2017-06-26 15:16 <LordVan> .. the error message was not too helpful :P
2017-06-26 15:21 <pokoli> andrespoliti: you should look for some js library like https://github.com/LazarSoft/jsqrcode
2017-06-26 15:22 <pokoli> andrespoliti: and then add it as sao plugin
2017-06-26 15:22 <pokoli> LordVan: account category or revenue account set for product template
2017-06-26 15:23 <alexbodn> pokoli, i cloned your repository locally. i think i can post both patches to review.
2017-06-26 15:25 <andrespoliti> pokoli: how do i add it as a plugin?
2017-06-26 15:25 <pokoli> alexbodn: which repository?
2017-06-26 15:26 <pokoli> andrespoliti: you should include you code in the index.html and extend sao to call it
2017-06-26 15:26 <pokoli> andrespoliti: what are you trying to achieve?
2017-06-26 15:27 <LordVan> pokoli, yeah i just created a dummy category
2017-06-26 15:27 <andrespoliti> pokoli: we want to be able to scan a qr code to open a record in tryton
2017-06-26 15:27 <alexbodn> pokoli, i've cloned https://bitbucket.org/tryton/trytond
2017-06-26 15:28 <LordVan> now i am stuck on something else .. when trying to save the sale i want to create i get an error message that i hae to select a company .. but for some reason that is greyed out
2017-06-26 15:28 <LordVan> my test data needs sorting haha
2017-06-26 15:28 <LordVan> or some glitch maybe i shall re-try
2017-06-26 15:29 <LordVan> pokoli, i was just confused, since i do not intend to use the accounting /b ook keeping module but apparently i still need some basic setup for sales - or can i disable that somehow?
2017-06-26 15:31 <LordVan> how come i get an error for missing permissions with the admin user?
2017-06-26 15:31 <LordVan> does the admin by default not have all permissions? - including making a sale
2017-06-26 15:32 <pokoli> andrespoliti: then you should probably create a new widget type for the qr scanner and add it to a wizard, which opens the record
2017-06-26 15:33 <pokoli> alexbodn: and where do you uploaded your changes?
2017-06-26 15:33 <pokoli> LordVan: you should create a minimal chart of accounts, and set the default accounts for products from accounting configuration
2017-06-26 15:33 <pokoli> LordVan: once you have the defaults set, everything will work as expected
2017-06-26 15:33 <LordVan> pokoli, now if i had even the slightes clue what minimal accounts are ^^
2017-06-26 15:34 <andrespoliti> pokoli: i have never modified sao. Do you know where should i look to create a new widget?
2017-06-26 15:34 <pokoli> LordVan: yes admin have all permisions, but maybe you are by passing an access rule due to the company field
2017-06-26 15:34 <LordVan> pokoli, i just created a dummy company
2017-06-26 15:34 <LordVan> ah wait
2017-06-26 15:34 <LordVan> maybe i failed there
2017-06-26 15:35 <LordVan> or maybe not
2017-06-26 15:35 <LordVan> complains about sale.sale
2017-06-26 15:37 <pokoli> andrespoliti: you should probably extend this method: http://hg.tryton.org/sao/file/6328001c2961/src/view/form.js#l818
2017-06-26 15:37 <LordVan> pokoli, is there a list of minimal requirements of data to set up to do test-sales?
2017-06-26 15:37 <pokoli> andrespoliti: but take care, that if you are using both sao and tryton, you should create the widget for both clients
2017-06-26 15:38 <pokoli> LordVan: may I see the full traceback? try runing the client with -d flag
2017-06-26 15:38 <andrespoliti> pokoli: yes, the client will only use sao
2017-06-26 15:38 <LordVan> pokoli, well i am using sao and/or the windows tryton client (unfortunately) not sure how to do the -d there
2017-06-26 15:39 <andrespoliti> pokoli: thank you!
2017-06-26 15:39 <pokoli> LordVan: On server side you can use the --dev flag to log errors :)
2017-06-26 15:39 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2017-06-26 15:40 <pokoli> andrespoliti: you're welcome, will be great if you can share your progress :)
2017-06-26 15:41 <LordVan> hmm how can i delete a company i created to test ..
2017-06-26 15:41 <LordVan> i do not find a delete button
2017-06-26 15:42 <andrespoliti> pokoli: yes, we will propose it and see if management gives us the time to do it :)
2017-06-26 15:44 <pokoli> LordVan: use the delete option from the toolbar: http://doc.tryton.org/4.4/tryton/doc/usage.html#tool-bar
2017-06-26 15:45 <LordVan> pokoli, i would
2017-06-26 15:45 <LordVan> if i had that button
2017-06-26 15:45 <LordVan> i only have new, save, switch view, reload then previous, next, ..
2017-06-26 15:45 <LordVan> (as admin)
2017-06-26 15:46 <pokoli> LordVan: use the icon on the left to open the full list of options
2017-06-26 15:50 <pokoli> LordVan: if using sao, you should click on the model name to open the list options
2017-06-26 15:51 <savumies> Hello
2017-06-26 15:52 <savumies> I'm customizing tryton for a dance school and have created some modules already. Now I'm wondering how should I integrate the accounting part to it.
2017-06-26 15:53 <savumies> Eg. how to add payments for enrollment and monthly fees
2017-06-26 15:55 <savumies> And also my client is not doing official accounting on the system thy just want to track incomes and expenses by categories, basically. Any suggestions?
2017-06-26 15:55 <LordVan> pokoli, ah! hidden so it can'T be pressed by accident?
2017-06-26 15:55 <LordVan> thanks :9
2017-06-26 15:56 <pokoli> LordVan: not hidden, but it's not one of the day to day operations you do on a record
2017-06-26 15:57 <pokoli> savumies: you should probably look at the sale_subscription module for monthly fees
2017-06-26 15:57 <pokoli> savumies: and for managing payments we have the account_payment module
2017-06-26 15:57 <pokoli> savumies: we have the accounting integrated, so once you start doing invoice you will have the accounting for free
2017-06-26 15:58 <LordVan> pokoli, point taken
2017-06-26 15:58 <LordVan> still tryingt o figure out why admin doesn't have sale.sale permission though
2017-06-26 16:01 <pokoli> LordVan: it should have
2017-06-26 16:01 <pokoli> LordVan: do you use some third-party module or have you customized model accesses?
2017-06-26 16:03 <LordVan> no had no time yet to do any of that
2017-06-26 16:03 <LordVan> i just put some test data in and looked into data migration
2017-06-26 16:03 <LordVan> i have like 3 parties in the system and 1 company
2017-06-26 16:03 <LordVan> 2 articles
2017-06-26 16:03 <LordVan> ^^
2017-06-26 16:04 <cedk> LordVan: I guess your user is not linked to the company
2017-06-26 16:06 <savumies> pokoli: Thanks. Maybe i'm missing something but the workflow of sales, invoicing and payment seems quite complex, as only one person will enter this information. It should be really simple and quick to add a payment.
2017-06-26 16:07 <pokoli> savumies: on tryton, payments are entered after posting the invoice
2017-06-26 16:07 <pokoli> savumies: so you can think about a extension of the invoicing workflow
2017-06-26 16:08 <LordVan> cedk, well i can't remember doing such a thing .. i shall look where to set that
2017-06-26 16:12 <savumies> pokoli: Thanks, i'll look into that.
2017-06-26 16:14 <LordVan> i am considering starting with a fresh db again ^^
2017-06-26 16:14 <LordVan> well thanks anyway so far i shall be back (gtg for the moment)
2017-06-26 16:14 <pokoli> LordVan: when you start a new db it asks you to create a company
2017-06-26 16:16 <LordVan> yes
2017-06-26 16:16 <LordVan> but it did not show that one in my dropdown for company on a sale
2017-06-26 16:16 <LordVan> i just deleted all and created it fresh
2017-06-26 16:16 <LordVan> now ti shows
2017-06-26 16:17 <LordVan> anyway i had some problems to start wtih
2017-06-26 16:17 <LordVan> so maybe i will reset the db
2017-06-26 16:17 <LordVan> ^^
2017-06-26 16:17 <LordVan> is there some wy to clear it or shall i just drop all the tables and re-create with trytond-admin?
2017-06-26 16:19 <pokoli> LordVan: drop and create is the easiet option
2017-06-26 16:19 <LordVan> i shall do that later ;)
2017-06-26 16:19 <LordVan> got to go out a bit now
2017-06-26 16:20 <LordVan> actually
2017-06-26 16:20 <LordVan> i shall do it before .. got anozhterh 10 mins
2017-06-26 16:26 <LordVan> note to self: dropdb & createdb is *a lot* easier tahn clearing all tables, sequences,.. ^^
2017-06-26 16:27 <LordVan> well re-created db fresh :d
2017-06-26 16:27 <LordVan> i feel better now haha - i shall test when i am back. cya
2017-06-26 16:40 -!- kstenger(~karla@r186-54-26-221.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-26 17:37 <cedk> kstenger: no prefix in commit message
2017-06-26 18:11 <kstenger> cedk: ah, yeah, sorry, forgot that
2017-06-26 18:16 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-06-26 18:36 -!- smarro(~sebastian@cust-138-45-13-200.trynet.com.ar) has joined #tryton
2017-06-26 18:54 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-06-26 19:01 -!- kstenger1(~karla@r186-50-61-129.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-06-26 20:16 -!- md(~md@35.red-83-56-132.dynamicip.rima-tde.net) has joined #tryton
2017-06-26 20:34 -!- smarro(~sebastian@cust-225-46-13-200.trynet.com.ar) has joined #tryton
2017-06-26 21:29 -!- vbastos(~vbastos@san1823193.lnk.telstra.net) has joined #tryton
2017-06-26 21:35 -!- ChanServ(ChanServ@services.) has joined #tryton
2017-06-26 21:37 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-06-26 22:00 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2017-06-26 22:51 -!- smarro(~sebastian@cust-219-46-13-200.trynet.com.ar) has joined #tryton
2017-06-26 23:03 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has left #tryton
2017-06-26 23:09 -!- vbastos(~vbastos@120.22.121.246) has joined #tryton
2017-06-26 23:12 -!- udono1(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-06-26 23:15 -!- udono(~udono@135-057-210-188.ip-addr.inexio.net) has joined #tryton

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