chat.freenode.net #tryton log beginning Thu Oct 13 00:00:01 CEST 2016 | ||
2016-10-13 00:20 -!- SamSagaZ(~SamSagaZ@190.18.84.216) has joined #tryton | ||
2016-10-13 01:03 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2016-10-13 06:38 -!- Piiteri(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton | ||
2016-10-13 08:15 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2016-10-13 09:00 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-10-13 09:07 -!- udono(~udono@p57ACEAD5.dip0.t-ipconnect.de) has joined #tryton | ||
2016-10-13 09:08 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-10-13 09:13 -!- gytis(~gytis@v100.nfq.lt) has joined #tryton | ||
2016-10-13 09:28 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2016-10-13 09:43 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton | ||
2016-10-13 12:28 -!- woakas2(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton | ||
2016-10-13 12:28 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-10-13 12:28 -!- xcodinas(~xcodinas@5.134.115.102) has joined #tryton | ||
2016-10-13 12:28 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2016-10-13 12:28 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-10-13 12:28 -!- gytis(~gytis@v100.nfq.lt) has joined #tryton | ||
2016-10-13 12:28 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton | ||
2016-10-13 12:28 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton | ||
2016-10-13 12:28 -!- sisalp(~sisalpuse@boxoo.sisalp.net) has joined #tryton | ||
2016-10-13 12:28 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton | ||
2016-10-13 12:28 -!- sebd(~seb@aditu.ldd.fr) has joined #tryton | ||
2016-10-13 12:28 -!- zodman(~zodman@178.62.7.89) has joined #tryton | ||
2016-10-13 12:28 -!- robink_(~quassel@unaffilated/robink) has joined #tryton | ||
2016-10-13 12:28 -!- silwol(~silwol@80.66.37.182) has joined #tryton | ||
2016-10-13 12:28 -!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton | ||
2016-10-13 12:28 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2016-10-13 12:28 -!- udono(~udono@p57ACEAD5.dip0.t-ipconnect.de) has joined #tryton | ||
2016-10-13 12:28 -!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton | ||
2016-10-13 12:28 -!- jcm(~jcm@imb69-1-78-194-214-115.fbxo.proxad.net) has joined #tryton | ||
2016-10-13 12:28 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2016-10-13 12:30 -!- ChanServ(ChanServ@services.) has joined #tryton | ||
2016-10-13 12:35 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | ||
2016-10-13 12:50 -!- robink_(~quassel@unaffilated/robink) has joined #tryton | ||
2016-10-13 12:54 <notizblock> cedk: do you have any pointers where such a construct is used (review 34321002)? | ||
2016-10-13 12:55 <pokoli> notizblock: in the account module, there is a relate in parties which opens the payable and reciable list with diferent tabs | ||
2016-10-13 12:55 <notizblock> pokoli: thx, I'll take a look at it | ||
2016-10-13 12:58 <pokoli> notizblock: but basically you need to have an action that returns both values, and then on the tabs add the filters for the details | ||
2016-10-13 13:02 -!- mariomop(~quassel@host163.186-124-245.telecom.net.ar) has joined #tryton | ||
2016-10-13 14:02 <pokoli> there 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#l383 | ||
2016-10-13 14:03 <pokoli> otherwise the default value is not used: http://hg.tryton.org/tryton/file/tip/tryton/gui/window/view_form/model/field.py#l129 | ||
2016-10-13 14:05 <cedk> pokoli: do not see any problem even if it could call super | ||
2016-10-13 14:07 <pokoli> cedk: 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) | ||
2016-10-13 14:08 <cedk> pokoli: I do not understand why you are talking about default value | ||
2016-10-13 14:08 <cedk> pokoli: default value is not related | ||
2016-10-13 14:08 <pokoli> cedk: forget, it I see default is false for bolean fields, I though _default was the default value of the field. So nothing wrong | ||
2016-10-13 14:09 <mrichez> hi, after updating database sqlite with the latest version i got this error :You try to read records that don't exist anymore. | ||
2016-10-13 14:09 <mrichez> (Document type: ir.action.act_window). Any idea ? | ||
2016-10-13 14:11 <mrichez> it seems ok with a clean install... migration problem ? | ||
2016-10-13 14:12 <pokoli> mrichez: do you have any warning in the upgrade process to a record that can not be deleted? | ||
2016-10-13 14:12 <pokoli> mrichez: normally the act_window is managed by xml and should be deleted with the upgrade process | ||
2016-10-13 14:13 <pokoli> mrichez: You should investigate wihich act_window is the one that can not be read | ||
2016-10-13 14:14 <mrichez> pokoli: 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 update | ||
2016-10-13 14:17 <pokoli> mrichez: could you open the administration -> Model -> Data and search for the out_of_sync data? | ||
2016-10-13 14:17 <pokoli> mrichez: you should be able to use the Sync process to force the valid values | ||
2016-10-13 14:17 <mrichez> pokoli: Can't open | ||
2016-10-13 14:18 <mrichez> pokoli: here's my full log : http://pastebin.com/BVqHD5h4 | ||
2016-10-13 14:19 <cedk> pokoli: but maybe the code will be cleaner by calling super instead of "value.get" | ||
2016-10-13 14:22 <cedk> mrichez: sqlite is a poor database for data integrity (no foreign key) | ||
2016-10-13 14:23 <cedk> mrichez: so if you have made some manipulation you could have easily break the integrity | ||
2016-10-13 14:23 <cedk> mrichez: it sounds like a menu entry pointing to an inexisting action | ||
2016-10-13 14:29 <mrichez> cedk: all i've is a npull -u and then tryton-admin --all | ||
2016-10-13 14:30 <cedk> mrichez: you have to find which action is missing and where it is referring | ||
2016-10-13 14:30 <cedk> mrichez: by the way, most of the developer works on postgresql backend, sqlite is only for tests | ||
2016-10-13 14:31 <mrichez> cedk: will follow your advice for next time | ||
2016-10-13 14:31 <mrichez> cedk: how to find missing action ? | ||
2016-10-13 14:36 <cedk> mrichez: put print in the code | ||
2016-10-13 15:06 <pokoli> cedk: I'm investigatin https://bugs.tryton.org/issue5822 so I asked to know if it's related | ||
2016-10-13 16:02 -!- udono1(~udono@p57ACD312.dip0.t-ipconnect.de) has joined #tryton | ||
2016-10-13 17:42 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton | ||
2016-10-13 18:27 -!- VaticanCameos(~VaticanCa@182.68.241.201) has joined #tryton | ||
2016-10-13 18:37 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton | ||
2016-10-13 19:26 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-10-13 19:53 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2016-10-13 20:02 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2016-10-13 20:30 -!- Piiteri(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton | ||
2016-10-13 21:41 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton | ||
2016-10-13 21:43 <andrespoliti> is 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 records | ||
2016-10-13 22:45 <cedk> andrespoliti: party is kind of central in the system | ||
2016-10-13 22:45 <cedk> andrespoliti: I think you must create them | ||
2016-10-13 22:46 <cedk> andrespoliti: or maybe use a materialized view | ||
2016-10-13 22:47 <andrespoliti> if 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? | ||
2016-10-13 22:48 <cedk> andrespoliti: indeed the correct way is to create the table in your empty database before initialize it | ||
2016-10-13 22:48 <cedk> andrespoliti: this is not going to be easy | ||
2016-10-13 22:49 <andrespoliti> if party_party already exists before installing the modules, it will not try to create it again? | ||
2016-10-13 22:49 <cedk> andrespoliti: no | ||
2016-10-13 22:49 <andrespoliti> okey, i will try that | ||
2016-10-13 23:39 -!- robink_(~quassel@unaffilated/robink) has joined #tryton | ||
2016-10-13 23:53 -!- gytis(~gytis@k250.nfq.lt) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!