IRC logs of #tryton for Saturday, 2014-10-18

chat.freenode.net #tryton log beginning Sat Oct 18 00:00:02 CEST 2014
2014-10-18 02:27 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-10-18 04:08 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2014-10-18 06:40 -!- frispete_(~frispete@p54A92068.dip0.t-ipconnect.de) has joined #tryton
2014-10-18 07:01 -!- yangoon(~mathiasb@84.159.53.243) has joined #tryton
2014-10-18 07:38 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2014-10-18 08:48 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-10-18 09:15 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-10-18 10:02 -!- prksh(~prksh@122.177.235.113) has joined #tryton
2014-10-18 10:04 <prksh> cedk: while creating xml record can I get the compnay?
2014-10-18 10:05 <prksh> cedk: **company id
2014-10-18 10:06 <prksh> cedk: say I wan to create a xml record for a model where company is required
2014-10-18 10:08 <prksh> pokoli: are you there?
2014-10-18 10:09 <cedk> prksh: no because company is not created from XML
2014-10-18 10:10 <cedk> prksh: it is generally a bad idea to create record via XML that are business dependant
2014-10-18 10:40 <prksh> cedk: point! but what does it mean by business dependent? In my case I want to enforce user to use some predefined fields
2014-10-18 11:10 <cedk> prksh: company is business
2014-10-18 11:24 <newzen> cedk: I need to generate adhesive product barcode label. I was searching for a module or procedure without look. Point me how to. Thanks
2014-10-18 11:25 <newzen> cedk: sorry i have a zebra gk420t printer
2014-10-18 11:27 <cedk> newzen: I don't know
2014-10-18 11:31 <newzen> cedk: openerp aeroo module based in your's relatorio is capable. On other hand pypi have a class zebra 0.0.4, detect zebra printer and zend native epl code to.
2014-10-18 11:33 <newzen> cedk: real problem is dont now how from client i could comunicate with client pc native port ( serial, finger print reader etc ) Is there any documentation about that??
2014-10-18 11:33 <cedk> newzen: you can create a plugin
2014-10-18 11:34 <cedk> newzen: there is an plugin example in tryton/plugins
2014-10-18 11:34 <cedk> newzen: for barcode generation, there are plenty of library that can do that
2014-10-18 11:34 <newzen> cedk: maybe " How to execute arbitrary code on client side"
2014-10-18 11:36 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-10-18 11:36 <cedk> newzen: that's a crazy topic
2014-10-18 11:38 <cedk> I use once: https://pypi.python.org/pypi/huBarcode/1.0.0
2014-10-18 11:39 <cedk> and you can include in relatorio any kind of images
2014-10-18 12:11 <newzen> cedk: looking for plugin example/documentation but can't find. Would you mind point me to? thanks
2014-10-18 12:19 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2014-10-18 12:56 <cedk> newzen: there is no doc for this part
2014-10-18 12:56 <cedk> newzen: just an example in tryton/plugins
2014-10-18 12:58 <cedk> newzen: but I'm not sure it is what you need
2014-10-18 12:58 <cedk> you should be able to just generate the file to send to the printer on server side and let the client "open" it
2014-10-18 12:58 <newzen> cedk: give me the link please i can't find even that :(
2014-10-18 13:00 <newzen> cedk: im looking far, in venezuela we have fiscal printer attached direct to point of sale. so need to understand how to talk to at least serial port on client side
2014-10-18 13:00 <cedk> newzen: http://hg.tryton.org/tryton/file/e0e24fa5b07e/tryton/plugins
2014-10-18 13:00 <cedk> newzen: what are you naming "client side" ?
2014-10-18 13:01 <newzen> cedk: on computer running the tryton client program
2014-10-18 13:01 <newzen> cedk: especifically gtk client
2014-10-18 13:03 <cedk> newzen: don't understand
2014-10-18 13:04 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-10-18 13:05 <newzen> cedk: have a pc running python gtk client, need to send command to serial port on that pc.
2014-10-18 13:07 -!- fshahy(b903d4ab@gateway/web/freenode/ip.185.3.212.171) has joined #tryton
2014-10-18 13:08 <newzen> cedk: on sale process each line on invoice need to be send to fiscal printer which is attached to serial por on client pc, wait for fiscal printer response ( AK and printer status ) and send the next if every thing is ok
2014-10-18 13:08 <newzen> /por/port/
2014-10-18 13:27 <cedk> newzen: not the job of tryton client
2014-10-18 13:27 <cedk> newzen: OS has printer API
2014-10-18 13:30 <newzen> cedk: maybe a solution could be build a native POS ( pyside wx ... ) and use proteus to talk to database. what you think about? could be?
2014-10-18 13:33 <cedk> newzen: I don't understand what you try to do
2014-10-18 13:42 <cedk> newzen: you are switching from one topic to another
2014-10-18 13:44 <newzen> cedk: yes and no. Rename a file to be sent to client to some extension is a trick. On my OS have to declare that file extension must to be opened by a program.
2014-10-18 13:45 <newzen> cedk: so how to talk directly to some hardware attached to the client?
2014-10-18 13:46 <cedk> newzen: it is not the purpose of the tryton client
2014-10-18 13:50 <newzen> cedk: other solution could be open a socket on client to talk to hardware?
2014-10-18 13:51 <newzen> cedk: now have two solutions. what could be more appropriated for tryton philosophy ?
2014-10-18 13:55 <cedk> newzen: what don't you understand in "it is not the purpose of the tryton client"
2014-10-18 13:56 <newzen> cedk: you dont need to be rude mon amy :)
2014-10-18 13:57 <newzen> cedk: thanks for your time
2014-10-18 13:58 <newzen> cedk: means ami
2014-10-18 13:58 -!- fshahy(b903d4ab@gateway/web/freenode/ip.185.3.212.171) has left #tryton
2014-10-18 14:03 -!- prksh(~prksh@122.177.235.113) has left #tryton
2014-10-18 14:16 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-10-18 17:02 -!- Telesight(~anthony@77-175-158-148.FTTH.ispfabriek.nl) has joined #tryton
2014-10-18 17:19 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-10-18 17:24 -!- Timitos1(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2014-10-18 17:37 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2014-10-18 18:52 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2014-10-18 18:56 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-10-18 19:42 -!- rpit(~ralf@92.76.161.139) has joined #tryton
2014-10-18 22:54 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-10-18 23:23 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton

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