chat.freenode.net #tryton log beginning Wed Apr 22 00:00:01 CEST 2015 | ||
2015-04-22 00:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-04-22 01:07 -!- Warsaw(c98a666a@gateway/web/freenode/ip.201.138.102.106) has joined #tryton | ||
2015-04-22 01:08 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-04-22 01:39 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 01:51 -!- vairav(~vairav@c-24-130-116-187.hsd1.ca.comcast.net) has joined #tryton | ||
2015-04-22 02:04 -!- digitalsatori1(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 02:23 -!- MarkyC_(~MarkyC@135-23-252-4.cpe.pppoe.ca) has joined #tryton | ||
2015-04-22 02:55 -!- vairav(~vairav@c-24-130-116-187.hsd1.ca.comcast.net) has joined #tryton | ||
2015-04-22 03:51 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 04:05 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 04:35 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 04:48 -!- MarkyC_(~MarkyC@135-23-252-4.cpe.pppoe.ca) has joined #tryton | ||
2015-04-22 04:58 -!- MarkyC(~MarkyC@135-23-252-4.cpe.pppoe.ca) has joined #tryton | ||
2015-04-22 05:06 -!- MarkyC_(~MarkyC@135-23-252-4.cpe.pppoe.ca) has joined #tryton | ||
2015-04-22 05:38 -!- jvblasco(~seba@62.43.196.37) has joined #tryton | ||
2015-04-22 05:57 -!- zodman_(~zodman@187.155.18.247) has joined #tryton | ||
2015-04-22 06:30 -!- MarkyC(~MarkyC@135-23-252-4.cpe.pppoe.ca) has joined #tryton | ||
2015-04-22 06:40 -!- frispete_(~frispete@p54A908A1.dip0.t-ipconnect.de) has joined #tryton | ||
2015-04-22 06:49 -!- mathsniper(7a64f958@gateway/web/freenode/ip.122.100.249.88) has joined #tryton | ||
2015-04-22 06:49 <mathsniper> Where can I find the changelog of trytond 3.6? | ||
2015-04-22 06:50 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 07:01 -!- yangoon(~mathiasb@p549F1740.dip0.t-ipconnect.de) has joined #tryton | ||
2015-04-22 08:22 -!- michael-kohlhaas(~mk@unaffiliated/michael-kohlhaas) has joined #tryton | ||
2015-04-22 08:48 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2015-04-22 08:50 -!- deys(~deys@1.186.41.1) has joined #tryton | ||
2015-04-22 08:54 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 08:56 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-04-22 09:02 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton | ||
2015-04-22 09:14 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton | ||
2015-04-22 09:17 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 09:39 -!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton | ||
2015-04-22 09:46 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 10:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-04-22 10:35 -!- Telesight(~anthony@4dafef36.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-04-22 10:46 -!- nicoe(~nicoe@2a02:a03f:3068:4b00:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2015-04-22 11:06 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 11:09 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 11:13 -!- digitalsatori1(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 11:23 -!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton | ||
2015-04-22 12:03 <Jitesh_Nair> i got this error -->UserError: ('UserError', (u'The value "32" of field "Tax" on "Product Template - Customer Tax" doesn\'t exist.', '')) | ||
2015-04-22 12:03 <Jitesh_Nair> when i tried to append a tax on template | ||
2015-04-22 13:04 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 13:04 -!- mariomop(~quassel@host46.190-138-115.telecom.net.ar) has joined #tryton | ||
2015-04-22 13:32 -!- udono(~udono@port-92-195-117-231.dynamic.qsc.de) has joined #tryton | ||
2015-04-22 13:38 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton | ||
2015-04-22 13:39 -!- mathesis_(~ana@187.171.182.27) has joined #tryton | ||
2015-04-22 13:44 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-04-22 13:46 <Jitesh_Nair> this is the traceback of the error http://dpaste.com/18AAEH3 | ||
2015-04-22 13:46 <Jitesh_Nair> if anyone wants to look how the error is | ||
2015-04-22 13:47 -!- kstenger(~karla@200.124.209.158) has joined #tryton | ||
2015-04-22 13:47 <pokoli> Jitesh_Nair: it's the database complaining about a foreign key that doesn't exist | ||
2015-04-22 13:48 <pokoli> Jitesh_Nair: so it seem you deleted this tax, and then adding to the relation | ||
2015-04-22 13:54 <Jitesh_Nair> pokoli, but then tax should have not existed??? but when i do tax._get_eval() iam getting proper output | ||
2015-04-22 13:55 <Jitesh_Nair> i also did template.customer_taxes.append(Tax(id=32)) | ||
2015-04-22 13:56 <Jitesh_Nair> now that one is fetching from Tax module right?? | ||
2015-04-22 13:56 <Jitesh_Nair> so it should be existing i guess...and i havent tried any delete() function in my test script | ||
2015-04-22 14:15 -!- digitalsatori(~Thunderbi@116.234.88.44) has joined #tryton | ||
2015-04-22 14:28 <pokoli> Jitesh_Nair: how do you get the 32 id? if it doesn't exist on the database it's normal that it fails | ||
2015-04-22 14:35 <Jitesh_Nair> when i do Tax.find() i get a list of all the existing taxes | ||
2015-04-22 14:35 <Jitesh_Nair> and then i get the tax that i need | ||
2015-04-22 14:36 <Jitesh_Nair> pokoli, i guess tax.save() and then retrieving it from the db will prove that it exists... but then iam re running the scripts to confirm that | ||
2015-04-22 14:37 <Jitesh_Nair> pokoli, you were right buddy it doesnt exists | ||
2015-04-22 14:38 <Jitesh_Nair> pokoli, thanks i will be working on it now | ||
2015-04-22 14:39 <Jitesh_Nair> pokoli, but then iam doing tax.save() if it was to fail then y would it not show any error?....(greedy question) | ||
2015-04-22 14:45 <pokoli> Jitesh_Nair: yes, if it fails it will raise a error | ||
2015-04-22 14:46 <Jitesh_Nair> pokoli, but tax.save() dint show any error | ||
2015-04-22 14:47 <Jitesh_Nair> i added the tax type,rate,company and then saved it but there were no error in it | ||
2015-04-22 14:47 <Jitesh_Nair> later when i fetched tax from Mode('account.tax') there existed none | ||
2015-04-22 14:48 <pokoli> Jitesh_Nair: if you save it, you can use it directly as reference, don't need to fetch it | ||
2015-04-22 14:49 <Jitesh_Nair> wel when i used it directly i got the error that i have posted previously ----->>>>>> i got this error -->UserError: ('UserError', (u'The value "32" of field "Tax" on "Product Template - Customer Tax" doesn\'t exist.', '')) | ||
2015-04-22 14:52 <Jitesh_Nair> pokoli, but what u have mentioned looks correct...now i have to find a way to save it into the db... | ||
2015-04-22 14:52 <Jitesh_Nair> properly* | ||
2015-04-22 14:58 -!- yangoon(~mathiasb@p549F1740.dip0.t-ipconnect.de) has joined #tryton | ||
2015-04-22 15:00 -!- prakashpandey(~prakashpa@103.245.118.154) has joined #tryton | ||
2015-04-22 15:01 <Jitesh_Nair> pokoli, thanks for the help...i just found that one of the line in my script was overwriting my tax variable...thanks for pointing out at the part where the error exists | ||
2015-04-22 15:02 <prakashpandey> ACTION pokoli: hi | ||
2015-04-22 15:03 <prakashpandey> pokoli: there will be problem if I register a module two times in Pool? | ||
2015-04-22 15:03 <pokoli> prakashpandey: mmmm what do you mean by register a module two times? | ||
2015-04-22 15:03 <pokoli> prakashpandey: a module or a model? | ||
2015-04-22 15:03 <pokoli> Jitesh_Nair: you'r welcome | ||
2015-04-22 15:04 <prakashpandey> pokoli: module | ||
2015-04-22 15:04 <prakashpandey> pokoli: module.__register__ | ||
2015-04-22 15:04 <prakashpandey> pokoli: sorry module.register() | ||
2015-04-22 15:05 <pokoli> prakashpandey: Pool.register() ?? | ||
2015-04-22 15:05 <prakashpandey> pokoli: yes | ||
2015-04-22 15:05 <pokoli> prakashpandey: normally we register as much as three times per module | ||
2015-04-22 15:05 <pokoli> prakashpandey: one per models, one per wizards, and one per reports | ||
2015-04-22 15:06 <prakashpandey> pokoli: what if module x register Pool().register(*classes, module=y)? | ||
2015-04-22 15:07 <prakashpandey> pokoli: check this https://github.com/openlabs/trytond-audit-trail/blob/develop/__init__.py#L14 | ||
2015-04-22 15:09 <prakashpandey> pokoli: I am doing something weird here and its working, I am scare if this will have side effects? | ||
2015-04-22 15:09 <pokoli> prakashpandey: AFAIU you can register it on the audit_trail module | ||
2015-04-22 15:09 <pokoli> prakashpandey: i can not imagine side effects | ||
2015-04-22 15:10 <prakashpandey> pokoli: it was originally like that but didnt work | ||
2015-04-22 15:14 <pokoli> prakashpandey: I imagine it's because that audit-trail is loaded before all the classes, because it will only depend on ir | ||
2015-04-22 15:16 <prakashpandey> pokoli: yes, had the same thing. I looked through the code and couldnt find anything better to solve this hence I changed it | ||
2015-04-22 15:19 <pokoli> prakashpandey: basically what you need is some mechanims to apply inheritance in all the classes in the pool | ||
2015-04-22 15:19 <pokoli> prakashpandey: and i think we miss that (currently) | ||
2015-04-22 15:20 <prakashpandey> pokoli: okay | ||
2015-04-22 15:28 <pokoli> prakashpandey: but i think it's worth to start some discussion on the ML :) | ||
2015-04-22 15:31 <prakashpandey> pokoli: so you mean we will get some way to inherit pool registeration! :) that will be nice | ||
2015-04-22 15:31 <prakashpandey> pokoli: I will ask on mailing list then | ||
2015-04-22 15:33 <prakashpandey> pokoli: thank you | ||
2015-04-22 15:33 <pokoli> prakashpandey: what i have in my mind it to apply inheritance when all models are loaded on the pool | ||
2015-04-22 15:49 -!- prakashpandey(~prakashpa@103.245.118.154) has joined #tryton | ||
2015-04-22 16:41 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton | ||
2015-04-22 16:51 -!- vairav(~vairav@c-24-130-116-187.hsd1.ca.comcast.net) has joined #tryton | ||
2015-04-22 16:51 -!- prakashpandey(~prakashpa@103.245.118.154) has left #tryton | ||
2015-04-22 17:10 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton | ||
2015-04-22 17:23 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton | ||
2015-04-22 17:41 -!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton | ||
2015-04-22 18:42 -!- vairav(~vairav@hdqusers.modeln.com) has joined #tryton | ||
2015-04-22 19:02 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton | ||
2015-04-22 19:02 -!- vairav(~vairav@hdqusers.modeln.com) has joined #tryton | ||
2015-04-22 19:30 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton | ||
2015-04-22 19:55 -!- Warsaw(bbcc4ccd@gateway/web/freenode/ip.187.204.76.205) has joined #tryton | ||
2015-04-22 19:55 <Warsaw> Hi | ||
2015-04-22 19:56 <Warsaw> Does anyone know where to find the menuitem documentation for the XML files? | ||
2015-04-22 19:59 <Warsaw> I have crappy Internet, which may mean that I log off unexpectedly | ||
2015-04-22 20:05 -!- smarro(~sebastian@190.51.111.75) has joined #tryton | ||
2015-04-22 20:27 -!- vairav(~vairav@hdqusers.modeln.com) has joined #tryton | ||
2015-04-22 20:44 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton | ||
2015-04-22 21:15 -!- wawan(~gedegadu@36.83.154.40) has joined #tryton | ||
2015-04-22 21:15 <wawan> hiiii | ||
2015-04-22 21:16 -!- wawan(~gedegadu@36.83.154.40) has left #tryton | ||
2015-04-22 21:57 -!- gremly(~gremly@190.85.36.58) has joined #tryton | ||
2015-04-22 22:43 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton | ||
2015-04-22 22:52 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-04-22 23:41 <apostatize> For fields in a view, is there a clear way to use a pyson statement for field visibility? tree_invisible only takes a boolean, but I wanted a way to hide certain fields when they are less relevant for a specific party. For example, we got a task report to toggle a field that's only relevant for female patient. | ||
2015-04-22 23:43 -!- mathesis(~ana@187.171.243.63) has joined #tryton | ||
2015-04-22 23:51 -!- mathesis(~ana@187.212.56.143) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!