chat.freenode.net #tryton-es log beginning Fri Sep 25 00:00:01 CEST 2015 | ||
2015-09-25 00:44 -!- ja1000_(~ja1000@187.171.249.177) has joined #tryton-es | ||
2015-09-25 01:04 -!- smarro(~sebastian@181.16.4.44) has joined #tryton-es | ||
2015-09-25 08:57 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton-es | ||
2015-09-25 08:58 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton-es | ||
2015-09-25 12:44 -!- mariomop(~quassel@181.110.71.72) has joined #tryton-es | ||
2015-09-25 13:42 -!- kstenger(~karla@200.124.209.158) has joined #tryton-es | ||
2015-09-25 14:13 -!- pablovannini(~pablo@186.18.45.163) has joined #tryton-es | ||
2015-09-25 14:41 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es | ||
2015-09-25 15:19 -!- gremly(~gremly@190.85.36.58) has joined #tryton-es | ||
2015-09-25 15:40 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es | ||
2015-09-25 17:13 -!- smarro(~sebastian@181.16.4.44) has joined #tryton-es | ||
2015-09-25 17:50 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es | ||
2015-09-25 20:30 -!- smarro(~sebastian@181.16.4.44) has joined #tryton-es | ||
2015-09-25 21:19 -!- lukio(~lukio@181.47.148.245) has joined #tryton-es | ||
2015-09-25 21:21 <lukio> hola, le estoy agregando un domain a un campo de tipo One2Many y no parece ser que se esta aplicando el mismo. | ||
2015-09-25 21:21 <lukio> tengo un modelo llamado payment.collect.transaction de la siguiente forma: | ||
2015-09-25 21:21 <lukio> class CollectTransaction(ModelSQL, ModelView): | ||
2015-09-25 21:21 <lukio> 'Collect Transaction' | ||
2015-09-25 21:21 <lukio> __name__ = 'payment.collect.transaction' | ||
2015-09-25 21:21 <lukio> | ||
2015-09-25 21:21 <lukio> collect_result = fields.Selection([ | ||
2015-09-25 21:21 <lukio> ('', 'n/a'), | ||
2015-09-25 21:22 <lukio> ('A', 'Aceptado'), | ||
2015-09-25 21:22 <lukio> ('R', 'Rechazado'), | ||
2015-09-25 21:22 <lukio> ], 'Resultado', readonly=True, | ||
2015-09-25 21:22 <lukio> help=u"Resultado procesamiento de la Cobranza") | ||
2015-09-25 21:22 <lukio> collect_message = fields.Text('Mensaje', readonly=True, | ||
2015-09-25 21:22 <lukio> help=u"Mensaje de error u observación") | ||
2015-09-25 21:22 <lukio> invoice = fields.Many2One('account.invoice', 'Invoice', readonly=True) | ||
2015-09-25 21:22 <lukio> + party = fields.Many2One('party.party', 'Party', readonly=True) | ||
2015-09-25 21:22 <lukio> collect = fields.Many2One('payment.collect', 'Payment Collect') | ||
2015-09-25 21:22 <lukio> y luego tengo otro modelo llamado: payment.collect que tiene el campo transactions_accepted que esta definido de la siguiente forma: | ||
2015-09-25 21:22 <lukio> transactions_accepted = fields.One2Many('payment.collect.transaction', | ||
2015-09-25 21:22 <lukio> 'collect', | ||
2015-09-25 21:23 <lukio> 'Payment Collect Transactions Accepted', | ||
2015-09-25 21:23 <lukio> domain=[('collect_result', '=', 'A')]) | ||
2015-09-25 21:23 <lukio> Agregué el campo transactins_accepted a la view, pero no filtra por el domain que le quiero aplicar -> domain=[('collect_result', '=', 'A')] | ||
2015-09-25 21:24 <lukio> o sea, me muestra registros que tienen el dato con collect_result tanto en 'A' como en otros valores. | ||
2015-09-25 21:24 <lukio> algo se le ocurre que puede estar mal? gracias! | ||
2015-09-25 22:32 -!- ja1000(~ja1000@187.171.171.193) has joined #tryton-es | ||
2015-09-25 22:32 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es | ||
2015-09-25 22:42 -!- smarro(~sebastian@181.16.4.44) has joined #tryton-es | ||
2015-09-25 23:02 -!- kstenger(~karla@r167-59-118-61.dialup.adsl.anteldata.net.uy) has joined #tryton-es | ||
2015-09-25 23:29 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton-es | ||
2015-09-25 23:52 -!- lukio(~lukio@181.47.148.245) has left #tryton-es |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!