IRC logs of #tryton for Tuesday, 2014-09-23

chat.freenode.net #tryton log beginning Tue Sep 23 00:00:01 CEST 2014
2014-09-23 02:03 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-23 02:48 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-23 02:58 -!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-23 03:57 -!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-23 04:58 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-23 05:14 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-23 06:40 -!- frispete_(~frispete@p54A91C6B.dip0.t-ipconnect.de) has joined #tryton
2014-09-23 07:16 -!- yangoon(~mathiasb@p549F1270.dip0.t-ipconnect.de) has joined #tryton
2014-09-23 07:38 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-23 07:39 -!- udono(~udono@ip-37-24-113-58.hsi14.unitymediagroup.de) has joined #tryton
2014-09-23 07:40 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2014-09-23 08:09 -!- VaticanCameos(~pritishc@101.60.137.197) has joined #tryton
2014-09-23 08:10 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-09-23 08:27 -!- VaticanCameos(~pritishc@122.177.42.189) has joined #tryton
2014-09-23 08:43 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-23 08:51 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-09-23 08:56 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-09-23 09:02 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-09-23 09:08 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-09-23 09:29 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-09-23 09:33 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-09-23 09:36 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-23 09:47 -!- grasbauer(~jan@89.204.138.162) has joined #tryton
2014-09-23 11:13 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-23 11:48 -!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2014-09-23 12:43 -!- VaticanCameos(~pritishc@122.177.42.189) has joined #tryton
2014-09-23 12:50 <VaticanCameos> Hello, how do I test a default method? As in a method that returns the default value of a field.
2014-09-23 12:50 <VaticanCameos> How would I write a test for the same?
2014-09-23 12:51 <cedk> VaticanCameos: just call the method
2014-09-23 12:52 <VaticanCameos> cedk: And then assert the value?
2014-09-23 12:52 <cedk> VaticanCameos: don't know what you want to test
2014-09-23 12:57 <pokoli> Anyone knows what's the objective of http://hg.tryton.org/modules/stock/file/0e50182a4fa8/shipment.py#l336
2014-09-23 13:00 <cedk> pokoli: docstring is pretty clear
2014-09-23 13:01 <pokoli> cedk: So if the shipment doesn't have a planned date, but the move yes, it should not override it
2014-09-23 13:02 <cedk> pokoli: why not?
2014-09-23 13:02 <cedk> pokoli: the shipment is not planned so any move is planned
2014-09-23 13:02 <pokoli> cedk: because you're losing information
2014-09-23 13:03 <cedk> pokoli: not at all
2014-09-23 13:03 <cedk> pokoli: you put moves on a shipment that is not planned so moves are not planned
2014-09-23 13:04 <pokoli> cedk: so when we receive the shipment (not creating the planning shipment), the planned_date gets cleared
2014-09-23 13:04 <pokoli> cedk: as by default the planned_date of the incomming shipments is None
2014-09-23 13:07 <cedk> pokoli: so what?
2014-09-23 13:07 <pokoli> cedk: so you lose the original planned date for the move
2014-09-23 13:07 <cedk> pokoli: so what ?
2014-09-23 13:07 <cedk> pokoli: what the point ???
2014-09-23 13:07 <cedk> pokoli: you just *recieved* !!!
2014-09-23 13:08 <pokoli> cedk: yes, but for our customers is important to know the delay between planned_dates and effective_dates
2014-09-23 13:09 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-23 13:11 <cedk> pokoli: don't use those field because it is not their purpose
2014-09-23 13:13 <pokoli> cedk: so If I want to plan the shipment based on the dates of the moves, how can I do this if cleared?
2014-09-23 13:15 -!- lukius(~lukius@213.188.38.24) has joined #tryton
2014-09-23 13:16 <cedk> pokoli: don't understand
2014-09-23 13:18 <lukius> Hi. I have a licensing question. If I write a module for tryton, does it has to be GPL-3? If someone else has written a module for tryton and has not published it, is he breaking the license?
2014-09-23 13:20 <pokoli> cedk: nevermind, I don't understand why you want to unplan, a planned move
2014-09-23 13:20 <cedk> pokoli: because you *receive* it
2014-09-23 13:21 <pokoli> cedk: and if i don't recieve it, it gets also cleared
2014-09-23 13:21 <cedk> lukius: depends if it is a derivative work of GPL work
2014-09-23 13:22 <cedk> pokoli: only if you save it, so if you don't receive it why do you save it
2014-09-23 13:23 <pokoli> cedk: so If i want to save it as draft, i have to fill the planned_date, otherwise it gets cleared
2014-09-23 13:24 <pokoli> cedk: I see your point, but it's not intuitive
2014-09-23 13:24 <cedk> pokoli: if you create the shipment then you know the date
2014-09-23 13:24 <cedk> pokoli: we could perhaps set a default to today
2014-09-23 13:25 <pokoli> cedk: I will prefer a default for today on planned date
2014-09-23 13:26 <pokoli> cedk: but as it's not a required field, it can be also unplanned, so we will have the same behaviour
2014-09-23 13:33 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2014-09-23 13:34 <mar> is it possible to somehow export certain data from one database into another?
2014-09-23 13:34 <mar> for example uoms
2014-09-23 13:36 <cedk> mar: must write a script
2014-09-23 13:36 -!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2014-09-23 13:50 <cedk> pokoli: yes and it will fix temporary issue in between saving and validation
2014-09-23 14:04 -!- adeb6600(~macbookpr@154.66.3.57) has joined #tryton
2014-09-23 14:05 <adeb6600> how do i exports tryton reports to xls (excel files)
2014-09-23 14:09 <cedk> adeb6600: you can make a ods report that will be converted in xls via unoconv
2014-09-23 14:09 <cedk> adeb6600: or you can also just make copy/paste to a tabler
2014-09-23 14:10 <cedk> adeb6600: or you can export into csv using the generic export dialog
2014-09-23 14:11 <cedk> adeb6600: export: http://doc.tryton.org/3.2/tryton/doc/usage.html#toolbar-export-data
2014-09-23 14:14 <mar> cedk, wouldn't export "work"?
2014-09-23 14:16 <cedk> mar: export format is not garantie to be importable
2014-09-23 14:17 <mar> so you're suggesing using proteus?
2014-09-23 14:17 <adeb6600> thanks cedk
2014-09-23 14:24 <pokoli> cedk: making them required will fix it?
2014-09-23 14:25 -!- sisalp(~sisalpuse@gratoox.sisalp.net) has joined #tryton
2014-09-23 14:27 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-23 14:46 <cedk> mar: why not
2014-09-23 14:46 <cedk> pokoli: not required
2014-09-23 14:53 <TheCowboy> does anyone have any idea if would Tryton work as a warehouse management solution, where minor manufacturing takes place?
2014-09-23 14:53 -!- prksh(~prksh@122.177.111.16) has joined #tryton
2014-09-23 14:54 <cedk> TheCowboy: probably
2014-09-23 14:57 <TheCowboy> does it support barcode printing and scanning? I didn't notice anything about that in the docs
2014-09-23 14:57 <TheCowboy> this company I'm helping out attempted to setup with a commercial (closed source) product that's just awful, so I've been trying to find some other options
2014-09-23 15:05 -!- prksh(~prksh@122.177.111.16) has left #tryton
2014-09-23 15:06 <cedk> TheCowboy: barcode printing, there are plenty of python lib for that
2014-09-23 15:07 <cedk> TheCowboy: barcode scanner behaves like a keyboard so as far as you define a clear workflow, it should work
2014-09-23 15:14 <TheCowboy> true, and there's probably a library that can handle printing to network printers (mobile label printers)
2014-09-23 15:16 <cedk> TheCowboy: but currently, we are working on a specific UI for warehouse management
2014-09-23 15:16 <TheCowboy> is that up on github somewhere?
2014-09-23 15:16 <cedk> TheCowboy: we think about using flask-tryton to write a simple and tailored for the specific need
2014-09-23 15:17 <cedk> TheCowboy: the application is not yet ready
2014-09-23 15:17 <cedk> TheCowboy: but flask-tryton is: https://code.google.com/p/flask-tryton/
2014-09-23 15:17 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-09-23 15:18 <cedk> also I'm not sure we will publish it as is because it is very custom
2014-09-23 15:18 <TheCowboy> ah
2014-09-23 15:18 <TheCowboy> what kind of business?
2014-09-23 15:19 <cedk> TheCowboy: wholesale
2014-09-23 15:20 <cedk> TheCowboy: but probably we will try to get some part generic
2014-09-23 15:25 <TheCowboy> cedk, why did you decide to move in the flask direction?
2014-09-23 15:28 <cedk> TheCowboy: it was always the idea to use tailored UI in such case
2014-09-23 15:29 <cedk> TheCowboy: the current client is fine for desktop usage
2014-09-23 16:00 <TheCowboy> I'll likely need to make a custom UI for the mobile handsets in any case
2014-09-23 16:01 -!- adeb6600(~macbookpr@154.66.3.15) has joined #tryton
2014-09-23 16:04 <cedk> TheCowboy: I think today mobile UI should be done using HTML5 because it is the defacto standard on such platform
2014-09-23 16:05 -!- nicoe(~nicoe@2a02:2788:44:e7b:ee55:f9ff:fe7b:f7ac) has joined #tryton
2014-09-23 16:23 <TheCowboy> cedk, that's what I would do too, but the expensive handsets are running Windows Embedded, and the browser may be limited
2014-09-23 16:25 <TheCowboy> I'd like to return them ideally
2014-09-23 16:46 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has left #tryton
2014-09-23 17:15 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2014-09-23 17:56 -!- smarro(~sebastian@181.47.135.16) has joined #tryton
2014-09-23 18:14 -!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton
2014-09-23 18:30 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-23 18:47 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-09-23 18:57 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-23 19:01 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-09-23 19:01 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-09-23 19:11 -!- prksh(~prksh@101.0.57.251) has joined #tryton
2014-09-23 19:21 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-09-23 19:29 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2014-09-23 19:32 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-23 20:44 -!- bechamel1(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-09-23 20:48 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-09-23 23:17 -!- adeb6600(~macbookpr@154.66.3.60) has joined #tryton
2014-09-23 23:30 -!- smarro(~sebastian@190.105.93.196) has joined #tryton

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