IRC logs of #tryton for Thursday, 2015-10-15

chat.freenode.net #tryton log beginning Thu Oct 15 00:00:01 CEST 2015
2015-10-15 00:05 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-10-15 00:46 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-10-15 01:07 -!- kstenger(~karla@r167-59-129-178.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-10-15 05:14 -!- raj1(~eklavya@117.198.75.187) has joined #tryton
2015-10-15 06:39 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2015-10-15 07:01 -!- kstenger1(~karla@r167-59-119-188.dialup.adsl.anteldata.net.uy) has joined #tryton
2015-10-15 07:01 -!- yangoon1(~mathiasb@p549F1AC1.dip0.t-ipconnect.de) has joined #tryton
2015-10-15 07:32 -!- raj1(~eklavya@117.198.75.187) has joined #tryton
2015-10-15 07:34 -!- pinki(7ab15a2d@gateway/web/freenode/ip.122.177.90.45) has joined #tryton
2015-10-15 07:36 <pinki> hi everyone... I need help on inheritance in tryton... I am inheriting party.address and want the party field to be a non-mandatory
2015-10-15 07:37 <pinki> but on writing required=False against party field, it is not working
2015-10-15 07:37 <pinki> need help please
2015-10-15 07:40 -!- frispete(~frispete@p54A91BCA.dip0.t-ipconnect.de) has joined #tryton
2015-10-15 08:16 -!- rpit(~rpit@aftr-37-201-215-93.unity-media.net) has joined #tryton
2015-10-15 08:49 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2015-10-15 08:50 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2015-10-15 09:26 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-10-15 09:39 -!- rpit(~rpit@2a02:908:e670:3a80:a17c:ca60:cf39:5f7e) has joined #tryton
2015-10-15 09:40 <pokoli> pinki: you must modify it on __setup__ and remove the required constraint on the database
2015-10-15 09:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-10-15 09:49 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2015-10-15 10:23 -!- nicoe(~nicoe@2a02:a03f:30ad:7d00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-10-15 11:19 -!- rpit(~rpit@2a02:908:e670:3a80:a17c:ca60:cf39:5f7e) has joined #tryton
2015-10-15 11:24 -!- rpit(~rpit@2a02:908:e670:3a80:a916:ea68:f578:f138) has joined #tryton
2015-10-15 11:44 -!- rpit(~rpit@2a02:908:e670:3a80:a916:ea68:f578:f138) has joined #tryton
2015-10-15 11:50 <pinki> hi everyone.
2015-10-15 11:50 <pinki> I have a error please help me how to solve it.
2015-10-15 11:50 <pinki> formatted = percent % value TypeError: float argument required, not str float argument required, not str
2015-10-15 11:55 <cedk> pinki: what is the content of percent and value?
2015-10-15 11:57 <pinki> value.
2015-10-15 11:57 <pinki> @classmethod def get_incremental_num(cls, increment, field_name, name=None): res = {} inc_no = 1200 for identifile in increment: res[identifile.id] = 0 if identifile.id_no: print "cfgfxghsfgh====>",str(identifile.id_no) increment_no = int(str(identifile.id_no)) + int(str(inc_no)) res[identifile.id] = increment_no print in
2015-10-15 11:58 <pinki> this is my code.
2015-10-15 11:58 <cedk> pinki: please no copy/past on channel, it is not readable
2015-10-15 11:58 <cedk> pinki: use a pastebin
2015-10-15 11:58 <pinki> ok.
2015-10-15 12:20 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-10-15 12:53 <pinki> http://pastebin.com/CGjTz5bn
2015-10-15 12:53 <pinki> please check .
2015-10-15 12:56 <aroncero> pinki: the link does not works
2015-10-15 13:06 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2015-10-15 13:12 -!- cjbarnes18(~user@213.131.188.214) has joined #tryton
2015-10-15 13:41 <cjbarnes18> hello, could someone tell me where I am going wrong with this? https://gist.github.com/cjbarnes18/266b650533a3215ac007
2015-10-15 13:49 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2015-10-15 14:07 <pinki> error in datetime while i have imported datetime
2015-10-15 14:08 <pinki> key error datetime
2015-10-15 14:08 <pinki> help !!!
2015-10-15 14:10 <kstenger> pinki: it's better to make a paste of the full traceback at a pastebin like http://pastebin.com/
2015-10-15 14:25 <rmu> cjbarnes: you are assigning something to whatever super(...) returns, doesn't seem like a good idea. just "override" get_full_address in your Address class
2015-10-15 14:27 <cjbarnes18> rmu: thats hat I originally thought and tried, but it dosent sem to work.
2015-10-15 14:31 <cjbarnes18> rmu: just updated the gist to my original failed attempt. the module seems to be loaded OK...
2015-10-15 15:19 <rmu> cjbarnes18: what do you need the FullAddressText-class for?
2015-10-15 15:24 <rmu> cjbarnes18: it seems you create a FullAddressText instance and stringify it, per default this results in something like <blablbaobject instance at 0x012345678>
2015-10-15 15:30 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-10-15 15:38 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton
2015-10-15 17:05 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2015-10-15 17:14 -!- pablovannini(~pablo@181.47.148.245) has joined #tryton
2015-10-15 18:47 -!- sunny_dealmeida(~quassel@203.115.71.174) has joined #tryton
2015-10-15 18:47 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 19:30 -!- cjbarnes18(~user@host86-129-110-17.range86-129.btcentralplus.com) has joined #tryton
2015-10-15 19:34 <cjbarnes18> rmu: sorry I missed you earlier, ATM I am just trying things out, eventually it will output address appropriate for the region.
2015-10-15 19:51 -!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton
2015-10-15 20:26 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 20:30 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 20:36 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 20:38 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 20:41 <rmu> cjbarnes18: yes i figured that much. why don't you just construct the string you want in get_full_address method? you don't need to add another class for that.
2015-10-15 20:42 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 20:58 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:06 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:18 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2015-10-15 21:24 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:38 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:39 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:42 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:43 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:45 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:46 -!- aroncero_(~aroncero@86.63.19.153) has joined #tryton
2015-10-15 21:46 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:48 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:49 <cjbarnes18> rmu: yeaa, I know, will probably change that anyway. The issue I have right now is that I am unable to override the the method in Address
2015-10-15 21:50 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:53 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:54 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:56 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 21:57 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:03 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:05 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:06 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:08 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:09 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:11 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:13 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:14 <cedk> cjbarnes18: did you register your class in the Pool?
2015-10-15 22:15 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:15 <cedk> pokoli: could you try to fix your connection?
2015-10-15 22:18 -!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton
2015-10-15 22:21 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:21 -!- aroncero__(~aroncero@86.63.19.153) has joined #tryton
2015-10-15 22:22 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:24 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:25 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:27 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:29 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2015-10-15 22:45 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 22:58 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2015-10-15 23:27 -!- aroncero_(~aroncero@86.63.19.153) has joined #tryton
2015-10-15 23:45 <cjbarnes18> cedk: is that what is missing here? https://gist.github.com/cjbarnes18/266b650533a3215ac007
2015-10-15 23:49 <cjbarnes18> cedk: aah, I think that might be it
2015-10-15 23:52 -!- aroncero__(~aroncero@86.63.19.153) has joined #tryton
2015-10-15 23:55 <cjbarnes18> cedk: apparently not :(

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