IRC logs of #tryton for Thursday, 2016-10-13

chat.freenode.net #tryton log beginning Thu Oct 13 00:00:01 CEST 2016
-!- SamSagaZ(~SamSagaZ@190.18.84.216) has joined #tryton00:20
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton01:03
-!- Piiteri(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton06:38
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:15
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:00
-!- udono(~udono@p57ACEAD5.dip0.t-ipconnect.de) has joined #tryton09:07
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:08
-!- gytis(~gytis@v100.nfq.lt) has joined #tryton09:13
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:28
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton09:43
-!- woakas2(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton12:28
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton12:28
-!- xcodinas(~xcodinas@5.134.115.102) has joined #tryton12:28
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton12:28
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton12:28
-!- gytis(~gytis@v100.nfq.lt) has joined #tryton12:28
-!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton12:28
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton12:28
-!- sisalp(~sisalpuse@boxoo.sisalp.net) has joined #tryton12:28
-!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton12:28
-!- sebd(~seb@aditu.ldd.fr) has joined #tryton12:28
-!- zodman(~zodman@178.62.7.89) has joined #tryton12:28
-!- robink_(~quassel@unaffilated/robink) has joined #tryton12:28
-!- silwol(~silwol@80.66.37.182) has joined #tryton12:28
-!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton12:28
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton12:28
-!- udono(~udono@p57ACEAD5.dip0.t-ipconnect.de) has joined #tryton12:28
-!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton12:28
-!- jcm(~jcm@imb69-1-78-194-214-115.fbxo.proxad.net) has joined #tryton12:28
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton12:28
-!- ChanServ(ChanServ@services.) has joined #tryton12:30
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton12:35
-!- robink_(~quassel@unaffilated/robink) has joined #tryton12:50
notizblockcedk: do you have any pointers where such a construct is used (review 34321002)?12:54
pokolinotizblock: in the account module, there is a relate in parties which opens the payable and reciable list with diferent tabs12:55
notizblockpokoli: thx, I'll take a look at it12:55
pokolinotizblock: but basically you need to have an action that returns both values, and then on the tabs add the filters for the details12:58
-!- mariomop(~quassel@host163.186-124-245.telecom.net.ar) has joined #tryton13:02
pokolithere is any reason to not call the super methond in BooleanField.get? http://hg.tryton.org/tryton/file/tip/tryton/gui/window/view_form/model/field.py#l38314:02
pokoliotherwise the default value is not used: http://hg.tryton.org/tryton/file/tip/tryton/gui/window/view_form/model/field.py#l12914:03
cedkpokoli: do not see any problem even if it could call super14:05
pokolicedk: I do not have any usage where it causes a bug but from what I understand if the default is set to true but the field is still not loaded (not in values) it will return False and it will have to return True (the default value)14:07
cedkpokoli: I do not understand why you are talking about default value14:08
cedkpokoli: default value is not related14:08
pokolicedk: forget, it I see default is false for bolean fields, I though _default was the default value of the field. So nothing wrong14:08
mrichezhi, after updating database sqlite with the latest version i got this error :You try to read records that don't exist anymore.14:09
mrichez(Document type: ir.action.act_window). Any idea ?14:09
mrichezit seems ok with a clean install... migration problem ?14:11
pokolimrichez: do you have any warning in the upgrade process to a record that can not be deleted?14:12
pokolimrichez: normally the act_window is managed by xml and should be deleted with the upgrade process14:12
pokolimrichez: You should investigate wihich act_window is the one that can not be read14:13
mrichezpokoli: a lot of warning like this : WARNING trytond.convert Field action of 49@ir.ui.menu not updated (id: menu_country_form), because it has changed since the last update14:14
pokolimrichez: could you open the administration -> Model -> Data and search for the out_of_sync data?14:17
pokolimrichez: you should be able to use the Sync process to force the valid values14:17
mrichezpokoli: Can't open14:17
mrichezpokoli: here's my full log : http://pastebin.com/BVqHD5h414:18
cedkpokoli: but maybe the code will be cleaner by calling super instead of "value.get"14:19
cedkmrichez: sqlite is a poor database for data integrity (no foreign key)14:22
cedkmrichez: so if you have made some manipulation you could have easily break the integrity14:23
cedkmrichez: it sounds like a menu entry pointing to an inexisting action14:23
mrichezcedk: all i've is a npull -u and then tryton-admin --all14:29
cedkmrichez: you have to find which action is missing and where it is referring14:30
cedkmrichez: by the way, most of the developer works on postgresql backend, sqlite is only for tests14:30
mrichezcedk: will follow your advice for next time14:31
mrichezcedk: how to find missing action ?14:31
cedkmrichez: put print in the code14:36
pokolicedk: I'm investigatin https://bugs.tryton.org/issue5822 so I asked to know if it's related15:06
-!- udono1(~udono@p57ACD312.dip0.t-ipconnect.de) has joined #tryton16:02
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton17:42
-!- VaticanCameos(~VaticanCa@182.68.241.201) has joined #tryton18:27
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton18:37
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:26
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton19:53
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton20:02
-!- Piiteri(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton20:30
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton21:41
andrespolitiis there a way of feeding the party model with records from an external system? i tried overriding table_query() so it points to a view, but then all relations to party fail because the foreing key points to party_party, which has no records21:43
cedkandrespoliti: party is kind of central in the system22:45
cedkandrespoliti: I think you must create them22:45
cedkandrespoliti: or maybe use a materialized view22:46
andrespolitiif i want to use a materialized view, i should first delete the party_party table and then create the materialized view with the same name?22:47
cedkandrespoliti: indeed the correct way is to create the table in your empty database before initialize it22:48
cedkandrespoliti: this is not going to be easy22:48
andrespolitiif party_party already exists before installing the modules, it will not try to create it again?22:49
cedkandrespoliti: no22:49
andrespolitiokey, i will try that22:49
-!- robink_(~quassel@unaffilated/robink) has joined #tryton23:39
-!- gytis(~gytis@k250.nfq.lt) has joined #tryton23:53

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!