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

chat.freenode.net #tryton log beginning Mon Jul 4 00:00:01 CEST 2016
-!- niki(~niki@0x3e2c8643.mobile.telia.dk) has joined #tryton00:41
-!- frispete(~frispete@p54A915F8.dip0.t-ipconnect.de) has joined #tryton05:18
-!- Michale(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton06:52
Michalehello , for date class of day or month does it matter of "zero prefix"?06:54
Michalehttp://pastebin.com/LYazbJDg gives me error if day & month has "0" prefix06:55
MichaleIf i try with "8" instead of "08" then works fine06:56
-!- prayashm(~prayashm@45.251.36.7) has joined #tryton07:53
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton07:53
-!- aasnan(~angel@48.red-83-45-194.dynamicip.rima-tde.net) has joined #tryton08:06
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:15
-!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton08:44
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:50
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:54
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton08:57
Michalehello , for date class of day or month does it matter of "zero prefix"?09:01
Michalehttp://pastebin.com/LYazbJDg gives me error if day & month has "0" prefix09:01
MichaleIf i try with "8" instead of "08" then works fine09:01
Michaleanyone help me please09:19
pokoliMichale: integers does not have a zero prefix09:22
cedkMichale: http://json.org/09:29
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:30
-!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton10:00
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton10:09
-!- aasnan(~angel@142.red-2-139-177.staticip.rima-tde.net) has joined #tryton10:20
MichaleHow to assign a category to party?11:39
pokoliMichale:  using the categories Many2Many field11:50
Michaleshould I use cateogory12:09
Michaleshould I use category.write method?12:09
pokoliMichale: Party.write using the categories field12:11
Michalehttp://pastebin.com/Tb1rLkhL is this correct12:21
Michale?12:21
pokoliMichale: 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.One2Many12:26
pokoliMichale: if you only want to link with existing categories use the add keyword, with the list of ids to link12:27
Michale"Calling method add on model party.party is not allowed!"12:36
pokoliMichale: the method is still write, but the value is a list of a pairs (acction, params) as described in the doc12:37
Michalehttp://pastebin.com/ATHHgFzG is this correct?12:42
pokoliMichale: it should be surrended by an extra list12:44
Michalewhich one?12:50
pokoliMichale: the categories value12:54
pokoliMichale: 'categories': [['add', [list of ids to add]]]12:55
Michaleit is working,thanks.... a lot!!!13:02
pokoliMichale: you are welcome13:03
-!- meigallodixital_(~meigallod@172.94.28.10) has joined #tryton13:14
-!- meigallodixital(~meigallod@172.94.112.15) has joined #tryton13:18
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton13:38
-!- meigallodixital_(~meigallod@188.72.113.32) has joined #tryton14:00
prayashmIs mac_cyrillic (python) equivalent of x-mac-cyrillic (javascript)?14:39
prayashmRelevant links: https://docs.python.org/3/library/codecs.html#standard-encodings14:40
prayashmhttps://encoding.spec.whatwg.org/#x-mac-cyrillic14:42
cedkprayashm: I don't think we must care of14:46
cedkprayashm: for me, you should expose all available possibilities14:46
cedkprayashm: with the name they have on the platform14:46
prayashmcedk: You mean, allow those encodings that will be supported by JavaScript?14:47
cedkprayashm: yes14:48
cedkprayashm: in the GTK client, we show what is supported by Python14:49
prayashmcedk: Understood. I will allow all those encodings accepted as labels then. Thank you14:49
-!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton14:57
-!- leio(~leio@gentoo/developer/leio) has joined #tryton15:00
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton15:08
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton15:16
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton15:19
-!- mariomop(~quassel@host88.181-1-39.telecom.net.ar) has joined #tryton16:17
-!- kstenger(~karla@r179-24-191-225.dialup.adsl.anteldata.net.uy) has joined #tryton16:17
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has left #tryton16:30
-!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton16:56
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton17:00
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton17:30
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton17:35
-!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton19:03
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton19:39
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton20:15
-!- kstenger1(~karla@r167-56-239-15.dialup.adsl.anteldata.net.uy) has joined #tryton20:49

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