IRC logs of #tryton for Monday, 2015-02-16

chat.freenode.net #tryton log beginning Mon Feb 16 00:00:01 CET 2015
2015-02-16 00:05 -!- TheCowboy(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2015-02-16 00:08 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-02-16 00:11 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-02-16 02:26 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-16 06:02 -!- yangoon1(~mathiasb@p549F156C.dip0.t-ipconnect.de) has joined #tryton
2015-02-16 06:40 -!- frispete_(~frispete@p54A91B08.dip0.t-ipconnect.de) has joined #tryton
2015-02-16 07:17 -!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2015-02-16 07:42 -!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2015-02-16 08:11 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-02-16 08:24 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-02-16 09:07 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 09:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-02-16 09:15 -!- bechamel1(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-02-16 09:33 -!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has left #tryton
2015-02-16 09:34 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-02-16 09:38 -!- Rollo(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2015-02-16 09:44 <Rollo> hi - I have a fields.Selection in a Wizard which changes the state of a record. I there a way to remove a entry from the fields.Selection.selection dynamicly while loading the StateView?
2015-02-16 09:46 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2015-02-16 09:49 <pokoli> Rollo: it depends on other field or the entry must be always removed?
2015-02-16 10:21 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-02-16 10:21 -!- udono(~udono@ip-37-24-115-92.hsi14.unitymediagroup.de) has joined #tryton
2015-02-16 10:43 <pokoli> cedk: about https://bugs.tryton.org/msg20222 it's ok to commit directly the rename?
2015-02-16 10:45 <cedk> pokoli: yes
2015-02-16 10:55 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-02-16 11:03 <Rollo> pokoli: in the wizard I have a record - this record has a state. I wan't to remove this state from the possible values of a fields.Selection - because changing from same state to same state is not valid
2015-02-16 11:04 <Rollo> pokoli: so - it depends on other field
2015-02-16 11:07 <cedk> Rollo: it is probably wrong to put a record in a wizard
2015-02-16 11:08 <pokoli> Rollo: you have a wizard to modify record states? sounds weird
2015-02-16 11:09 <pokoli> Rollo: why not using buttons and Workflow.transition decorator?
2015-02-16 11:18 <Rollo> pokoli, cedk: I'm writing a mixin - so I need it generic. Everything works fine - I only need a dynamic selection depending on selected record in a wizard.
2015-02-16 11:22 <pokoli> Rollo: but a wizard can be applied to multiple records each one with a diferent state
2015-02-16 11:23 <pokoli> Rollo: so what state will you use in this case?
2015-02-16 11:23 <pokoli> Rollo: in order to make a selection depen on another method you can use selection_change_with http://doc.tryton.org/3.4/trytond/doc/ref/models/fields.html?highlight=selection_change_with#trytond.model.fields.Selection.selection_change_with
2015-02-16 11:25 <Rollo> pokoli: ok - thank's. you are right with the multiple records. but your hint is very useful.
2015-02-16 11:27 <pokoli> Rollo: you're welcome. If you give a longer explanation about what are you trying to achive, we can try to give more hints
2015-02-16 12:45 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-02-16 13:27 -!- prksh(~prksh@103.245.118.154) has left #tryton
2015-02-16 13:28 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2015-02-16 13:28 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-02-16 13:37 -!- munron(~AndChat68@197.211.216.214) has joined #tryton
2015-02-16 13:59 -!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton
2015-02-16 14:01 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 14:04 <VaticanCameos> Can a domain tuple have a one2many field? Say I'm searching on the calendar.events model, for ('attendees.origin.sale', 'in', list_of_ids), where attendees is a hypothetical one2many field, and each attendee record has an origin (which I set here as SaleLine record).
2015-02-16 14:04 <VaticanCameos> On searching using this tuple, I get the error 'need more than 3 values to unpack'.
2015-02-16 14:05 <pokoli> VaticanCameos: as you're using a reference field to join, you must especify the target model
2015-02-16 14:05 <pokoli> so domain will be: ('attendees.origin.sale', 'in', list_of_ids, 'sale.line')
2015-02-16 14:07 <VaticanCameos> pokoli: thanks, trying this out
2015-02-16 14:07 <pokoli> VaticanCameos: it's explained on the docs with a warning :) http://doc.tryton.org/3.4/trytond/doc/topics/domain.html#syntax
2015-02-16 14:07 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-02-16 14:08 <VaticanCameos> pokoli: ah, thanks
2015-02-16 14:34 -!- yangoon(~mathiasb@p549F156C.dip0.t-ipconnect.de) has joined #tryton
2015-02-16 14:47 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-02-16 14:49 -!- prksh(~prksh@103.245.118.154) has left #tryton
2015-02-16 15:11 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton
2015-02-16 15:22 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-16 15:29 -!- Rollo(~Thunderbi@95.90.209.197) has joined #tryton
2015-02-16 15:56 -!- munron(~AndChat68@197.211.216.214) has joined #tryton
2015-02-16 16:03 -!- pobsteta1(~Thunderbi@185.10.253.102) has joined #tryton
2015-02-16 16:16 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-02-16 16:21 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2015-02-16 16:28 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-02-16 16:33 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-02-16 16:44 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-02-16 16:56 -!- jcros1(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 16:57 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-16 17:08 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 17:14 -!- jean_cavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2015-02-16 17:14 <jean_cavallo> Hi all
2015-02-16 17:15 <jean_cavallo> Just noticed that account_invoice has no "doc" folder.
2015-02-16 17:15 <jean_cavallo> At the very least, no documentation appears on the doc website for this module
2015-02-16 17:16 <jean_cavallo> So I was wondering if it may have been lost due to a fail commit / merge ? It seems weird that such an important module has nothing
2015-02-16 17:21 <pokoli> jean_cavallo: i have search on the mercurial history and there is no doc on any changeset
2015-02-16 17:22 <pokoli> jean_cavallo: so it may be missing from first commit
2015-02-16 17:48 <jean_cavallo> pokoli: Weird
2015-02-16 17:51 <pokoli> jean_cavallo: not so, see https://bugs.tryton.org/issue3920
2015-02-16 17:53 -!- pobsteta1(~Thunderbi@185.10.253.102) has joined #tryton
2015-02-16 17:55 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 18:05 -!- jcros1(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 18:20 <cedk> pokoli: it will be good to put components on this issue and remove them once the module has doc
2015-02-16 18:23 <pokoli> cedk: AFAIU there is no need of doc for account_fr, account_be, etc
2015-02-16 18:24 <cedk> pokoli: it will not hurt to have just a small hint about it
2015-02-16 18:25 <cedk> pokoli: so it will be listed in the website
2015-02-16 18:27 <pokoli> cedk: done :) stock location sequence is not a component
2015-02-16 18:29 <cedk> pokoli: added
2015-02-16 18:30 <pokoli> cedk: thanks, set assigned to the issue
2015-02-16 18:31 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-02-16 18:36 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-16 19:15 -!- frispete_(~frispete@p54A91B08.dip0.t-ipconnect.de) has joined #tryton
2015-02-16 19:31 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-02-16 19:42 -!- xrg_(~panos@46.246.199.107.dsl.dyn.forthnet.gr) has joined #tryton
2015-02-16 20:03 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-02-16 20:16 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2015-02-16 21:47 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton
2015-02-16 22:21 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2015-02-16 22:21 -!- munron(~AndChat68@197.211.216.214) has joined #tryton
2015-02-16 23:19 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-02-16 23:26 -!- frispete(~frispete@p54A91B08.dip0.t-ipconnect.de) has joined #tryton
2015-02-16 23:29 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton
2015-02-16 23:52 -!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton

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