chat.freenode.net #tryton log beginning Mon Mar 20 00:00:01 CET 2017 | ||
2017-03-20 01:29 -!- sebd(~seb@aditu.ldd.fr) has joined #tryton | ||
2017-03-20 01:39 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-03-20 07:52 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton | ||
2017-03-20 07:55 -!- thaneor1(~ldlc6@r167-56-51-203.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-03-20 08:20 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | ||
2017-03-20 08:24 -!- rpit(~rpit@aftr-37-24-150-29.unity-media.net) has joined #tryton | ||
2017-03-20 08:56 -!- csotelo(~csotelo@2001:1388:49c5:5ec3:4c64:fdf9:8812:475d) has joined #tryton | ||
2017-03-20 08:59 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2017-03-20 09:05 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-03-20 10:00 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2017-03-20 10:05 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2017-03-20 10:16 -!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton | ||
2017-03-20 10:39 <cedk> pokoli: how did you manage https://bugs.tryton.org/issue5475 | ||
2017-03-20 10:42 <pokoli> cedk: using vim copy paste, not script | ||
2017-03-20 10:42 <cedk> pokoli: but https://bugs.tryton.org/issue6376 | ||
2017-03-20 10:44 <pokoli> cedk: It seems i did not update the domain correctly :) | ||
2017-03-20 10:44 <pokoli> cedk: indeed the purchase changeset is right: http://hg.tryton.org/modules/purchase/rev/604605f42fe2 | ||
2017-03-20 10:47 <pokoli> ACTION is checking all the commits | ||
2017-03-20 10:52 <pokoli> cedk: indeed http://hg.tryton.org/modules/purchase_requisition/rev/0418e86aa5a9 contains a type also | ||
2017-03-20 10:53 <pokoli> ACTION is going to write a test case for action domains | ||
2017-03-20 10:55 -!- csotelo(~csotelo@2001:1388:49c5:5ec3:4c64:fdf9:8812:475d) has joined #tryton | ||
2017-03-20 11:29 <g5pw> cedk: I picked up Proteus pretty quickly and made an import script 😊 thanks! | ||
2017-03-20 11:30 <cedk> g5pw: no better ETL than a Python script :-) | ||
2017-03-20 11:31 <g5pw> yup 😊 | ||
2017-03-20 11:37 <pokoli> ACTION is running the test agains all modules | ||
2017-03-20 12:08 -!- mariomop(~quassel@181.90.125.226) has joined #tryton | ||
2017-03-20 12:28 <csotelo> Hello coders, any url sample where modules a clase is instanced on to save data? thanks a lot | ||
2017-03-20 12:39 <pokoli> csotelo: http://pastebin.com/qTzUJTHz | ||
2017-03-20 12:41 <csotelo> pokoli, thanks a loty | ||
2017-03-20 12:41 <csotelo> perfect! so easy! | ||
2017-03-20 12:42 <pokoli> cedk: https://bugs.tryton.org/issue6377 | ||
2017-03-20 12:42 <pokoli> csotelo: and if you want to load an existing record just use Model(id) when instanciating the class | ||
2017-03-20 12:42 <pokoli> csotelo: this will load the record with id (if exists) | ||
2017-03-20 12:43 <csotelo> great!! thanks a lot | ||
2017-03-20 13:20 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2017-03-20 13:20 <mrichez> pokoli: hi, so my issue is useless : https://tryton-rietveld.appspot.com/33221003 | ||
2017-03-20 13:21 <mrichez> pokoli: or duplicate :-) | ||
2017-03-20 13:26 <pokoli> mrichez: indeed it's incomplete as there is a typo on the other domain also | ||
2017-03-20 13:27 <mrichez> pokoli: ok, i'll remove my issue | ||
2017-03-20 13:27 <pokoli> mrichez: or fix both domains if you want | ||
2017-03-20 13:29 <mrichez> pokoli: as you want... it's to avoid having same issues | ||
2017-03-20 13:29 <pokoli> mrichez: indeed my issue is an addition to yours :) | ||
2017-03-20 13:36 -!- csotelo(~csotelo@2001:1388:49c5:76c3:db58:142a:8752:28f3) has joined #tryton | ||
2017-03-20 14:20 <mrichez> pokoli: :-) i'll update my issue | ||
2017-03-20 14:37 <mrichez> pokoli: Done : https://tryton-rietveld.appspot.com/33221003/ | ||
2017-03-20 14:44 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-03-20 15:13 <pokoli> mrichez: great, but title must be updated now :) | ||
2017-03-20 15:15 <mrichez> pokoli: ok, i'm copying your title | ||
2017-03-20 15:37 -!- kstenger(~karla@r186-54-17-229.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-03-20 15:47 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton | ||
2017-03-20 16:15 <savumies> g5pw: can you share your script, please? =] | ||
2017-03-20 17:09 <savumies> cedk: perhaps my question yesterday wasn't very clear. I created a paste with the code. | ||
2017-03-20 17:09 <savumies> https://paste.unixcorn.org/?0e7abbda904fec0b#SY75UhsWJOdBzg0r8kTTbdWqOhUVc8LumE77Gd2drRo= | ||
2017-03-20 17:10 <cedk> savumies: what question? | ||
2017-03-20 17:10 <savumies> in line 74 I want to select a participant of the activity. | ||
2017-03-20 17:10 <savumies> I'm creating a model with a many2many field to party. What do I need to do to be able to choose one of the records in the many2many from another model? | ||
2017-03-20 17:11 <savumies> that. I don't know how to explain it better than this. | ||
2017-03-20 17:13 <cedk> savumies: I can not really answer, you are just describing the behaviour of a Many2Many | ||
2017-03-20 17:16 <savumies> cedk: I see. The problem is that I would expect that the code I wrote would work but when I run it the client gives an error: | ||
2017-03-20 17:16 <savumies> Calling method search_read on <class 'trytond.modules.activities.activities-party.participants'> is not allowed | ||
2017-03-20 17:18 <cedk> savumies: it is because in line 74, you have a Many2One to this ModelSQL-only | ||
2017-03-20 17:19 <cedk> savumies: so if that field is shown in the view, it fails | ||
2017-03-20 17:21 <savumies> cedk: so how should it be instead? I've been through this for a few days now and didn't figure it out. | ||
2017-03-20 17:22 <cedk> savumies: if you want to show a model, it must inherit from ModelView | ||
2017-03-20 17:30 <savumies> cedk: oh just that. I knew it was something ordinary. Thanks. | ||
2017-03-20 18:02 -!- kstenger1(~karla@r167-56-254-77.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-03-20 18:23 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-03-20 18:39 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2017-03-20 19:56 -!- thaneor(~ldlc6@r179-25-71-211.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-03-20 20:54 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2017-03-20 21:18 -!- plaes_(~plaes@plaes.org) has joined #tryton | ||
2017-03-20 21:19 -!- xcodinas_(~xcodinas@5.134.115.102) has joined #tryton | ||
2017-03-20 21:19 -!- notizblo1k(~notizbloc@nblock.org) has joined #tryton | ||
2017-03-20 21:20 -!- kstenger1(~karla@r167-56-254-77.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-03-20 21:23 -!- giesen_(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton | ||
2017-03-20 21:30 -!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton | ||
2017-03-20 23:07 -!- jcm(~jcm@78.194.214.115) has joined #tryton | ||
2017-03-20 23:08 -!- xcodinas(~xcodinas@5.134.115.102) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!