chat.freenode.net #tryton log beginning Sat Apr 30 00:00:01 CEST 2016 | ||
2016-04-30 01:25 -!- jvblasco(~seba@185.39.42.129) has joined #tryton | ||
2016-04-30 01:45 -!- shrox(shrox@nat/iiit/x-zgvmnfofhfzcjpjv) has joined #tryton | ||
2016-04-30 01:53 -!- jvblasco(~seba@185.39.42.129) has joined #tryton | ||
2016-04-30 02:21 -!- shrox(shrox@nat/iiit/x-byxaizltygjmyrrh) has joined #tryton | ||
2016-04-30 02:37 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-04-30 04:16 -!- shrox(shrox@nat/iiit/x-dynthyjrojxoifig) has joined #tryton | ||
2016-04-30 04:49 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-04-30 05:07 -!- jvblasco(~seba@185.39.42.129) has joined #tryton | ||
2016-04-30 05:49 -!- kstenger1(~karla@r190-133-91-48.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-04-30 06:41 -!- leio(~leio@gentoo/developer/leio) has joined #tryton | ||
2016-04-30 07:40 -!- frispete_(~frispete@p54A90815.dip0.t-ipconnect.de) has joined #tryton | ||
2016-04-30 09:22 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-04-30 09:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-04-30 10:20 -!- leio(~leio@gentoo/developer/leio) has joined #tryton | ||
2016-04-30 11:05 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2016-04-30 11:21 -!- niki(~niki@0x3e2c8637.mobile.telia.dk) has joined #tryton | ||
2016-04-30 12:50 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-04-30 14:54 -!- mariomop(~quassel@181.92.5.209) has joined #tryton | ||
2016-04-30 15:49 -!- leio(~leio@gentoo/developer/leio) has joined #tryton | ||
2016-04-30 15:52 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-04-30 16:45 -!- ChkDigit(~u388mw@74.3.144.66) has joined #tryton | ||
2016-04-30 17:34 -!- leio_(~leio@gentoo/developer/leio) has joined #tryton | ||
2016-04-30 17:50 -!- kstenger1(~karla@r179-24-185-72.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-04-30 22:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-04-30 23:17 -!- JosDzG(~Thunderbi@201.157.45.34) has joined #tryton | ||
2016-04-30 23:21 -!- csotelo(~csotelo@190.236.47.77) has joined #tryton | ||
2016-04-30 23:24 <csotelo> dear coders, I am tryton to do something like @fields.depends('name.party_target') where name is a relationship field to a Many2One, and whe I access inside the method, with a self.name.party_target on a new item, I am getting AttributeError: 'NoneType' object has no attribute 'party_target' | ||
2016-04-30 23:24 <csotelo> any suggesrt? | ||
2016-04-30 23:25 <csotelo> suggest* | ||
2016-04-30 23:38 <cedk> csotelo: you must use the _parent_party_target tip | ||
2016-04-30 23:38 <csotelo> cedk, thanks, let me try | ||
2016-04-30 23:38 <cedk> csotelo: but this value if not always garantee to be set | ||
2016-04-30 23:38 <csotelo> is there another way? | ||
2016-04-30 23:39 <cedk> csotelo: if it is not enough, you have to create a function field that bring back to the model the target value | ||
2016-04-30 23:39 <cedk> csotelo: _parent only works for record inside a One2Many | ||
2016-04-30 23:39 <csotelo> sorry for this question.. any sample module with this solution? | ||
2016-04-30 23:40 <cedk> csotelo: I think sale has | ||
2016-04-30 23:40 <cedk> csotelo: but for sure invoice.py | ||
2016-04-30 23:40 <csotelo> thanks! | ||
2016-04-30 23:45 -!- smarro(~sebastian@181.16.7.104) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!