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

chat.freenode.net #tryton log beginning Mon Feb 16 00:00:01 CET 2015
-!- TheCowboy(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton00:05
-!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton00:08
-!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton00:11
-!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton02:26
-!- yangoon1(~mathiasb@p549F156C.dip0.t-ipconnect.de) has joined #tryton06:02
-!- frispete_(~frispete@p54A91B08.dip0.t-ipconnect.de) has joined #tryton06:40
-!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton07:17
-!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton07:42
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton08:11
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:24
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton09:07
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:12
-!- bechamel1(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton09:15
-!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has left #tryton09:33
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:34
-!- Rollo(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton09:38
Rollohi - 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?09:44
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton09:46
pokoliRollo: it depends on other field or the entry must be always removed?09:49
-!- prksh(~prksh@103.245.118.154) has joined #tryton10:21
-!- udono(~udono@ip-37-24-115-92.hsi14.unitymediagroup.de) has joined #tryton10:21
pokolicedk: about https://bugs.tryton.org/msg20222 it's ok to commit directly the rename?10:43
cedkpokoli: yes10:45
-!- prksh(~prksh@103.245.118.154) has joined #tryton10:55
Rollopokoli: 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 valid11:03
Rollopokoli: so - it depends on other field11:04
cedkRollo: it is probably wrong to put a record in a wizard11:07
pokoliRollo: you have a wizard to modify record states? sounds weird11:08
pokoliRollo: why not using buttons and Workflow.transition decorator?11:09
Rollopokoli, 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.11:18
pokoliRollo: but a wizard can be applied to multiple records each one with a diferent state11:22
pokoliRollo: so what state will you use in this case?11:23
pokoliRollo: 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_with11:23
Rollopokoli: ok - thank's. you are right with the multiple records. but your hint is very useful.11:25
pokoliRollo: you're welcome. If you give a longer explanation about what are you trying to achive, we can try to give more hints11:27
-!- prksh(~prksh@103.245.118.154) has joined #tryton12:45
-!- prksh(~prksh@103.245.118.154) has left #tryton13:27
-!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton13:28
-!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton13:28
-!- munron(~AndChat68@197.211.216.214) has joined #tryton13:37
-!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton13:59
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton14:01
VaticanCameosCan 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).14:04
VaticanCameosOn searching using this tuple, I get the error 'need more than 3 values to unpack'.14:04
pokoliVaticanCameos: as you're using a reference field to join, you must especify the target model14:05
pokoliso domain will be: ('attendees.origin.sale', 'in', list_of_ids, 'sale.line')14:05
VaticanCameospokoli: thanks, trying this out14:07
pokoliVaticanCameos: it's explained on the docs with a warning :) http://doc.tryton.org/3.4/trytond/doc/topics/domain.html#syntax14:07
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton14:07
VaticanCameospokoli: ah, thanks14:08
-!- yangoon(~mathiasb@p549F156C.dip0.t-ipconnect.de) has joined #tryton14:34
-!- prksh(~prksh@103.245.118.154) has joined #tryton14:47
-!- prksh(~prksh@103.245.118.154) has left #tryton14:49
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton15:11
-!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton15:22
-!- Rollo(~Thunderbi@95.90.209.197) has joined #tryton15:29
-!- munron(~AndChat68@197.211.216.214) has joined #tryton15:56
-!- pobsteta1(~Thunderbi@185.10.253.102) has joined #tryton16:03
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton16:16
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton16:21
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton16:28
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton16:33
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton16:44
-!- jcros1(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton16:56
-!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton16:57
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton17:08
-!- jean_cavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton17:14
jean_cavalloHi all17:14
jean_cavalloJust noticed that account_invoice has no "doc" folder.17:15
jean_cavalloAt the very least, no documentation appears on the doc website for this module17:15
jean_cavalloSo I was wondering if it may have been lost due to a fail commit / merge ? It seems weird that such an important module has nothing17:16
pokolijean_cavallo: i have search on the mercurial history and there is no doc on any changeset17:21
pokolijean_cavallo: so it may be missing from first commit17:22
jean_cavallopokoli: Weird17:48
pokolijean_cavallo: not so, see https://bugs.tryton.org/issue392017:51
-!- pobsteta1(~Thunderbi@185.10.253.102) has joined #tryton17:53
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton17:55
-!- jcros1(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton18:05
cedkpokoli: it will be good to put components on this issue and remove them once the module has doc18:20
pokolicedk: AFAIU there is no need of doc for account_fr, account_be, etc18:23
cedkpokoli: it will not hurt to have just a small hint about it18:24
cedkpokoli: so it will be listed in the website18:25
pokolicedk: done :) stock location sequence is not a component18:27
cedkpokoli: added18:29
pokolicedk: thanks, set assigned to the issue18:30
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton18:31
-!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton18:36
-!- frispete_(~frispete@p54A91B08.dip0.t-ipconnect.de) has joined #tryton19:15
-!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton19:31
-!- xrg_(~panos@46.246.199.107.dsl.dyn.forthnet.gr) has joined #tryton19:42
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton20:03
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton20:16
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton21:47
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton22:21
-!- munron(~AndChat68@197.211.216.214) has joined #tryton22:21
-!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton23:19
-!- frispete(~frispete@p54A91B08.dip0.t-ipconnect.de) has joined #tryton23:26
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton23:29
-!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton23:52

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