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

chat.freenode.net #tryton log beginning Mon Jan 22 00:00:01 CET 2018
2018-01-22 00:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-22 03:39 -!- csotelo(~csotelo@179.7.40.247) has joined #tryton
2018-01-22 04:30 -!- thaneor(~ldlc6@r167-56-173-9.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-01-22 07:09 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2018-01-22 07:40 -!- _2cadz(~2cadz@212-198-245-154.rev.numericable.fr) has joined #tryton
2018-01-22 07:50 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-01-22 08:03 -!- rpit(~rpit@p200300C88BEA410056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2018-01-22 08:05 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2018-01-22 08:17 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2018-01-22 08:22 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-22 08:33 <LordVan> hi.
2018-01-22 08:34 <LordVan> just 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?)
2018-01-22 08:39 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2018-01-22 08:47 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-22 08:59 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2018-01-22 09:16 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-22 09:29 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-22 09:32 -!- udono(~udono@013-059-210-188.ip-addr.inexio.net) has joined #tryton
2018-01-22 09:38 <pokoli> LordVan: I know there are some users that store the scanned supplier invoices as an attachment on the invoice records
2018-01-22 09:38 <LordVan> pokoli, hmm i am talking about production related documents
2018-01-22 09:40 <pokoli> LordVan: which type of documents?
2018-01-22 09:41 <LordVan> pdf, dxf and application specific files (solid edge drawings mostly)
2018-01-22 09:41 <LordVan> but they can get quite big
2018-01-22 09:41 <LordVan> so probably not the best idea
2018-01-22 09:41 <LordVan> also assemblies are made up of lots of linked files ..
2018-01-22 09:41 <pokoli> LordVan: I don't see any problem to store them as production attachments
2018-01-22 09:44 <LordVan> what file sizes would be the maximum that would be a good idea?
2018-01-22 09:47 <pokoli> LordVan: indeed we improved performance for large files some time ago: https://bugs.tryton.org/issue5237
2018-01-22 09:49 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-22 09:58 <cedk> LordVan: why not just use http links?
2018-01-22 09:58 <LordVan> cedk, yeah I was just thinking that putting all those files in there is not going to work
2018-01-22 09:58 <cedk> LordVan: you store them on a webserver and just put a link action that point to it
2018-01-22 09:58 <LordVan> especially with inter-part links
2018-01-22 09:59 <LordVan> although I'd be more inclined to store the network share paths
2018-01-22 09:59 <LordVan> than go through http
2018-01-22 09:59 <LordVan> is there a "defineD" way to link to (windows) network share paths?
2018-01-22 09:59 <LordVan> or just add a field with the path and leave it to the client to open it
2018-01-22 10:00 <cedk> LordVan: we only have URL but I think there is a URL schema for windows share
2018-01-22 10:00 <LordVan> smbfs:// works on linux not sure about windows
2018-01-22 10:00 <LordVan> but i will check
2018-01-22 10:01 <LordVan> Ideally I could also automatically copy the relevant files from a library location to the current folder when creating production documents
2018-01-22 10:05 <LordVan> cedk, it is file://<host>/<share+path>
2018-01-22 10:05 <LordVan> like file://server/data/blah
2018-01-22 10:05 <LordVan> not sure how the desktop application will handle it but with the browser there might be cross-scripting permisison issues ^^
2018-01-22 10:06 <cedk> LordVan: why? it is link opening a new link
2018-01-22 10:07 <cedk> indeed I think you can create a wizard that return an URL action which point to the right path depending on the production order
2018-01-22 10:07 <cedk> this wizard could be registered as a form_print so it will look like a generated Tryton report (but it will not)
2018-01-22 10:07 <LordVan> cedk, i mean what they are talking about on this: https://stackoverflow.com/questions/5796215/an-url-to-a-windows-shared-folder
2018-01-22 10:08 <LordVan> if in a browser you link to a file:// link from a http page (on a different server) by default it would block it these days
2018-01-22 10:08 <LordVan> i had this problme with something else before
2018-01-22 10:08 <LordVan> but anyway i intend to mostly use the desktop application anyway
2018-01-22 10:09 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-22 10:09 <cedk> LordVan: so it is probably better to put a simple webserver on it
2018-01-22 10:10 <LordVan> that aside .. how can I enter an URL for an article/variant ? i can'T find it .. or is it as attribute or something?
2018-01-22 10:10 <cedk> LordVan: you have to create the field or construct it
2018-01-22 10:11 <LordVan> cedk, I will think about what is most useful, but I still would need to copy it from that source to the current network path
2018-01-22 10:11 <LordVan> cedk, ah ok thanks
2018-01-22 10:11 <LordVan> thought i was just missing something
2018-01-22 10:12 <LordVan> But i guess if that process involves a copy or a download from a http source doesn'T really matter
2018-01-22 10:22 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2018-01-22 10:43 <cedk> LordVan: I think you should try to avoid any copy/duplication
2018-01-22 10:44 <LordVan> cedk, i would like to, but i think in the case of how our workflow works (at the moment) duplication is not avoidable (unfortunately)
2018-01-22 10:45 <LordVan> i am trying to change that too, but that requires quite some changes there too
2018-01-22 10:48 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 11:00 -!- swayf(~swayf@ipbcc14f49.dynamic.kabel-deutschland.de) has joined #tryton
2018-01-22 11:51 <LordVan> maybe i can do that in one go when I implement tryton, but that is a lot of work so ..
2018-01-22 11:51 <LordVan> will see i guess
2018-01-22 11:54 <LordVan> something 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?
2018-01-22 11:55 <LordVan> The customer number format used at the moment is 20<number of letter in alphabet>-<4 digit incremental>
2018-01-22 11:55 <LordVan> it is like this for (historical) bookkeeping reasons
2018-01-22 11:56 <LordVan> the main "problem" I see is that there are some special customer numbers, which is used for various (mostly one-off) customers
2018-01-22 11:56 <LordVan> does the code have to be unique?
2018-01-22 11:57 <pokoli> LordVan: yes code have to be unique: http://hg.tryton.org/modules/party/file/a767b93f291f/party.py#l83
2018-01-22 11:58 <pokoli> LordVan: if you want to use the same numeration, you can customize the party sequence to include you prefix
2018-01-22 11:59 <LordVan> yes
2018-01-22 11:59 <LordVan> pokoli, to be honest i am not keen at all about that numbering scheme anyway
2018-01-22 11:59 <LordVan> cuz if a company changes name you have to change the customer number
2018-01-22 11:59 <LordVan> cuz it includes the first letter of the name in the prefix
2018-01-22 11:59 <LordVan> which imho is not needed anymore nowadays
2018-01-22 11:59 <LordVan> (was different back in the day when bookkeeping was mostly on paper ^^)
2018-01-22 12:00 <LordVan> pokoli, 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 imagine
2018-01-22 12:01 <LordVan> anyway afk for lunch now back later ;)
2018-01-22 12:01 -!- mariomop(~quassel@181.94.37.77) has joined #tryton
2018-01-22 12:02 <cedk> LordVan: you can store the legacy number as a party identifier
2018-01-22 12:56 -!- thaneor(~ldlc6@r167-56-173-9.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-01-22 13:11 <LordVan> cedk, yes that is what i was thinking
2018-01-22 13:14 <LordVan> basically some legacy/bookkeeping number field and one for tryton internally with just incrementing numbers
2018-01-22 13:37 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 13:48 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 15:09 -!- _2cadz_(~2cadz@212-198-245-154.rev.numericable.fr) has joined #tryton
2018-01-22 15:20 -!- csotelo(~csotelo@179.43.97.56) has joined #tryton
2018-01-22 15:47 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2018-01-22 15:49 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 16:32 -!- thaneor1(~ldlc6@r179-25-33-113.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-01-22 16:46 -!- xcodinas(~xcodinas@134.ip-5-196-28.eu) has joined #tryton
2018-01-22 17:00 -!- JanGB1(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-22 17:11 -!- cdchapman(~perturbed@73.98.169.183) has joined #tryton
2018-01-22 17:17 -!- lukio(~lukio@200.68.72.41) has joined #tryton
2018-01-22 17:19 -!- _2cadz_(~2cadz@82.64.14.213) has joined #tryton
2018-01-22 17:20 -!- _2cadz_(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton
2018-01-22 17:21 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 17:37 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-22 17:39 -!- csotelo(~csotelo@179.43.97.56) has joined #tryton
2018-01-22 17:56 -!- udono1(~udono@013-059-210-188.ip-addr.inexio.net) has joined #tryton
2018-01-22 18:10 -!- zmijunkie(~Adium@i577B31DC.versanet.de) has joined #tryton
2018-01-22 18:18 -!- JanGB(~jan@ipservice-092-216-127-053.092.216.pools.vodafone-ip.de) has joined #tryton
2018-01-22 19:02 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2018-01-22 19:13 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-01-22 20:36 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 21:16 -!- zmijunkie(~Adium@i577B31DC.versanet.de) has joined #tryton
2018-01-22 21:50 <lukio> Hi, 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 !
2018-01-22 22:00 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2018-01-22 22:07 -!- zmijunkie(~Adium@i577B31DC.versanet.de) has joined #tryton
2018-01-22 22:22 -!- JanGB(~jan@ipservice-092-216-127-053.092.216.pools.vodafone-ip.de) has joined #tryton
2018-01-22 22:35 -!- lukio(~lukio@200.68.72.41) has left #tryton
2018-01-22 22:39 -!- catonano(~user@151.50.135.221) has joined #tryton
2018-01-22 22:50 -!- orphean(~Orphean@31.192.224.224) has joined #tryton
2018-01-22 22:57 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton
2018-01-22 23:57 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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