IRC logs of #tryton-es for Friday, 2015-09-25

chat.freenode.net #tryton-es log beginning Fri Sep 25 00:00:01 CEST 2015
-!- ja1000_(~ja1000@187.171.249.177) has joined #tryton-es00:44
-!- smarro(~sebastian@181.16.4.44) has joined #tryton-es01:04
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton-es08:57
-!- aroncero(~aroncero@86.63.19.153) has joined #tryton-es08:58
-!- mariomop(~quassel@181.110.71.72) has joined #tryton-es12:44
-!- kstenger(~karla@200.124.209.158) has joined #tryton-es13:42
-!- pablovannini(~pablo@186.18.45.163) has joined #tryton-es14:13
-!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es14:41
-!- gremly(~gremly@190.85.36.58) has joined #tryton-es15:19
-!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es15:40
-!- smarro(~sebastian@181.16.4.44) has joined #tryton-es17:13
-!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es17:50
-!- smarro(~sebastian@181.16.4.44) has joined #tryton-es20:30
-!- lukio(~lukio@181.47.148.245) has joined #tryton-es21:19
lukiohola, le estoy agregando un domain a un campo de tipo One2Many y no parece ser que se esta aplicando el mismo.21:21
lukiotengo un modelo llamado payment.collect.transaction de la siguiente forma:21:21
lukio class CollectTransaction(ModelSQL, ModelView):21:21
lukio      'Collect Transaction'21:21
lukio      __name__ = 'payment.collect.transaction'21:21
lukio  21:21
lukio      collect_result = fields.Selection([21:21
lukio             ('', 'n/a'),21:21
lukio             ('A', 'Aceptado'),21:22
lukio             ('R', 'Rechazado'),21:22
lukio         ], 'Resultado', readonly=True,21:22
lukio         help=u"Resultado procesamiento de la Cobranza")21:22
lukio      collect_message = fields.Text('Mensaje', readonly=True,21:22
lukio         help=u"Mensaje de error u observaci√≥n")21:22
lukio      invoice = fields.Many2One('account.invoice', 'Invoice', readonly=True)21:22
lukio+     party = fields.Many2One('party.party', 'Party', readonly=True)21:22
lukio      collect = fields.Many2One('payment.collect', 'Payment Collect')21:22
lukioy luego tengo otro modelo llamado: payment.collect que tiene el campo transactions_accepted que esta definido de la siguiente forma:21:22
lukiotransactions_accepted = fields.One2Many('payment.collect.transaction',21:22
lukio    'collect',21:22
lukio    'Payment Collect Transactions Accepted',21:23
lukio    domain=[('collect_result', '=', 'A')])21:23
lukioAgregué el campo transactins_accepted a la view, pero no filtra por el domain que le quiero aplicar -> domain=[('collect_result', '=', 'A')]21:23
lukioo sea, me muestra registros que tienen el dato con collect_result tanto en 'A' como en otros valores.21:24
lukioalgo se le ocurre que puede estar mal? gracias!21:24
-!- ja1000(~ja1000@187.171.171.193) has joined #tryton-es22:32
-!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es22:32
-!- smarro(~sebastian@181.16.4.44) has joined #tryton-es22:42
-!- kstenger(~karla@r167-59-118-61.dialup.adsl.anteldata.net.uy) has joined #tryton-es23:02
-!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es23:29
-!- lukio(~lukio@181.47.148.245) has left #tryton-es23:52

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