chat.freenode.net #tryton log beginning Tue Apr 17 00:00:01 CEST 2018 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:49 | |
-!- JanGB(~jan@x59cc8b78.dyn.telefonica.de) has joined #tryton | 23:41 | |
-!- JanGB1(~jan@ip5f5b2f5d.dynamic.kabel-deutschland.de) has joined #tryton | 23:42 | |
-!- udono(~udono@212-136-067-156.ip-addr.inexio.net) has joined #tryton | 00:11 | |
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | 00:17 | |
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton | 00:18 | |
-!- yangoon1(~mathiasb@i59F4F9CA.versanet.de) has joined #tryton | 02:55 | |
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has joined #tryton | 03:33 | |
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has joined #tryton | 03:37 | |
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | 04:08 | |
-!- JanGB(~jan@x59cc8b78.dyn.telefonica.de) has joined #tryton | 05:00 | |
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton | 05:14 | |
-!- lukio(~lukio@host241.190-137-235.telecom.net.ar) has left #tryton | 05:23 | |
-!- sim6(sim6matrix@gateway/shell/matrix.org/x-tzwtfzqchjlrrset) has joined #tryton | 05:28 | |
-!- rpit(~rpit@p200300C88F31270056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton | 06:11 | |
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton | 06:26 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 06:50 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:12 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 07:15 | |
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton | 07:26 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 08:18 | |
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton | 08:51 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 09:39 | |
-!- mariomop(~quassel@host4.186-108-210.telecom.net.ar) has joined #tryton | 11:40 | |
mrichez | hi, 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 |
---|---|---|
cedk | mrichez: check if there are not access rule that prevent to read it | 13:24 |
mrichez | cedk: even if i'm admin ? | 13:25 |
cedk | mrichez: admin has nothing special | 13:26 |
mrichez | cedk: ok, will check, thanks | 13:29 |
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | 13:32 | |
mrichez | cedk: 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/src | 13:41 |
mrichez | Problem is when trying to access lot number (to read lot, you should be in stock_group and admin is in stock_group) | 13:41 |
cedk | mrichez: being in all groups does not mean you can read all records | 13:52 |
cedk | mrichez: your error does not come from access right but record rules | 13:52 |
mrichez | cedk: ok, but nothing seems defined... will check.. | 14:04 |
cedk | mrichez: or you are maybe actually trying to read an id that does not exist | 14:12 |
mrichez | cedk: 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 correct | 14:16 |
cedk | mrichez: check the read query that is raising the error | 14:22 |
mrichez | cedk: https://pastebin.com/BZmrYWaZ | 14:39 |
mrichez | cedk: 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/1mCm1hqN | 14:42 |
cedk | mrichez: check the result of the SQL query and try to find why not all ids are there | 14:44 |
pokoli | mrichez: if it is a table_query generating the id's check that the id generation is idempotent | 14:47 |
pokoli | mrichez: it seems that you return an id on search but then it's not included in the read | 14:47 |
mrichez | cedk: ok | 14:49 |
mrichez | pokoli: following your suggestions.. | 14:50 |
-!- cdchapman(~perturbed@73.98.169.222) has joined #tryton | 15:03 | |
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton | 15:17 | |
-!- rpit(~rpit@p200300C88F31270056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton | 15:21 | |
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton | 15:25 | |
-!- niki(~niki@0x3e2c8607.mobile.telia.dk) has joined #tryton | 16:25 | |
-!- zmijunkie(~Adium@mue-88-130-32-038.dsl.tropolys.de) has joined #tryton | 16:28 | |
-!- JanGB(~jan@x59cc89f4.dyn.telefonica.de) has joined #tryton | 16:41 | |
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | 17:09 | |
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton | 18:02 | |
andrespoliti | hi, is it possible to get the selected records of a one2many field? | 18:02 |
andrespoliti | i 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 #tryton | 19:05 | |
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton | 20:00 | |
-!- mariomop(~quassel@host4.186-108-210.telecom.net.ar) has joined #tryton | 21:39 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!