chat.freenode.net #tryton-es log beginning Wed Nov 18 00:02:01 CET 2015 | ||
2015-11-18 03:55 -!- ja1000(~ja1000@187.171.170.164) has joined #tryton-es | ||
2015-11-18 05:31 -!- smarro_(~sebastian@200.68.81.98) has joined #tryton-es | ||
2015-11-18 09:03 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton-es | ||
2015-11-18 11:20 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton-es | ||
2015-11-18 12:05 -!- mariomop(~quassel@host5.190-138-199.telecom.net.ar) has joined #tryton-es | ||
2015-11-18 13:12 -!- faviod(~faviod@190.108.228.120) has joined #tryton-es | ||
2015-11-18 13:14 -!- smarro_(~sebastian@200.68.81.98) has joined #tryton-es | ||
2015-11-18 14:21 -!- kstenger(~karla@200.124.209.158) has joined #tryton-es | ||
2015-11-18 14:51 -!- smarro_(~sebastian@host100.190-136-175.telecom.net.ar) has joined #tryton-es | ||
2015-11-18 14:51 -!- lukio(~lukio@181.47.148.245) has joined #tryton-es | ||
2015-11-18 15:16 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton-es | ||
2015-11-18 15:24 <aroncero> Hola, estoy intentando cambiar el state de varios campos de una vista | ||
2015-11-18 15:24 <aroncero> pero no se si esto es correcto | ||
2015-11-18 15:24 <aroncero> @classmethod | ||
2015-11-18 15:24 <aroncero> def view_attributes(cls): | ||
2015-11-18 15:24 <aroncero> return [('/form//field[@name="name"]', 'states', { | ||
2015-11-18 15:24 <aroncero> 'invisible': Not(Bool(Eval('is_person'))), | ||
2015-11-18 15:24 <aroncero> }), | ||
2015-11-18 15:24 <aroncero> ('//page[@id="party_personal_data"]', 'states', { | ||
2015-11-18 15:24 <aroncero> 'invisible': ~Eval('is_person'), | ||
2015-11-18 15:24 <aroncero> }), | ||
2015-11-18 15:24 <aroncero> ] | ||
2015-11-18 15:24 <aroncero> es decir | ||
2015-11-18 15:25 <aroncero> de una vez hacer los dos cambios | ||
2015-11-18 15:25 <aroncero> el segundo me funciona solo bien, es decir, me añade una pestaña | ||
2015-11-18 15:25 <aroncero> pero quiero ocultar el name | ||
2015-11-18 15:25 <aroncero> y no hace nada | ||
2015-11-18 15:25 <aroncero> es en el modelo party.party | ||
2015-11-18 15:39 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton-es | ||
2015-11-18 15:49 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton-es | ||
2015-11-18 15:51 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton-es | ||
2015-11-18 16:16 -!- ZipBreake(~mergo@2001:41d0:8:9167::114) has joined #tryton-es | ||
2015-11-18 20:07 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton-es | ||
2015-11-18 20:28 -!- smarro_(~sebastian@181.16.4.44) has joined #tryton-es | ||
2015-11-18 21:01 <lukio> smarro_: https://github.com/tryton-ar/account_invoice_ar/tree/feature/migracion-3.8 | ||
2015-11-18 21:03 -!- lukio(~lukio@181.47.148.245) has left #tryton-es | ||
2015-11-18 21:48 -!- smarro_(~sebastian@181.16.4.44) has joined #tryton-es | ||
2015-11-18 22:17 -!- woakas(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton-es | ||
2015-11-18 23:45 -!- smarro_(~sebastian@181.16.4.44) has joined #tryton-es |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!