IRC logs of #tryton for Friday, 2018-02-16

chat.freenode.net #tryton log beginning Fri Feb 16 00:00:01 CET 2018
2018-02-16 00:40 -!- csotelo(~csotelo@181.64.241.17) has joined #tryton
2018-02-16 01:20 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-02-16 01:44 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton
2018-02-16 02:43 -!- thaneor(~ldlc6@179.26.112.163) has joined #tryton
2018-02-16 04:15 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton
2018-02-16 04:54 -!- yangoon(~mathiasb@i59F4AFCE.versanet.de) has joined #tryton
2018-02-16 06:54 -!- _2cadz(~2cadz@82.64.14.213) has joined #tryton
2018-02-16 07:41 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2018-02-16 08:23 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2018-02-16 08:30 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-02-16 08:42 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2018-02-16 08:52 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2018-02-16 11:32 -!- rpit(~rpit@p200300C88F1BB40056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2018-02-16 11:44 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2018-02-16 11:45 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2018-02-16 11:46 -!- mariomop(~quassel@181.93.9.188) has joined #tryton
2018-02-16 11:55 <jcm> hi, on 4.6 with proteus I can't create a party relation
2018-02-16 11:56 <jcm> r = Relation(from_=q, to=p, type=relation_responsible_of) gives TypeError: create is not callable
2018-02-16 12:13 <pokoli> jcm: you should use r.save() from proteus
2018-02-16 12:29 <jcm> pokoli: sure, this the thing I do before the error reported ;-)
2018-02-16 12:30 <jcm> seems the PartyRelation behaves differently than other models
2018-02-16 12:32 <jcm> usually I examine the test scenario *.rst to see how to use the object in proteus; but there's no scenario for party_relationship
2018-02-16 12:32 <cedk> jcm: PartyRelation is a ModelSQL only so it can not be used via RPC
2018-02-16 12:33 <cedk> jcm: you must use PartyRelationAll
2018-02-16 13:02 -!- catonano(~user@151.45.49.36) has joined #tryton
2018-02-16 13:03 -!- csotelo(~csotelo@179.7.44.147) has joined #tryton
2018-02-16 14:00 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2018-02-16 14:00 <andrespoliti> hi, is there a way of disabling the form view of a one2many field?
2018-02-16 14:01 <andrespoliti> i have a readonly many2many, but when a user double clicks a record, he can enter the form view and delete the record with the delete button
2018-02-16 14:01 <andrespoliti> ,i9yhjut9
2018-02-16 14:02 <pokoli> andrespoliti: yes, use view_ids to include only treeview http://doc.tryton.org/4.6/trytond/doc/topics/views/index.html?highlight=view_ids#field
2018-02-16 14:02 <pokoli> andrespoliti: that's something different :$
2018-02-16 14:02 <andrespoliti> pokoli: i only used the tree view in the view_ids field
2018-02-16 14:03 <andrespoliti> pokoli: oh no, sorry, i didn't specified a view_ids
2018-02-16 14:03 <pokoli> andrespoliti: IIRC correctly there is a bug for that, let me search
2018-02-16 14:05 <pokoli> andrespoliti: no, it was https://bugs.tryton.org/issue7074 but is not related
2018-02-16 14:06 <andrespoliti> pokoli: i included the tree view in the view_ids, but it still lets me go into the form view
2018-02-16 14:08 <andrespoliti> also there is no form view defined, it shows me the default form view that tryton makes
2018-02-16 14:08 <andrespoliti> i'm in 4.0
2018-02-16 14:13 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-02-16 14:17 <pokoli> andrespoliti: if IIUC the change view button is readonly but you can still change to form view by double clicking the record
2018-02-16 14:18 <pokoli> andrespoliti: but if you want to prevent deletion, better to remove delete access right for the user, so the delete buttons will be readonly
2018-02-16 14:19 <andrespoliti> would removing delete rights work if it's a function field?
2018-02-16 14:20 <pokoli> andrespoliti: will prevent to delete any record on the target model
2018-02-16 14:26 <andrespoliti> i removed delete access right from the model, the field and the group, but the button is still enabled
2018-02-16 14:26 <andrespoliti> it doesn't delete anymore, but the button is not disabled
2018-02-16 14:26 <andrespoliti> maybe that's a bug
2018-02-16 14:33 <pokoli> andrespoliti: could you test on a newer version? I remember uploading patches that disabled menu buttons when no access right
2018-02-16 14:47 -!- thaneor1(~ldlc6@179.26.113.135) has joined #tryton
2018-02-16 14:51 -!- catonano(~user@151.45.49.36) has joined #tryton
2018-02-16 15:49 -!- catonano(~user@151.45.49.36) has joined #tryton
2018-02-16 17:29 -!- thaneor(~ldlc6@179.26.30.22) has joined #tryton
2018-02-16 18:08 -!- NeonKing(~Neonking@176.179.38.86) has joined #tryton
2018-02-16 18:10 -!- NeonKing(~Neonking@unaffiliated/neonking) has joined #tryton
2018-02-16 19:49 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton
2018-02-16 19:55 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton
2018-02-16 20:26 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2018-02-16 20:27 -!- JosDzGx(~Thunderbi@189.195.156.226) has joined #tryton
2018-02-16 20:41 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2018-02-16 21:52 -!- catonano(~user@151.45.49.36) has joined #tryton
2018-02-16 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2018-02-16 22:52 -!- Guest13801(~marto@200.68.72.41) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!