IRC logs of #tryton for Monday, 2018-01-22

chat.freenode.net #tryton log beginning Mon Jan 22 00:00:01 CET 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:47
-!- csotelo(~csotelo@179.7.40.247) has joined #tryton03:39
-!- thaneor(~ldlc6@r167-56-173-9.dialup.adsl.anteldata.net.uy) has joined #tryton04:30
-!- robink(~quassel@unaffilated/robink) has joined #tryton07:09
-!- _2cadz(~2cadz@212-198-245-154.rev.numericable.fr) has joined #tryton07:40
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton07:50
-!- rpit(~rpit@p200300C88BEA410056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton08:03
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:05
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton08:17
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton08:22
LordVanhi.08:33
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(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton08:39
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton08:47
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:59
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton09:16
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:29
-!- udono(~udono@013-059-210-188.ip-addr.inexio.net) 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: https://bugs.tryton.org/issue523709:47
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) 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: https://stackoverflow.com/questions/5796215/an-url-to-a-windows-shared-folder10:07
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(~jan@business-178-015-079-061.static.arcor-ip.net) 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@151.50.135.221) has joined #tryton10:48
-!- swayf(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) 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: http://hg.tryton.org/modules/party/file/a767b93f291f/party.py#l8311:57
pokoliLordVan: if you want to use the same numeration, you can customize the party sequence to include you prefix11:58
LordVanyes11:59
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@181.94.37.77) has joined #tryton12:01
cedkLordVan: you can store the legacy number as a party identifier12:02
-!- thaneor(~ldlc6@r167-56-173-9.dialup.adsl.anteldata.net.uy) 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@151.50.135.221) has joined #tryton13:37
-!- catonano(~user@151.50.135.221) has joined #tryton13:48
-!- _2cadz_(~2cadz@212-198-245-154.rev.numericable.fr) has joined #tryton15:09
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton15:20
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton15:47
-!- catonano(~user@151.50.135.221) has joined #tryton15:49
-!- thaneor1(~ldlc6@r179-25-33-113.dialup.adsl.anteldata.net.uy) has joined #tryton16:32
-!- xcodinas(~xcodinas@134.ip-5-196-28.eu) has joined #tryton16:46
-!- JanGB1(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton17:00
-!- cdchapman(~perturbed@73.98.169.183) has joined #tryton17:11
-!- lukio(~lukio@200.68.72.41) has joined #tryton17:17
-!- _2cadz_(~2cadz@82.64.14.213) has joined #tryton17:19
-!- _2cadz_(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton17:20
-!- catonano(~user@151.50.135.221) has joined #tryton17:21
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton17:37
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton17:39
-!- udono1(~udono@013-059-210-188.ip-addr.inexio.net) has joined #tryton17:56
-!- zmijunkie(~Adium@i577B31DC.versanet.de) has joined #tryton18:10
-!- JanGB(~jan@ipservice-092-216-127-053.092.216.pools.vodafone-ip.de) has joined #tryton18:18
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:02
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton19:13
-!- catonano(~user@151.50.135.221) has joined #tryton20:36
-!- zmijunkie(~Adium@i577B31DC.versanet.de) 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 http://doc.tryton.org/4.4/trytond/doc/ref/models/fields.html#ordering and https://bugs.tryton.org/issue64 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(~Adium@i577B31DC.versanet.de) has joined #tryton22:07
-!- JanGB(~jan@ipservice-092-216-127-053.092.216.pools.vodafone-ip.de) has joined #tryton22:22
-!- lukio(~lukio@200.68.72.41) has left #tryton22:35
-!- catonano(~user@151.50.135.221) has joined #tryton22:39
-!- orphean(~Orphean@31.192.224.224) has joined #tryton22:50
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton22:57
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:57

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