IRC logs of #tryton for Tuesday, 2018-04-17

chat.freenode.net #tryton log beginning Tue Apr 17 00:00:01 CEST 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:49
-!- JanGB(~jan@x59cc8b78.dyn.telefonica.de) has joined #tryton23:41
-!- JanGB1(~jan@ip5f5b2f5d.dynamic.kabel-deutschland.de) has joined #tryton23:42
-!- udono(~udono@212-136-067-156.ip-addr.inexio.net) has joined #tryton00:11
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton00:17
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton00:18
-!- yangoon1(~mathiasb@i59F4F9CA.versanet.de) has joined #tryton02:55
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has joined #tryton03:33
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has joined #tryton03:37
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton04:08
-!- JanGB(~jan@x59cc8b78.dyn.telefonica.de) has joined #tryton05:00
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton05:14
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has left #tryton05:23
-!- sim6(sim6matrix@gateway/shell/matrix.org/x-tzwtfzqchjlrrset) has joined #tryton05:28
-!- rpit(~rpit@p200300C88F31270056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton06:11
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton06:26
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton06:50
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:12
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton07:15
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton07:26
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton08:18
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton08:51
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:39
-!- mariomop(~quassel@host4.186-108-210.telecom.net.ar) has joined #tryton11:40
mrichezhi, i'm getting this error with a new custom module : "You try to read records that don't exist anymore..." . After this message, gtk client is displaying correct number of lines but they are empty. How debug this kind of error ?13:15
cedkmrichez: check if there are not access rule that prevent to read it13:24
mrichezcedk: even if i'm admin ?13:25
cedkmrichez: admin has nothing special13:26
mrichezcedk: ok, will check, thanks13:29
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton13:32
mrichezcedk: as admin i'm member of all groups... so i could read data... Here's my module (a view based on a query to display lot quantity by location (inspired by zikzakmedia)) https://bitbucket.org/mrichez_saluc/trytond_lot_quantity_by_location/src13:41
mrichezProblem is when trying to access lot number (to read lot, you should be in stock_group and admin is in stock_group)13:41
cedkmrichez: being in all groups does not mean you can read all records13:52
cedkmrichez: your error does not come from access right but record rules13:52
mrichezcedk: ok, but nothing seems defined... will check..14:04
cedkmrichez: or you are maybe actually trying to read an id that does not exist14:12
mrichezcedk: i check the query in the database: id exists - my view is working when there's no lot_number linked to a product. And when there's error, the number of empty lines displayed is correct14:16
cedkmrichez: check the read query that is raising the error14:22
mrichezcedk: https://pastebin.com/BZmrYWaZ14:39
mrichezcedk: un log plus complet avec l'erreur et ensuite on voit qu'il va bien rechercher les lignes mais ne les affiche pas... https://pastebin.com/1mCm1hqN14:42
cedkmrichez: check the result of the SQL query and try to find why not all ids are there14:44
pokolimrichez: if it is a table_query generating the id's check that the id generation is idempotent14:47
pokolimrichez: it seems that you return an id on search but then it's not included in the read14:47
mrichezcedk: ok14:49
mrichezpokoli: following your suggestions..14:50
-!- cdchapman(~perturbed@73.98.169.222) has joined #tryton15:03
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton15:17
-!- rpit(~rpit@p200300C88F31270056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton15:21
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton15:25
-!- niki(~niki@0x3e2c8607.mobile.telia.dk) has joined #tryton16:25
-!- zmijunkie(~Adium@mue-88-130-32-038.dsl.tropolys.de) has joined #tryton16:28
-!- JanGB(~jan@x59cc89f4.dyn.telefonica.de) has joined #tryton16:41
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton17:09
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton18:02
andrespolitihi, is it possible to get the selected records of a one2many field?18:02
andrespolitii tried using multiselection fields, but they display all elements of the target model, regardless of the ids i pass to in the previous step (i'm in a wizard)18:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:05
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton20:00
-!- mariomop(~quassel@host4.186-108-210.telecom.net.ar) has joined #tryton21:39

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