IRC logs of #tryton for Monday, 2016-07-04

chat.freenode.net #tryton log beginning Mon Jul 4 00:00:01 CEST 2016
2016-07-04 00:41 -!- niki(~niki@0x3e2c8643.mobile.telia.dk) has joined #tryton
2016-07-04 05:18 -!- frispete(~frispete@p54A915F8.dip0.t-ipconnect.de) has joined #tryton
2016-07-04 06:52 -!- Michale(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton
2016-07-04 06:54 <Michale> hello , for date class of day or month does it matter of "zero prefix"?
2016-07-04 06:55 <Michale> http://pastebin.com/LYazbJDg gives me error if day & month has "0" prefix
2016-07-04 06:56 <Michale> If i try with "8" instead of "08" then works fine
2016-07-04 07:53 -!- prayashm(~prayashm@45.251.36.7) has joined #tryton
2016-07-04 07:53 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-04 08:06 -!- aasnan(~angel@48.red-83-45-194.dynamicip.rima-tde.net) has joined #tryton
2016-07-04 08:15 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 08:44 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-04 08:50 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-07-04 08:54 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-07-04 08:57 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-07-04 09:01 <Michale> hello , for date class of day or month does it matter of "zero prefix"?
2016-07-04 09:01 <Michale> http://pastebin.com/LYazbJDg gives me error if day & month has "0" prefix
2016-07-04 09:01 <Michale> If i try with "8" instead of "08" then works fine
2016-07-04 09:19 <Michale> anyone help me please
2016-07-04 09:22 <pokoli> Michale: integers does not have a zero prefix
2016-07-04 09:29 <cedk> Michale: http://json.org/
2016-07-04 09:30 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-07-04 10:00 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-04 10:09 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-04 10:20 -!- aasnan(~angel@142.red-2-139-177.staticip.rima-tde.net) has joined #tryton
2016-07-04 11:39 <Michale> How to assign a category to party?
2016-07-04 11:50 <pokoli> Michale: using the categories Many2Many field
2016-07-04 12:09 <Michale> should I use cateogory
2016-07-04 12:09 <Michale> should I use category.write method?
2016-07-04 12:11 <pokoli> Michale: Party.write using the categories field
2016-07-04 12:21 <Michale> http://pastebin.com/Tb1rLkhL is this correct
2016-07-04 12:21 <Michale> ?
2016-07-04 12:26 <pokoli> Michale: you have to specify which values to create/delete/write/add or remove like One2Many http://doc.tryton.org/4.0/trytond/doc/ref/models/fields.html?highlight=one2many#trytond.model.fields.One2Many
2016-07-04 12:27 <pokoli> Michale: if you only want to link with existing categories use the add keyword, with the list of ids to link
2016-07-04 12:36 <Michale> "Calling method add on model party.party is not allowed!"
2016-07-04 12:37 <pokoli> Michale: the method is still write, but the value is a list of a pairs (acction, params) as described in the doc
2016-07-04 12:42 <Michale> http://pastebin.com/ATHHgFzG is this correct?
2016-07-04 12:44 <pokoli> Michale: it should be surrended by an extra list
2016-07-04 12:50 <Michale> which one?
2016-07-04 12:54 <pokoli> Michale: the categories value
2016-07-04 12:55 <pokoli> Michale: 'categories': [['add', [list of ids to add]]]
2016-07-04 13:02 <Michale> it is working,thanks.... a lot!!!
2016-07-04 13:03 <pokoli> Michale: you are welcome
2016-07-04 13:14 -!- meigallodixital_(~meigallod@172.94.28.10) has joined #tryton
2016-07-04 13:18 -!- meigallodixital(~meigallod@172.94.112.15) has joined #tryton
2016-07-04 13:38 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 14:00 -!- meigallodixital_(~meigallod@188.72.113.32) has joined #tryton
2016-07-04 14:39 <prayashm> Is mac_cyrillic (python) equivalent of x-mac-cyrillic (javascript)?
2016-07-04 14:40 <prayashm> Relevant links: https://docs.python.org/3/library/codecs.html#standard-encodings
2016-07-04 14:42 <prayashm> https://encoding.spec.whatwg.org/#x-mac-cyrillic
2016-07-04 14:46 <cedk> prayashm: I don't think we must care of
2016-07-04 14:46 <cedk> prayashm: for me, you should expose all available possibilities
2016-07-04 14:46 <cedk> prayashm: with the name they have on the platform
2016-07-04 14:47 <prayashm> cedk: You mean, allow those encodings that will be supported by JavaScript?
2016-07-04 14:48 <cedk> prayashm: yes
2016-07-04 14:49 <cedk> prayashm: in the GTK client, we show what is supported by Python
2016-07-04 14:49 <prayashm> cedk: Understood. I will allow all those encodings accepted as labels then. Thank you
2016-07-04 14:57 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-04 15:00 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-07-04 15:08 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 15:16 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 15:19 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 16:17 -!- mariomop(~quassel@host88.181-1-39.telecom.net.ar) has joined #tryton
2016-07-04 16:17 -!- kstenger(~karla@r179-24-191-225.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-07-04 16:30 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has left #tryton
2016-07-04 16:56 -!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton
2016-07-04 17:00 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-04 17:30 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 17:35 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-04 19:03 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-04 19:39 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-04 20:15 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-07-04 20:49 -!- kstenger1(~karla@r167-56-239-15.dialup.adsl.anteldata.net.uy) has joined #tryton

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