chat.freenode.net #tryton log beginning Fri Jan 23 00:00:01 CET 2015 | ||
2015-01-23 00:34 -!- digitalsatori(~Thunderbi@101.87.135.73) has joined #tryton | ||
2015-01-23 06:01 -!- yangoon1(~mathiasb@p549F3043.dip0.t-ipconnect.de) has joined #tryton | ||
2015-01-23 07:14 -!- marius__(~marius@v100.nfq.lt) has joined #tryton | ||
2015-01-23 08:01 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton | ||
2015-01-23 08:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-01-23 09:15 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2015-01-23 09:15 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton | ||
2015-01-23 09:48 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton | ||
2015-01-23 10:07 -!- digitalsatori(~Thunderbi@101.87.135.73) has joined #tryton | ||
2015-01-23 10:22 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-01-23 10:27 <pobsteta> in a class A I attribute x One2Many. How to recover when creating a new enregistrment x, the id of the class A? | ||
2015-01-23 10:44 <pokoli> pobsteta: the value will be assigned to the target field | ||
2015-01-23 10:54 <pobsteta> pokoli: yes i know, it will be assigned when you click on save button, but i want have this value before click, when the record is created ? | ||
2015-01-23 10:55 <pokoli> pobsteta: on the client side? and what do you want to do with this value? | ||
2015-01-23 10:57 <pobsteta> pokoli: yes on the client side. I want to know on create the len of x attribute ? | ||
2015-01-23 11:00 <pokoli> pobsteta: just make your function field an on_change_with_one2many field and will be updated every time the one2many is changed | ||
2015-01-23 11:01 <pobsteta> pokoli: it will be updated on change, but not on create ? | ||
2015-01-23 11:02 <pokoli> pobsteta: assign a default value of 0 | ||
2015-01-23 11:27 <pobsteta> pokoli: have you an example ? For me it don't work ! | ||
2015-01-23 11:29 <pokoli> pobsteta: can you upload your code? | ||
2015-01-23 11:35 <pobsteta> pokoli: i want to konw, when i create a new evolution, how many evolution exist ! http://pastebin.com/8R0j6BBa | ||
2015-01-23 11:40 <pokoli> pobsteta: it should be something like this http://pastebin.com/s053DVHB | ||
2015-01-23 11:48 <pobsteta> pokoli: it's ok but i want the number_of_evolutions attribute not in emplacement class but in evol_emplacement ? | ||
2015-01-23 11:50 -!- kstenger(~karla@200.124.209.158) has joined #tryton | ||
2015-01-23 11:50 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton | ||
2015-01-23 11:51 <pokoli> pobsteta: you can access them from the evolutions if you want, but it's an attribute of emplacement :) | ||
2015-01-23 11:56 <Hamsterbau> is it possible to change localization of a module "on the fly"? | ||
2015-01-23 11:57 <Hamsterbau> i tried by changing locale file but nothing happens :(( | ||
2015-01-23 11:59 <pobsteta> pokoli: i work with tryton 2.8, @fields.depends('evolution') don't work ? | ||
2015-01-23 11:59 <pokoli> Hamsterbau: locale file is imported into ir.translation model. Can you explain what you are trying? it sounds a little bit strange | ||
2015-01-23 11:59 <pokoli> pobsteta: sorry, it's 3.4 code, you have to fill the depends attribute on de field, | ||
2015-01-23 12:02 -!- senchan(2eea5104@gateway/web/freenode/ip.46.234.81.4) has joined #tryton | ||
2015-01-23 12:02 <senchan> hello to all | ||
2015-01-23 12:02 <Hamsterbau> i want to add a missing translation of a module :) | ||
2015-01-23 12:03 <Hamsterbau> just try to change some localizations locally on my tryton server :D | ||
2015-01-23 12:03 <Hamsterbau> GOOOOOOOOODMORNING VIIIIEEEETNAAAAAM ;D | ||
2015-01-23 12:05 <senchan> anyone here have experience with nereid? | ||
2015-01-23 12:05 -!- mariomop(~quassel@host188.186-108-167.telecom.net.ar) has joined #tryton | ||
2015-01-23 12:10 <cedk> Hamsterbau: http://code.google.com/p/tryton/wiki/HowtoTranslate | ||
2015-01-23 12:13 <Hamsterbau> i tried to call "Update localizations" from the client, without success - now i will try to update the changed module :) | ||
2015-01-23 12:17 <pokoli> senchan: a little bit experience here :) | ||
2015-01-23 12:21 <cedk> senchan: I got for flask-tryton | ||
2015-01-23 12:32 <senchan> sorry went for breakfast :D I've seen someone make a webshop with nereid...we wanna make something similar, but with partner access...is there a limit to the number of users that can manage their own products on our service? I hope question is not too nooby | ||
2015-01-23 12:33 <senchan> since I got the idea the ERP part is only for internal use (inside a company)...this would be more external | ||
2015-01-23 12:35 <pokoli> senchan: you should have a look at https://github.com/openlabs/nereid-webshop | ||
2015-01-23 12:36 <pokoli> senchan: and for the partner part i don't know anything existing, so you should develop it, so you put the limits you want (or None) | ||
2015-01-23 12:36 <senchan> oh yes..cool, so we should basdically build a new tryton module that shows only certain information, etc, right? | ||
2015-01-23 12:37 <pokoli> senchan: you should adapt nereid-webshop to your needs, customize templates, and then develop the partner accesss part with your needs | ||
2015-01-23 12:38 <pokoli> senchan: and the same can be done with flask-tryton if you want | ||
2015-01-23 12:38 <senchan> thanks pokoli, this will be very helpful | ||
2015-01-23 12:39 <pokoli> senchan: you're welcome. Feel free to ask if you have more doubts, we will try to help as much as possible | ||
2015-01-23 12:39 <senchan> much obliged | ||
2015-01-23 12:47 -!- udono(~udono@p50938317.dip0.t-ipconnect.de) has joined #tryton | ||
2015-01-23 13:40 -!- lfm(~meanmicio@252.red-80-28-208.adsl.static.ccgg.telefonica.net) has joined #tryton | ||
2015-01-23 13:40 -!- lfm(~meanmicio@252.red-80-28-208.adsl.static.ccgg.telefonica.net) has left #tryton | ||
2015-01-23 13:40 -!- lfm(~meanmicio@252.red-80-28-208.adsl.static.ccgg.telefonica.net) has joined #tryton | ||
2015-01-23 13:41 -!- lfm(~meanmicio@252.red-80-28-208.adsl.static.ccgg.telefonica.net) has left #tryton | ||
2015-01-23 13:46 <pobsteta> pokoli: thanks, it's ok ! But now i want when i create a new evol_emplacement, that the number_of_evolutions was a default attribute of evol_emplacement ? | ||
2015-01-23 13:47 <pokoli> pobsteta: don't understand | ||
2015-01-23 13:53 <pobsteta> pokoli: just look at this pastebin http://pastebin.com/G9h85QxU, compteur attribute don't work naturally ? | ||
2015-01-23 13:55 -!- lfm(~meanmicio@252.red-80-28-208.adsl.static.ccgg.telefonica.net) has joined #tryton | ||
2015-01-23 14:02 <marius__> pobsteta, why would you write non-english text into code? | ||
2015-01-23 14:02 <pokoli> pobsteta: you want to save the number of records? | ||
2015-01-23 14:03 <pokoli> so first has a 1, second has a 2, and etc | ||
2015-01-23 14:03 <pokoli> pobsteta: what i will do is use a default value for it, that returns current number + 1 | ||
2015-01-23 14:04 <pokoli> pobsteta: to put current number, you have to put Eval('numer_of_components') in lines context, and return it from default value on lines | ||
2015-01-23 14:04 <pokoli> but maybe it's worth to find a generic solution for all models to avoid to save the values | ||
2015-01-23 14:07 <pobsteta> pokoli: yes i want save in each evol_emplacement the number of records for each emplacement when evol_emplacement is create ? | ||
2015-01-23 14:09 <pokoli> pobsteta: but what's the objective of this? | ||
2015-01-23 14:09 <pokoli> pobsteta: if you want to order them you can use a sequence | ||
2015-01-23 14:14 <pobsteta> pokoli: no it's not a sequence because the user can change the value, by default the value is the sequence of creation but not for all time ? | ||
2015-01-23 14:19 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton | ||
2015-01-23 14:24 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton | ||
2015-01-23 15:06 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton | ||
2015-01-23 15:06 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton | ||
2015-01-23 15:06 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton | ||
2015-01-23 15:07 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton | ||
2015-01-23 15:17 <pokoli> pobsteta: but what happens when the user changes de value? | ||
2015-01-23 15:18 <pokoli> pobsteta: you will order the xxx2Many based on that field? | ||
2015-01-23 15:28 <pobsteta> pokoli: i have an other attribute integer number_evolution2, and number_evolution2 = max(number_evolution, compteur) | ||
2015-01-23 15:31 <pokoli> pobsteta: why you want to attributes? | ||
2015-01-23 15:32 <pokoli> pobsteta: i'm just trying to understand which is the objective of this field | ||
2015-01-23 16:59 <pobsteta> pokoli: it's ok. I managed to do what I wanted | ||
2015-01-23 17:02 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton | ||
2015-01-23 17:04 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton | ||
2015-01-23 17:30 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton | ||
2015-01-23 18:59 -!- sunny_dealmeida(~quassel@203.115.76.29) has joined #tryton | ||
2015-01-23 19:03 -!- TheCowboy`(~TheCowboy@98.191.208.111) has joined #tryton | ||
2015-01-23 20:08 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton | ||
2015-01-23 20:29 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has left #tryton | ||
2015-01-23 20:59 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton | ||
2015-01-23 21:01 -!- jcros1(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton | ||
2015-01-23 21:17 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton | ||
2015-01-23 21:52 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton | ||
2015-01-23 22:06 -!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton | ||
2015-01-23 22:11 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has left #tryton | ||
2015-01-23 22:29 -!- plantian(~ian@174-134-217-28.res.bhn.net) has joined #tryton | ||
2015-01-23 23:00 -!- plantian(~ian@174-134-217-28.res.bhn.net) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!