IRC logs of #tryton for Thursday, 2016-06-30

chat.freenode.net #tryton log beginning Thu Jun 30 00:00:01 CEST 2016
2016-06-30 00:05 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 00:24 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 00:29 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 00:50 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 01:20 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 01:26 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 02:08 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 02:48 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 04:15 -!- miknotauro(~miknotaur@189.217.82.95) has joined #tryton
2016-06-30 05:13 -!- sharkcz(~sharkcz@server.danny.cz) has joined #tryton
2016-06-30 05:22 -!- frispete(~frispete@p54A917C5.dip0.t-ipconnect.de) has joined #tryton
2016-06-30 06:27 -!- udono(~udono@ip-37-201-245-214.hsi13.unitymediagroup.de) has joined #tryton
2016-06-30 06:53 -!- leio_(~leio@gentoo/developer/leio) has joined #tryton
2016-06-30 07:50 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-30 08:01 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-06-30 08:09 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-06-30 08:24 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-06-30 08:33 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-30 08:56 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-06-30 09:03 -!- miknotauro(~miknotaur@189.217.82.95) has joined #tryton
2016-06-30 09:13 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-30 09:17 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-30 09:26 <prayashm> I don't understand why this line is required? http://hg.tryton.org/tryton/file/default/tryton/gui/window/win_import.py#l106
2016-06-30 09:28 <cedk> prayashm: it is to not take the first line as values
2016-06-30 09:28 <cedk> prayashm: usually the first line is header
2016-06-30 09:28 <prayashm> prayashm: But why set it while auto_detecting?
2016-06-30 09:29 <prayashm> cedk: *
2016-06-30 09:29 <cedk> prayashm: if you run autodetect, it means you have on the first line headers
2016-06-30 09:30 <prayashm> cedk: Oh ya. That makes sense ;)
2016-06-30 10:11 -!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton
2016-06-30 10:36 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton
2016-06-30 11:06 -!- buxy_bak(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2016-06-30 11:17 <prayashm> I asked PapaParse when the custom quote character can be in a release? He replied that he's not sure about that. And asked to pull from the master.
2016-06-30 11:18 <prayashm> should I change the dependency in bower to point to the exact commit where custom quote character is implemented?
2016-06-30 11:24 <cedk> prayashm: no never
2016-06-30 11:25 <cedk> prayashm: if there is no way to know if the feature is available then we will have to wait for a release before using it
2016-06-30 11:25 <prayashm> cedk: So for now, should I comment or remove all the code for quote char?
2016-06-30 11:26 <cedk> prayashm: I think you can keep the input but it should be disabled
2016-06-30 11:26 <prayashm> cedk: understood
2016-06-30 11:26 <cedk> prayashm: and just put a TODO where the options should be passed
2016-06-30 11:27 <prayashm> cedk: sure
2016-06-30 12:28 <pokoli> cedk: will be great if you can have a look on https://bugs.tryton.org/issue5672 and give some tips on how to solve it
2016-06-30 12:29 <pokoli> I spend a lot on time on it without any progress :(
2016-06-30 12:37 <cedk> pokoli: I don't understand step 7
2016-06-30 12:40 <prayashm> cedk: Are you sure about not changing the browser default? http://picpaste.com/pics/47WTJ8sV.1467283133.png
2016-06-30 12:43 <cedk> prayashm: indeed it is trange that bootstrap does not provide good default
2016-06-30 12:44 -!- zmijunkie(~Adium@i59F5C557.versanet.de) has joined #tryton
2016-06-30 12:44 <prayashm> cedk: Bootstrap does provide a list-group > list-item but that was too space consuming
2016-06-30 12:45 <pokoli> cedk: It's just create a new task at the same level of the previous task (using the children fields of both existing records)
2016-06-30 12:47 <cedk> pokoli: which level
2016-06-30 12:47 <pokoli> cedk: third level
2016-06-30 12:47 -!- mariomop(~quassel@181.92.6.48) has joined #tryton
2016-06-30 12:48 <cedk> prayashm: list-group looks good to me
2016-06-30 12:48 <cedk> prayashm: and there is the active class for it
2016-06-30 12:49 <cedk> prayashm: bootstrap is always too space consuming, it is something we will have to find a solution. For now, we advise to just zoom at 90%
2016-06-30 12:50 <prayashm> cedk: There is bg-primary in helper classes which works same as active classes, and doesn't require to be in any parent class
2016-06-30 12:51 <prayashm> cedk: I used list-group > list-item initially, but for Tabs like Products, it consumes too much of screen space, so switched over plain ul > li
2016-06-30 12:51 <prayashm> cedk: Plain ul > li keeps it more similar to GTK client
2016-06-30 12:51 <cedk> prayashm: active class is more meaningful
2016-06-30 12:51 <prayashm> cedk: ^ Why is that?
2016-06-30 12:52 <cedk> prayashm: list-group is the correct usage otherwise you have to fine tune the css of your raw tag
2016-06-30 12:52 <cedk> prayashm: alos reusing standard bootstrap classes will ease the usage of themes
2016-06-30 12:54 <cedk> pokoli: I'm wondering it is not a problem of o2m widget which is still using the old screen/group
2016-06-30 12:54 <cedk> pokoli: so maybe the re-display did not change it
2016-06-30 13:01 <pokoli> cedk: yes, it seems something related to using an old reference. I will investigate, thanks
2016-06-30 13:21 <prayashm> cedk: I don't list-group should be the solution, if I append deeper level nodes to parent: http://www.bootply.com/NI7UkMJE1g
2016-06-30 13:21 <prayashm> s/don't/don't think
2016-06-30 13:22 <prayashm> cedk: and if I use .after(child) then we have to write css to indent the child nodes properly
2016-06-30 13:28 <cedk> prayashm: so OK
2016-06-30 13:29 <cedk> prayashm: but try to have a more meaningful css
2016-06-30 13:30 <cedk> prayashm: probably by using an id on the CSV dialog and to change the default padding-left of all li
2016-06-30 13:33 <prayashm> cedk: okay
2016-06-30 13:39 <prayashm> cedk: Can I use a class (instead of id) for the CSV dialog? (the Sao.Dialog class already accepts class as a parameter)
2016-06-30 13:39 <cedk> prayashm: probably
2016-06-30 14:15 <pokoli> cedk: after saving the group have and empty list of records. This is normal?
2016-06-30 14:23 <mrichez> hello, what is the best way to set a default unit ('Unit' for example) when we don't have a product ?
2016-06-30 14:23 <mrichez> unit, = Uom.search([('name', '=', 'Unit')])
2016-06-30 14:25 <mrichez> this code is only in tests
2016-06-30 14:28 <pokoli> mrichez: don't set a default unit, but fill it via on change where a product is set
2016-06-30 14:28 <pokoli> s/where/when
2016-06-30 14:29 <mrichez> pokoli: but product is not mandatory
2016-06-30 14:29 <mrichez> required
2016-06-30 14:30 <mrichez> so in the description user can ask for '1To hard drive' and specify a quantity of 4 and i would default uom : unit
2016-06-30 14:35 <mrichez> uom is required in purchase request, i'm testing issue 27431002 with a purchase_requisition (issue 23231002) without product
2016-06-30 14:58 -!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton
2016-06-30 15:00 <cedk> mrichez: indeed I should remove the required on uom also
2016-06-30 15:05 <mrichez> cedk: would be the solution :-)
2016-06-30 15:29 -!- kstenger(~karla@r186-54-46-80.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-30 15:34 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 16:21 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 16:27 -!- aasnan(~angel@48.red-83-45-194.dynamicip.rima-tde.net) has joined #tryton
2016-06-30 16:44 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 18:30 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 18:35 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 18:46 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 19:10 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-06-30 19:22 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-30 20:33 -!- kstenger1(~karla@r186-48-242-77.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-30 21:15 -!- caleb(~caleb@bb-66-63-86-50.static.gwi.net) has joined #tryton
2016-06-30 21:45 -!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton
2016-06-30 22:08 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-06-30 23:24 -!- zodman_(~zodman@187.147.186.148) has joined #tryton

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