IRC logs of #tryton for Monday, 2018-01-22 #tryton log beginning Mon Jan 22 00:00:01 CET 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:47
-!- csotelo(~csotelo@ has joined #tryton03:39
-!- thaneor( has joined #tryton04:30
-!- robink(~quassel@unaffilated/robink) has joined #tryton07:09
-!- _2cadz( has joined #tryton07:40
-!- hedererjs( has joined #tryton07:50
-!- rpit( has joined #tryton08:03
-!- tbruyere( has joined #tryton08:05
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton08:17
-!- JanGB( has joined #tryton08:22
LordVanjust wondering: is anyone who uses tryton also using some sort of document management with it? if so which one? (or can it be done with tryton itself?)08:34
-!- zmijunkie( has joined #tryton08:39
-!- JanGB( has joined #tryton08:47
-!- mrichez( has joined #tryton08:59
-!- JanGB( has joined #tryton09:16
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:29
-!- udono( has joined #tryton09:32
pokoliLordVan: I know there are some users that store the scanned supplier invoices as an attachment on the invoice records09:38
LordVanpokoli, hmm i am talking about production related documents09:38
pokoliLordVan: which type of documents?09:40
LordVanpdf, dxf and application specific files (solid edge drawings mostly)09:41
LordVanbut they can get quite big09:41
LordVanso probably not the best idea09:41
LordVanalso assemblies are made up of lots of linked files ..09:41
pokoliLordVan: I don't see any problem to store them as production attachments09:41
LordVanwhat file sizes would be the maximum that would be a good idea?09:44
pokoliLordVan: indeed we improved performance for large files some time ago:
-!- JanGB( has joined #tryton09:49
cedkLordVan: why not just use http links?09:58
LordVancedk, yeah I was just thinking that putting all those files in there is not going to work09:58
cedkLordVan: you store them on a webserver and just put a link action that point to it09:58
LordVanespecially with inter-part links09:58
LordVanalthough I'd be more inclined to store the network share paths09:59
LordVanthan go through http09:59
LordVanis there a "defineD" way to link to (windows) network share paths?09:59
LordVanor just add a field with the path and leave it to the client to open it09:59
cedkLordVan: we only have URL but I think there is a URL schema for windows share10:00
LordVansmbfs:// works on linux not sure about windows10:00
LordVanbut i will check10:00
LordVanIdeally I could also automatically copy the relevant files from a library location to the current folder when creating production documents10:01
LordVancedk, it is file://<host>/<share+path>10:05
LordVanlike file://server/data/blah10:05
LordVannot sure how the desktop application will handle it but with the browser there might be cross-scripting permisison issues ^^10:05
cedkLordVan: why? it is link opening a new link10:06
cedkindeed I think you can create a wizard that return an URL action which point to the right path depending on the production order10:07
cedkthis wizard could be registered as a form_print so it will look like a generated Tryton report (but it will not)10:07
LordVancedk, i mean what they are talking about on this:
LordVanif in a browser you link to a file:// link from a http page (on a different server) by default it would block it these days10:08
LordVani had this problme with something else before10:08
LordVanbut anyway i intend to mostly use the desktop application anyway10:08
-!- JanGB( has joined #tryton10:09
cedkLordVan: so it is probably better to put a simple webserver on it10:09
LordVanthat aside .. how can I enter an URL for an article/variant ? i can'T find it .. or is it as attribute or something?10:10
cedkLordVan: you have to create the field or construct it10:10
LordVancedk, I will think about what is most useful, but I still would need to copy it from that source to the current network path10:11
LordVancedk, ah ok thanks10:11
LordVanthought i was just missing something10:11
LordVanBut i guess if that process involves a copy or a download from a http source doesn'T really matter10:12
-!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton10:22
cedkLordVan: I think you should try to avoid any copy/duplication10:43
LordVancedk, i would like to, but i think in the case of how our workflow works (at the moment) duplication is not avoidable (unfortunately)10:44
LordVani am trying to change that too, but that requires quite some changes there too10:45
-!- catonano(~user@ has joined #tryton10:48
-!- swayf( has joined #tryton11:00
LordVanmaybe i can do that in one go when I implement tryton, but that is a lot of work so ..11:51
LordVanwill see i guess11:51
LordVansomething different .. i want to use the "code" field (in party) to store our current customer numbers, but there are some "special" cases (non-unique for example) is that possible or is it better to just create an extra field for that?11:54
LordVanThe customer number format used at the moment is 20<number of letter in alphabet>-<4 digit incremental>11:55
LordVanit is like this for (historical) bookkeeping reasons11:55
LordVanthe main "problem" I see is that there are some special customer numbers, which is used for various (mostly one-off) customers11:56
LordVandoes the code have to be unique?11:56
pokoliLordVan: yes code have to be unique:
pokoliLordVan: if you want to use the same numeration, you can customize the party sequence to include you prefix11:58
LordVanpokoli, to be honest i am not keen at all about that numbering scheme anyway11:59
LordVancuz if a company changes name you have to change the customer number11:59
LordVancuz it includes the first letter of the name in the prefix11:59
LordVanwhich imho is not needed anymore nowadays11:59
LordVan(was different back in the day when bookkeeping was mostly on paper ^^)11:59
LordVanpokoli, i shall propose a change of that maybe .. and see how the feedback is .. but i estimate not too much enthusiasm because the customer numbers are also in the bookkeeping softare and changing all that would be quite some work i imagine12:00
LordVananyway afk for lunch now back later ;)12:01
-!- mariomop(~quassel@ has joined #tryton12:01
cedkLordVan: you can store the legacy number as a party identifier12:02
-!- thaneor( has joined #tryton12:56
LordVancedk, yes that is what i was thinking13:11
LordVanbasically some legacy/bookkeeping number field and one for tryton internally with just incrementing numbers13:14
-!- catonano(~user@ has joined #tryton13:37
-!- catonano(~user@ has joined #tryton13:48
-!- _2cadz_( has joined #tryton15:09
-!- csotelo(~csotelo@ has joined #tryton15:20
-!- lukio( has joined #tryton15:47
-!- catonano(~user@ has joined #tryton15:49
-!- thaneor1( has joined #tryton16:32
-!- xcodinas( has joined #tryton16:46
-!- JanGB1( has joined #tryton17:00
-!- cdchapman(~perturbed@ has joined #tryton17:11
-!- lukio(~lukio@ has joined #tryton17:17
-!- _2cadz_(~2cadz@ has joined #tryton17:19
-!- _2cadz_( has joined #tryton17:20
-!- catonano(~user@ has joined #tryton17:21
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton17:37
-!- csotelo(~csotelo@ has joined #tryton17:39
-!- udono1( has joined #tryton17:56
-!- zmijunkie( has joined #tryton18:10
-!- JanGB( has joined #tryton18:18
-!- Telesight( has joined #tryton19:02
-!- hedererjs( has joined #tryton19:13
-!- catonano(~user@ has joined #tryton20:36
-!- zmijunkie( has joined #tryton21:16
lukioHi, I have a function field that depends on a many2one field. I display this field inside a tree view. I wanted to be sortable. I found and and the examples inside the code are all about to sort from a field that is from the same table. I will want to sort from a different table, and I do not understand how to write that kind of code. Thanks !21:50
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:00
-!- zmijunkie( has joined #tryton22:07
-!- JanGB( has joined #tryton22:22
-!- lukio(~lukio@ has left #tryton22:35
-!- catonano(~user@ has joined #tryton22:39
-!- orphean(~Orphean@ has joined #tryton22:50
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton22:57
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:57

Generated by 2.11.0 by Marius Gedminas - find it at!