IRC logs of #tryton for Thursday, 2018-07-26

chat.freenode.net #tryton log beginning Thu Jul 26 00:00:01 CEST 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:58
-!- thaneor1(~lenovo3@179.26.16.57) has joined #tryton01:15
-!- csotelo(~csotelo@2800:4b0:8401:13b7:a796:b935:5b7f:9bf1) has joined #tryton02:11
-!- yangoon(~mathiasb@i59F4AF10.versanet.de) has joined #tryton02:40
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton04:50
-!- notizblock(~notizbloc@nblock.org) has joined #tryton05:14
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:10
-!- smorillo(4de166a0@gateway/web/cgi-irc/kiwiirc.com/ip.77.225.102.160) has joined #tryton06:45
-!- smorillo(4de166a0@gateway/web/cgi-irc/kiwiirc.com/ip.77.225.102.160) has joined #tryton07:30
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton07:33
-!- notizblock(~notizbloc@nblock.org) has joined #tryton09:19
-!- lukio(~lukio@host232.186-124-164.telecom.net.ar) has joined #tryton09:51
-!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton10:11
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has left #tryton10:18
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton10:19
-!- thaneor(~lenovo3@179.26.16.57) has joined #tryton10:39
-!- csotelo(~csotelo@2800:4b0:8401:13b7:a796:b935:5b7f:9bf1) has joined #tryton10:54
-!- thaneor(~lenovo3@179.26.16.57) has joined #tryton11:14
-!- mariomop(~quassel@host188.190-137-72.telecom.net.ar) has joined #tryton11:16
-!- Tesla42(~stefan@helme-3.informatik.tu-chemnitz.de) has joined #tryton11:44
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton12:00
jcmhi, I don't understand the specificity of Stock Inventory Location Module. Seems it does the same as creating a new inventory, but with a domain limiting to Storage.12:12
pokolijcm: for me the docs are pretty clear: http://doc.tryton.org/4.8/modules/stock_inventory_location/doc/index.html12:14
jcmSeems it allows to inventory many locations together. But why limit to Storage ? I have many Supplier locations that I can access only by creating an inventory without the wizard12:15
cedkjcm: you do not make inventory on supplier locations, they are virtual12:15
jcmcedk: I need to do some... and it seems to work correctly when done one by one12:16
cedkjcm: it is not allowed to make inventory on other location than 'storage'12:17
jcmer... it works well, I have plenty of them12:17
jcmhow should I populate my locations without an inventory?12:18
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton12:18
cedkjcm: I do not understand what you are talking about12:19
cedkbut it is forbidden to make inventory on location of any other type then 'storage'12:19
cedkif you can then you have custom code that breaks Tryton12:20
jcmno line of custom code on stock, I do New Inventory on a location with type Supplier and add products and quantities12:20
cedkjcm: it is not possible: http://hg.tryton.org/modules/stock/file/default/inventory.py#l3012:21
pokolicedk: did you thought about adding a requirements.txt file on the new tryton-env repository with all the development dependencies?12:26
jcmcedk: just did one more to retest, it work12:27
cedkpokoli: this is not the purpose of requirements.txt12:28
cedkpokoli: requirements.txt is for reproducible deployment12:29
cedkpokoli: but I will not be against a tool/hook that extract dependencies of all setup and generate a requirements.txt or something that can be used with pip12:31
pokolicedk: ok, I will have a look because I'm creating a new environment and I did not remember all the required dependencies12:32
Timitospokoli: why dont you do a "pip -e" on trytond and all modules?12:33
pokoliTimitos: i only do it for trytond, which makes all the modules available12:34
Timitosi think to have a tool that does it for the modules too would be a good idea12:35
-!- lukio(~lukio@190.191.95.243) has joined #tryton13:05
-!- JanGB(~jan@x2f7fa7f.dyn.telefonica.de) has joined #tryton13:15
-!- thaneor(~lenovo3@179.26.11.116) has joined #tryton13:18
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton13:34
cedkTimitos: develop installation avoid clone/share as branching or you have to create a new venv each time13:42
jcmcedk: just redone on demo4.6.tryton.org : created a Supllier type location named "Supplier consignment" ; created an inventory on this location.13:42
Timitoscedk: i dont understand what you want to say13:45
cedkjcm: indeed it is allowed by stock_consignment to make inventory for consignemt location of supplier13:46
cedkTimitos: if you install the packages, you can not use code from another location13:47
-!- lukio(~lukio@190.191.95.243) has joined #tryton13:47
jcmcedk: so is it a bad idea to do this? how to populate new locations in another way? and is it normal that the Stock Inventory Location modules filters on "storage" type when Consignment is activated?13:48
Timitoscedk: why would i need that? only to prevent redundancy?13:51
Timitosif we talk about a tool to ease the creation of a dev environment i think we should keep it simple13:51
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton13:55
-!- smorillo(250f6795@gateway/web/cgi-irc/kiwiirc.com/ip.37.15.103.149) has joined #tryton13:59
cedkTimitos: agree but not at the cost of duplication and inconsistency14:02
Timitoscedk: why inconsistency?14:03
cedkjcm: You populate location with shipments14:04
cedkTimitos: we must not duplicate depenency declaration14:04
cedkjcm: inventory is only for correction14:04
Timitoscedk: how does "pip install -e" duplicate dependency declaration?14:05
cedkjcm: and yes it will be good that stock_consignment extend stock_inventory_location to support supplier in this case14:05
cedkalso stock_consignment will be better if it allow inventory on supplier location that are under a storage location14:06
cedkTimitos: it does not but I do not call that a solution for development14:06
cedkTimitos: it is just installing the package14:06
cedkand so it prevent to work with filesystem branch14:06
Timitoscedk: so how do you manage the dependencies in your venvs? i asume that you have at least one per branch if i understood your environment correct14:08
Timitosi also did some research lately about reading dependencies from setup.py. in the python libraries there is no funtionality to do this. so it would need custom code14:11
cedkTimitos: I install manually the missing dependencies14:14
-!- JanGB(~jan@x2f7fa7f.dyn.telefonica.de) has left #tryton14:47
-!- lukio(~lukio@190.191.95.243) has joined #tryton15:04
-!- JanGB(~jan@x2f7f8a6.dyn.telefonica.de) has joined #tryton15:51
-!- lukio(~lukio@190.191.219.148) has joined #tryton16:21
-!- jcm(~jcm@78.194.214.115) has joined #tryton16:30
-!- JanGB(~jan@x2f7fbea.dyn.telefonica.de) has joined #tryton16:46
-!- lukio(~lukio@190.191.95.243) has joined #tryton17:13
-!- JanGB(~jan@x2f7f97a.dyn.telefonica.de) has joined #tryton17:24
-!- Tesla42(~stefan@2a02:810a:8c0:987e:60ef:7520:ebe4:6d64) has joined #tryton18:18
-!- lucascastro(~lucas@200.141.207.18) has joined #tryton18:44
-!- csotelo(~csotelo@2800:4b0:8400:b65b:5e0:cd79:5d8d:5c43) has joined #tryton19:27
lucascastroHello, I'm getting problem on translation, I set the language but the application keep in English language.19:37
cedklucascastro: you must update all the modules after activated a language19:44
lucascastrocedk: Thanks. I'll try right now.19:47
lucascastroreally Thanks, worked fine.19:49
cedklucascastro: the best is to use trytond-admin with the option -l and --all19:57
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:00
lucascastrocedk: I've used trytond-admin20:06
cedklucascastro: the command is described in http://doc.tryton.org/4.8/trytond/doc/topics/setup_database.html#update-a-database20:09
lucascastroI was already using it, I was just lost about translation and I hadn't found anything about it.20:11
-!- csotelo(~csotelo@161.132.199.41) has joined #tryton20:26
-!- Tesla42(~stefan@x2f7f9f0.dyn.telefonica.de) has joined #tryton21:51
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:58

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