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 #tryton00:04
-!- JanGB(~jan@x59cc8b78.dyn.telefonica.de) has joined #tryton01:04
-!- JanGB1(~jan@ip5f5b2f5d.dynamic.kabel-deutschland.de) has joined #tryton01:04
-!- udono(~udono@212-136-067-156.ip-addr.inexio.net) has joined #tryton02:04
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton02:04
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton02:04
-!- yangoon1(~mathiasb@i59F4F9CA.versanet.de) has joined #tryton04:04
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has joined #tryton05:04
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has joined #tryton05:04
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton06:04
-!- JanGB(~jan@x59cc8b78.dyn.telefonica.de) has joined #tryton07:04
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton07:04
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has left #tryton07:04
-!- sim6(sim6matrix@gateway/shell/matrix.org/x-tzwtfzqchjlrrset) has joined #tryton07:04
-!- rpit(~rpit@p200300C88F31270056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton08:04
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton08:04
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:04
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:04
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton09:04
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:04
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton10:04
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton11:04
-!- mariomop(~quassel@host4.186-108-210.telecom.net.ar) has joined #tryton13:04
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 ?15:04
cedkmrichez: check if there are not access rule that prevent to read it15:04
mrichezcedk: even if i'm admin ?15:04
cedkmrichez: admin has nothing special15:04
mrichezcedk: ok, will check, thanks15:04
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton15:04
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/src15:04
mrichezProblem is when trying to access lot number (to read lot, you should be in stock_group and admin is in stock_group)15:04
cedkmrichez: being in all groups does not mean you can read all records15:04
cedkmrichez: your error does not come from access right but record rules15:04
mrichezcedk: ok, but nothing seems defined... will check..16:04
cedkmrichez: or you are maybe actually trying to read an id that does not exist16:04
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 correct16:04
cedkmrichez: check the read query that is raising the error16:04
mrichezcedk: https://pastebin.com/BZmrYWaZ16:04
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/1mCm1hqN16:04
cedkmrichez: check the result of the SQL query and try to find why not all ids are there16:04
pokolimrichez: if it is a table_query generating the id's check that the id generation is idempotent16:04
pokolimrichez: it seems that you return an id on search but then it's not included in the read16:04
mrichezcedk: ok16:04
mrichezpokoli: following your suggestions..16:04
-!- cdchapman(~perturbed@73.98.169.222) has joined #tryton17:04
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton17:04
-!- rpit(~rpit@p200300C88F31270056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton17:04
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton17:04
-!- niki(~niki@0x3e2c8607.mobile.telia.dk) has joined #tryton18:04
-!- zmijunkie(~Adium@mue-88-130-32-038.dsl.tropolys.de) has joined #tryton18:04
-!- JanGB(~jan@x59cc89f4.dyn.telefonica.de) has joined #tryton18:04
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:04
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton20:04
andrespolitihi, is it possible to get the selected records of a one2many field?20:04
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)20:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:04
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:04
-!- mariomop(~quassel@host4.186-108-210.telecom.net.ar) has joined #tryton23:04

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