IRC logs of #tryton for Monday, 2017-01-23

chat.freenode.net #tryton log beginning Mon Jan 23 00:00:01 CET 2017
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:23
-!- smarro_(~sebastian@186.130.32.66) has joined #tryton02:10
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton06:58
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:35
-!- rpit(~rpit@aftr-37-24-150-42.unity-media.net) has joined #tryton07:54
-!- dariusp3(~dariusp@k251.nfq.lt) has joined #tryton08:21
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:45
-!- rpit(~rpit@aftr-37-24-150-42.unity-media.net) has joined #tryton09:02
-!- udono(~udono@tmo-108-222.customers.d1-online.com) has joined #tryton09:08
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton09:13
-!- Timitos(~kpreisler@2001:a61:21e6:f601:ae7b:a1ff:feaf:55f0) has joined #tryton09:47
-!- dariusp2(~dariusp@k250.nfq.lt) has joined #tryton09:55
-!- dariusp3(~dariusp@k251.nfq.lt) has joined #tryton10:03
-!- thaneor(~ldlc6@179.26.234.45) has joined #tryton10:37
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:38
-!- rpit(~rpit@aftr-37-24-150-42.unity-media.net) has joined #tryton10:47
-!- piyush_(0116a082@gateway/web/freenode/ip.1.22.160.130) has joined #tryton11:10
piyush_hello11:10
piyush_how can I get taxes linked with product when creating sale line in json?11:11
pokolipiyush_: product have a customer_taxes_used functional field which returns the sales to be used on sale, but you have to take care about customer tax rule11:31
pokolipiyush_: indeed calling on_change_product will return the correct values11:31
pokolipiyush_: http://hg.tryton.org/modules/sale/file/f79ec04b9703/sale.py#l116611:32
piyush_pokoli: thanks but I didn't able to find method for it through JSON11:34
piyush_I am still searching method for it through JSON11:36
pokolipiyush_: you should call on_change with the ['product'] argument as field names11:39
pokolipiyush_: tryton clients do this automatically for you11:39
pokolipiyush_: May I ask what are you builing? Because using the json API is complex, maybe you can build your custom API using a flask_app11:40
-!- mariomop(~quassel@host48.186-124-246.telecom.net.ar) has joined #tryton11:42
piyush_pokoli: can you let me know model name for it?12:08
pokolipiyush_: all models that inherit for ModelView have this methods12:08
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton12:38
-!- smarro_(~sebastian@186.130.32.66) has joined #tryton13:26
-!- smarro_(~sebastian@186.130.32.66) has joined #tryton13:57
-!- kstenger(~karla@r190-134-137-29.dialup.adsl.anteldata.net.uy) has joined #tryton15:37
-!- smarro_(~sebastian@181.16.7.104) has joined #tryton16:29
-!- leio(~leio@gentoo/developer/leio) has joined #tryton18:09
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton18:17
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton18:56
-!- Timitos(~kpreisler@tmo-123-184.customers.d1-online.com) has joined #tryton19:20
-!- smarro_(~sebastian@186.130.32.66) has joined #tryton19:32
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton20:13
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton20:22
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton21:32
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton21:36
-!- robinak(~quassel@unaffilated/robink) has joined #tryton21:45
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton21:55
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has left #tryton22:03
-!- thaneor(~ldlc6@r179-25-55-190.dialup.adsl.anteldata.net.uy) has joined #tryton22:39
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton22:39

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