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

chat.freenode.net #tryton log beginning Tue Sep 23 00:00:01 CEST 2014
-!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton02:03
-!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton02:48
-!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton02:58
-!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton03:57
-!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton04:58
-!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton05:14
-!- frispete_(~frispete@p54A91C6B.dip0.t-ipconnect.de) has joined #tryton06:40
-!- yangoon(~mathiasb@p549F1270.dip0.t-ipconnect.de) has joined #tryton07:16
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:38
-!- udono(~udono@ip-37-24-113-58.hsi14.unitymediagroup.de) has joined #tryton07:39
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:40
-!- VaticanCameos(~pritishc@101.60.137.197) has joined #tryton08:09
-!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton08:10
-!- VaticanCameos(~pritishc@122.177.42.189) has joined #tryton08:27
-!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton08:43
-!- corro(~corro@46.22.23.85) has joined #tryton08:51
-!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton08:56
-!- corro(~corro@46.22.23.85) has joined #tryton09:02
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:08
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:29
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton09:33
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton09:36
-!- grasbauer(~jan@89.204.138.162) has joined #tryton09:47
-!- swayf(~swayf@93.104.202.98) has joined #tryton11:13
-!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton11:48
-!- VaticanCameos(~pritishc@122.177.42.189) has joined #tryton12:43
VaticanCameosHello, how do I test a default method? As in a method that returns the default value of a field.12:50
VaticanCameosHow would I write a test for the same?12:50
cedkVaticanCameos: just call the method12:51
VaticanCameoscedk: And then assert the value?12:52
cedkVaticanCameos: don't know what you want to test12:52
pokoliAnyone knows what's the objective of http://hg.tryton.org/modules/stock/file/0e50182a4fa8/shipment.py#l33612:57
cedkpokoli: docstring is pretty clear13:00
pokolicedk: So if the shipment doesn't have a planned date, but the move yes, it should not override it13:01
cedkpokoli: why not?13:02
cedkpokoli: the shipment is not planned so any move is planned13:02
pokolicedk: because you're losing information13:02
cedkpokoli: not at all13:03
cedkpokoli: you put moves on a shipment that is not planned so moves are not planned13:03
pokolicedk: so when we receive the shipment (not creating the planning shipment), the planned_date gets cleared13:04
pokolicedk: as by default the planned_date of the incomming shipments is None13:04
cedkpokoli: so what?13:07
pokolicedk: so you lose the original planned date for the move13:07
cedkpokoli: so what ?13:07
cedkpokoli: what the point ???13:07
cedkpokoli: you just *recieved* !!!13:07
pokolicedk: yes, but for our customers is important to know the delay between planned_dates and effective_dates13:08
-!- swayf(~swayf@93.104.202.98) has joined #tryton13:09
cedkpokoli: don't use those field because it is not their purpose13:11
pokolicedk: so If I want to plan the shipment based on the dates of the moves, how can I do this if cleared?13:13
-!- lukius(~lukius@213.188.38.24) has joined #tryton13:15
cedkpokoli: don't understand13:16
lukiusHi. 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?13:18
pokolicedk: nevermind, I don't understand why you want to unplan, a planned move13:20
cedkpokoli: because you *receive* it13:20
pokolicedk: and if i don't recieve it, it gets also cleared13:21
cedklukius: depends if it is a derivative work of GPL work13:21
cedkpokoli: only if you save it, so if you don't receive it why do you save it13:22
pokolicedk: so If i want to save it as draft, i have to fill the planned_date, otherwise it gets cleared13:23
pokolicedk: I see your point, but it's not intuitive13:24
cedkpokoli: if you create the shipment then you know the date13:24
cedkpokoli: we could perhaps set a default to today13:24
pokolicedk: I will prefer a default for today on planned date13:25
pokolicedk: but as it's not a required field, it can be also unplanned, so we will have the same behaviour13:26
-!- mar(~marius@v100.nfq.lt) has joined #tryton13:33
maris it possible to somehow export certain data from one database into another?13:34
marfor example uoms13:34
cedkmar: must write a script13:36
-!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton13:36
cedkpokoli: yes and it will fix temporary issue in between saving and validation13:50
-!- adeb6600(~macbookpr@154.66.3.57) has joined #tryton14:04
adeb6600how do i exports tryton reports to xls (excel files)14:05
cedkadeb6600: you can make a ods report that will be converted in xls via unoconv14:09
cedkadeb6600: or you can also just make copy/paste to a tabler14:09
cedkadeb6600: or you can export into csv using the generic export dialog14:10
cedkadeb6600: export: http://doc.tryton.org/3.2/tryton/doc/usage.html#toolbar-export-data14:11
marcedk, wouldn't export "work"?14:14
cedkmar: export format is not garantie to be importable14:16
marso you're suggesing using proteus?14:17
adeb6600thanks cedk14:17
pokolicedk: making them required will fix it?14:24
-!- sisalp(~sisalpuse@gratoox.sisalp.net) has joined #tryton14:25
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton14:27
cedkmar: why not14:46
cedkpokoli: not required14:46
TheCowboydoes anyone have any idea if would Tryton work as a warehouse management solution, where minor manufacturing takes place?14:53
-!- prksh(~prksh@122.177.111.16) has joined #tryton14:53
cedkTheCowboy: probably14:54
TheCowboydoes it support barcode printing and scanning? I didn't notice anything about that in the docs14:57
TheCowboythis 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 options14:57
-!- prksh(~prksh@122.177.111.16) has left #tryton15:05
cedkTheCowboy: barcode printing, there are plenty of python lib for that15:06
cedkTheCowboy: barcode scanner behaves like a keyboard so as far as you define a clear workflow, it should work15:07
TheCowboytrue, and there's probably a library that can handle printing to network printers (mobile label printers)15:14
cedkTheCowboy: but currently, we are working on a specific UI for warehouse management15:16
TheCowboyis that up on github somewhere?15:16
cedkTheCowboy: we think about using flask-tryton to write a simple and tailored for the specific need15:16
cedkTheCowboy: the application is not yet ready15:17
cedkTheCowboy: but flask-tryton is: https://code.google.com/p/flask-tryton/15:17
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton15:17
cedkalso I'm not sure we will publish it as is because it is very custom15:18
TheCowboyah15:18
TheCowboywhat kind of business?15:18
cedkTheCowboy: wholesale15:19
cedkTheCowboy: but probably we will try to get some part generic15:20
TheCowboycedk, why did you decide to move in the flask direction?15:25
cedkTheCowboy: it was always the idea to use tailored UI in such case15:28
cedkTheCowboy: the current client is fine for desktop usage15:29
TheCowboyI'll likely need to make a custom UI for the mobile handsets in any case16:00
-!- adeb6600(~macbookpr@154.66.3.15) has joined #tryton16:01
cedkTheCowboy: I think today mobile UI should be done using HTML5 because it is the defacto standard on such platform16:04
-!- nicoe(~nicoe@2a02:2788:44:e7b:ee55:f9ff:fe7b:f7ac) has joined #tryton16:05
TheCowboycedk, that's what I would do too, but the expensive handsets are running Windows Embedded, and the browser may be limited16:23
TheCowboyI'd like to return them ideally16:25
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has left #tryton16:46
-!- mar(~marius@v100.nfq.lt) has joined #tryton17:15
-!- smarro(~sebastian@181.47.135.16) has joined #tryton17:56
-!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton18:14
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton18:30
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton18:47
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton18:57
-!- gremly(~gremly@190.85.36.58) has joined #tryton19:01
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton19:01
-!- prksh(~prksh@101.0.57.251) has joined #tryton19:11
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton19:21
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton19:29
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton19:32
-!- bechamel1(~Adium@62-197-96-189.teledisnet.be) has joined #tryton20:44
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:48
-!- adeb6600(~macbookpr@154.66.3.60) has joined #tryton23:17
-!- smarro(~sebastian@190.105.93.196) has joined #tryton23:30

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