chat.freenode.net #tryton log beginning Thu Jul 26 00:00:01 CEST 2018 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:58 | |
-!- thaneor1(~lenovo3@179.26.16.57) has joined #tryton | 01:15 | |
-!- csotelo(~csotelo@2800:4b0:8401:13b7:a796:b935:5b7f:9bf1) has joined #tryton | 02:11 | |
-!- yangoon(~mathiasb@i59F4AF10.versanet.de) has joined #tryton | 02:40 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 04:50 | |
-!- notizblock(~notizbloc@nblock.org) has joined #tryton | 05:14 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 05:37 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:10 | |
-!- smorillo(4de166a0@gateway/web/cgi-irc/kiwiirc.com/ip.77.225.102.160) has joined #tryton | 06:45 | |
-!- smorillo(4de166a0@gateway/web/cgi-irc/kiwiirc.com/ip.77.225.102.160) has joined #tryton | 07:30 | |
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton | 07:33 | |
-!- notizblock(~notizbloc@nblock.org) has joined #tryton | 09:19 | |
-!- lukio(~lukio@host232.186-124-164.telecom.net.ar) has joined #tryton | 09:51 | |
-!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton | 10:11 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has left #tryton | 10:18 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 10:19 | |
-!- thaneor(~lenovo3@179.26.16.57) has joined #tryton | 10:39 | |
-!- csotelo(~csotelo@2800:4b0:8401:13b7:a796:b935:5b7f:9bf1) has joined #tryton | 10:54 | |
-!- thaneor(~lenovo3@179.26.16.57) has joined #tryton | 11:14 | |
-!- mariomop(~quassel@host188.190-137-72.telecom.net.ar) has joined #tryton | 11:16 | |
-!- Tesla42(~stefan@helme-3.informatik.tu-chemnitz.de) has joined #tryton | 11:44 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 12:00 | |
jcm | hi, 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 |
---|---|---|
pokoli | jcm: for me the docs are pretty clear: http://doc.tryton.org/4.8/modules/stock_inventory_location/doc/index.html | 12:14 |
jcm | Seems 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 wizard | 12:15 |
cedk | jcm: you do not make inventory on supplier locations, they are virtual | 12:15 |
jcm | cedk: I need to do some... and it seems to work correctly when done one by one | 12:16 |
cedk | jcm: it is not allowed to make inventory on other location than 'storage' | 12:17 |
jcm | er... it works well, I have plenty of them | 12:17 |
jcm | how should I populate my locations without an inventory? | 12:18 |
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton | 12:18 | |
cedk | jcm: I do not understand what you are talking about | 12:19 |
cedk | but it is forbidden to make inventory on location of any other type then 'storage' | 12:19 |
cedk | if you can then you have custom code that breaks Tryton | 12:20 |
jcm | no line of custom code on stock, I do New Inventory on a location with type Supplier and add products and quantities | 12:20 |
cedk | jcm: it is not possible: http://hg.tryton.org/modules/stock/file/default/inventory.py#l30 | 12:21 |
pokoli | cedk: did you thought about adding a requirements.txt file on the new tryton-env repository with all the development dependencies? | 12:26 |
jcm | cedk: just did one more to retest, it work | 12:27 |
cedk | pokoli: this is not the purpose of requirements.txt | 12:28 |
cedk | pokoli: requirements.txt is for reproducible deployment | 12:29 |
cedk | pokoli: 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 pip | 12:31 |
pokoli | cedk: ok, I will have a look because I'm creating a new environment and I did not remember all the required dependencies | 12:32 |
Timitos | pokoli: why dont you do a "pip -e" on trytond and all modules? | 12:33 |
pokoli | Timitos: i only do it for trytond, which makes all the modules available | 12:34 |
Timitos | i think to have a tool that does it for the modules too would be a good idea | 12:35 |
-!- lukio(~lukio@190.191.95.243) has joined #tryton | 13:05 | |
-!- JanGB(~jan@x2f7fa7f.dyn.telefonica.de) has joined #tryton | 13:15 | |
-!- thaneor(~lenovo3@179.26.11.116) has joined #tryton | 13:18 | |
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton | 13:34 | |
cedk | Timitos: develop installation avoid clone/share as branching or you have to create a new venv each time | 13:42 |
jcm | cedk: just redone on demo4.6.tryton.org : created a Supllier type location named "Supplier consignment" ; created an inventory on this location. | 13:42 |
Timitos | cedk: i dont understand what you want to say | 13:45 |
cedk | jcm: indeed it is allowed by stock_consignment to make inventory for consignemt location of supplier | 13:46 |
cedk | Timitos: if you install the packages, you can not use code from another location | 13:47 |
-!- lukio(~lukio@190.191.95.243) has joined #tryton | 13:47 | |
jcm | cedk: 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 |
Timitos | cedk: why would i need that? only to prevent redundancy? | 13:51 |
Timitos | if we talk about a tool to ease the creation of a dev environment i think we should keep it simple | 13:51 |
-!- csotelo(~csotelo@179.43.97.56) has joined #tryton | 13:55 | |
-!- smorillo(250f6795@gateway/web/cgi-irc/kiwiirc.com/ip.37.15.103.149) has joined #tryton | 13:59 | |
cedk | Timitos: agree but not at the cost of duplication and inconsistency | 14:02 |
Timitos | cedk: why inconsistency? | 14:03 |
cedk | jcm: You populate location with shipments | 14:04 |
cedk | Timitos: we must not duplicate depenency declaration | 14:04 |
cedk | jcm: inventory is only for correction | 14:04 |
Timitos | cedk: how does "pip install -e" duplicate dependency declaration? | 14:05 |
cedk | jcm: and yes it will be good that stock_consignment extend stock_inventory_location to support supplier in this case | 14:05 |
cedk | also stock_consignment will be better if it allow inventory on supplier location that are under a storage location | 14:06 |
cedk | Timitos: it does not but I do not call that a solution for development | 14:06 |
cedk | Timitos: it is just installing the package | 14:06 |
cedk | and so it prevent to work with filesystem branch | 14:06 |
Timitos | cedk: 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 correct | 14:08 |
Timitos | i 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 code | 14:11 |
cedk | Timitos: I install manually the missing dependencies | 14:14 |
-!- JanGB(~jan@x2f7fa7f.dyn.telefonica.de) has left #tryton | 14:47 | |
-!- lukio(~lukio@190.191.95.243) has joined #tryton | 15:04 | |
-!- JanGB(~jan@x2f7f8a6.dyn.telefonica.de) has joined #tryton | 15:51 | |
-!- lukio(~lukio@190.191.219.148) has joined #tryton | 16:21 | |
-!- jcm(~jcm@78.194.214.115) has joined #tryton | 16:30 | |
-!- JanGB(~jan@x2f7fbea.dyn.telefonica.de) has joined #tryton | 16:46 | |
-!- lukio(~lukio@190.191.95.243) has joined #tryton | 17:13 | |
-!- JanGB(~jan@x2f7f97a.dyn.telefonica.de) has joined #tryton | 17:24 | |
-!- Tesla42(~stefan@2a02:810a:8c0:987e:60ef:7520:ebe4:6d64) has joined #tryton | 18:18 | |
-!- lucascastro(~lucas@200.141.207.18) has joined #tryton | 18:44 | |
-!- csotelo(~csotelo@2800:4b0:8400:b65b:5e0:cd79:5d8d:5c43) has joined #tryton | 19:27 | |
lucascastro | Hello, I'm getting problem on translation, I set the language but the application keep in English language. | 19:37 |
cedk | lucascastro: you must update all the modules after activated a language | 19:44 |
lucascastro | cedk: Thanks. I'll try right now. | 19:47 |
lucascastro | really Thanks, worked fine. | 19:49 |
cedk | lucascastro: the best is to use trytond-admin with the option -l and --all | 19:57 |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 20:00 | |
lucascastro | cedk: I've used trytond-admin | 20:06 |
cedk | lucascastro: the command is described in http://doc.tryton.org/4.8/trytond/doc/topics/setup_database.html#update-a-database | 20:09 |
lucascastro | I 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 #tryton | 20:26 | |
-!- Tesla42(~stefan@x2f7f9f0.dyn.telefonica.de) has joined #tryton | 21:51 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21:58 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!