IRC logs of #tryton for Tuesday, 2017-05-02

chat.freenode.net #tryton log beginning Tue May 2 00:00:01 CEST 2017
-!- theviajerock(~victor@cable201-232-160-169.epm.net.co) has joined #tryton02:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:12
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton03:10
-!- VaticanCameos(~VaticanCa@171.79.64.45) has joined #tryton04:59
-!- thaneor(~ldlc6@r179-25-181-243.dialup.adsl.anteldata.net.uy) has joined #tryton07:41
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:45
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:06
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:10
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton08:38
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has left #tryton08:38
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:54
-!- piyush(7bc9095e@gateway/web/freenode/ip.123.201.9.94) has joined #tryton09:07
piyushCan you please give me an example of creating/reading attachment from sale module?09:07
pokoliis hg.tryton.org down?10:09
mrichezpokoli: for me too10:12
cedkmust be back10:12
pokolicedk: working now, thanks :)10:12
cedklighttpd does not always restart correctly and a restart was needed to get new demo10:16
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:39
-!- piyush(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton11:20
piyushCan you please give me an example of creating/reading attachment from sale module?11:20
pokolipiyush: you should read the ir.attachment model using the resource field to reference your sale11:28
piyushyes, but I am stuck with  resource field only. How can I use that?11:29
cedkpiyush: reference fields are composed of <model name> +  ',' + <id>11:39
cedkpiyush: http://doc.tryton.org/4.4/trytond/doc/ref/models/fields.html?highlight=reference#trytond.model.fields.Reference11:40
piyushit is reference field , not resource11:42
cedkpiyush: "Resource" is just the label11:43
cedkpiyush: read attachment.py11:43
piyushsorry but I am still not getting11:48
pokolipiyush: so please ask your questions12:17
piyushcan you give me example of create attachment request?12:57
-!- mariomop(~quassel@host101.190-31-101.telecom.net.ar) has joined #tryton13:00
-!- mariomop(~quassel@host101.190-31-101.telecom.net.ar) has joined #tryton13:14
pokolipiyush: I have already explained13:20
pokolipiyush: what have you tried? What are your errors? What you don't  understand?13:20
piyushmy try is here: https://pastebin.com/bABxPw1013:35
pokolipiyush: create accepts a list of records as parameters, this seems the result of a search13:44
piyushI am asking for the same! :)14:25
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton14:42
-!- kstenger(~karla@r186-48-241-164.dialup.adsl.anteldata.net.uy) has joined #tryton15:12
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton15:39
-!- JanGB(~jan@88.73.244.178) has joined #tryton16:02
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton16:15
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton16:19
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:45
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton17:09
-!- thaneor(~ldlc6@r179-25-68-15.dialup.adsl.anteldata.net.uy) has joined #tryton17:22
-!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton18:07
-!- JanGB(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton18:19
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:44
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:40
-!- kstenger(~karla@r190-133-239-112.dialup.adsl.anteldata.net.uy) has joined #tryton22:10
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has left #tryton23:55

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