IRC logs of #tryton for Wednesday, 2013-04-24 #tryton log beginning Wed Apr 24 00:00:02 CEST 2013
2013-04-24 07:33 <trytonnoob> Q: is there a way duplicate the records , after saving it, to another module?
2013-04-24 08:04 <nicoe> trytonnoob: I don't understand your question. .copy does not work for you ?
2013-04-24 08:08 <trytonnoob> nicoe: sorry for my bad english,, umm its like i have this 2 modules,, on module 1, after i save the records i have put in there, i need it to be saved also on module 2
2013-04-24 08:16 <nicoe> I still don't understand. Once you saved a record it is stored in the database, you can then access it from another module (look for example how the sale module use the product module)
2013-04-24 08:43 <trytonnoob> nicoe: its like, when i save the record, it will also be saved at the second module at the same time.. i dont know if tryton have that capability, as of now im working my way overiding the 'create/write' to make it also save to the 2nd-modules table, (module 1 and 2 got different tables assigned to them, sorry again trying my best to express my self here)
2013-04-24 08:49 <nicoe> trytonnoob: duplicating data is not a good idea. Why do you want to do that.
2013-04-24 09:51 -!- giovanni( has left #tryton
2013-04-24 10:37 <iamnoob> nicoe: its because i got this module for incoming product transfers, after the record has beens save, i need to add the same recored to the Inventory records
2013-04-24 11:06 <nicoe> iamnoob: why don't you use the stock module and its concepts ?
2013-04-24 11:27 <iamnoob> nicoe: i like to, but my professor want me to make my own type of it, im doing this for my thesis.. soo im wondering if there something like that
2013-04-24 11:30 <nicoe> iamnoob: you use tryton for your thesis¸ cool … I am curious now in which school ?
2013-04-24 11:32 <nicoe> iamnoob: for your thesis: I think you should take a look at how the purchase module is plugged in the stock module to understand the tryton workflow and then design your own
2013-04-24 11:59 <iamnoob> nicoe: thanks will do that
2013-04-24 11:59 <iamnoob> nicoe: umm some not soo famouse school here in the philippines :)
2013-04-24 12:02 <corro> is there a way in Tryton 2.6 to show inactive records in a tree view? Back in 2.4 there was a default search "Active: False", but that does not work anymore.
2013-04-24 12:07 <pokoli> corro: that works on 2.6
2013-04-24 12:08 <pokoli> corro: in wich module are you appling the filter?
2013-04-24 12:09 <corro> pokoli: the list of menu entries. I've disabled the 'Party' menu entry and now I'm unable to find it again
2013-04-24 12:10 <corro> pokoli: you're right, in the product tree view it works as always
2013-04-24 12:10 <pokoli> corro: the tree view must have the active field and invisible
2013-04-24 12:11 <pokoli> corro: and that field is not defined on the menu tree view
2013-04-24 12:11 <corro> pokoli: neither is it on the product tree view, but there it works
2013-04-24 12:13 <corro> pokoli: ah, now I see: it IS defined on the product tree view, but the field is set to tree_invisible = True
2013-04-24 12:13 <pokoli> corro: correct, that's the reason why it apears on the search view
2013-04-24 12:14 <pokoli> corro: for a fast fix, you must inherit menu view adding the active field
2013-04-24 12:14 <pokoli> corro: but for me is a bug and should be fixed on core
2013-04-24 12:14 <pokoli> s/on/in/
2013-04-24 12:15 <corro> pokoli: yes, I'll open a bug report
2013-04-24 12:15 <corro> pokoli: thanks for the assistance
2013-04-24 12:16 <pokoli> corro: would you provide a patch for this?
2013-04-24 12:16 <corro> pokoli: sure
2013-04-24 12:17 <pokoli> corro: perfect. I wanna tell you that if you wouldn't provide the patch i would provide it for you :)
2013-04-24 12:19 <corro> pokoli: I'm a developer myself, just getting accustomed to 2.6. I can handle the task ;)
2013-04-24 16:28 <smarro> corro: pokoli: it's fixed on 2.8
2013-04-24 16:29 <pokoli> smarro: thanks for the comment. I will try to upgrade to 2.8 this weekend :)
2013-04-24 16:30 <corro> smarro: you sure? as far as I see, the field is still missing in my fresh working copy
2013-04-24 16:32 <smarro> corro: you are talking about the active field in party?
2013-04-24 16:32 <corro> smarro: no, about the active field in
2013-04-24 16:33 <smarro> corro: sorry...
2013-04-24 16:33 <corro> smarro: the menu entry I disabled just happened to be the one from party :)
2013-04-24 16:34 <smarro> corro: ah, ok :)
2013-04-24 17:10 <b0r7> what does 'ir' stand for (ir module).. im guessing interface relation or ..
2013-04-24 17:12 <b0r7> simply 'interface'
2013-04-24 17:16 <Pilou> It's not known, this comes from tinyerp (i bet "internal ressources").
2013-04-24 17:17 <b0r7> and 'res' ??
2013-04-24 17:17 <b0r7> ahh resources
2013-04-24 17:20 <b0r7> is there a way to get a most detailed log file of whats tryton doing .. e.g. set a different log level of tryton server..
2013-04-24 17:21 <b0r7> im trying to get a hello world module going but it wont 'install' (tryton 2.8)..
2013-04-24 17:21 <b0r7> but having trouble finding out what i am missing..
2013-04-24 17:22 <b0r7> im trying to look at other modules learning what it needs to have in it.. but well obviously missing something
2013-04-24 17:23 <b0r7> i believe i have read most docs in files and on wiki etc.. but am stuck atm
2013-04-24 17:28 <Pilou> b0r7: Is your new module listed in the 'Modules' view (See Administration/Modules/Modules) ?
2013-04-24 17:29 <b0r7> Pilou: yes. i can mark it for install but it will stay this way after 'performing pending upgrades'
2013-04-24 17:30 <b0r7> maybe ill but it up at pastebin.. one second
2013-04-24 17:38 <b0r7>
2013-04-24 17:54 <b0r7> i commented the pastebin in case google picks it up.. in the mailing list i saw some interest in a helloworld explanation..
2013-04-24 17:55 <jeancavallo> b0r7: in, remove Hello() and add __all__ = ['Hello'] just under your imports
2013-04-24 18:01 <Pilou> b0r7: in xml file, remove "icon" attribute from "menuitem" tag (or use an existent icon).
2013-04-24 18:01 <b0r7> jeancavallo: thank you. put it still wont install (staying and 'To be installed')
2013-04-24 18:04 <jeancavallo> b0r7: You can try removing the tryton version info in your tryton.cfg, though I am not sure it will help
2013-04-24 18:05 <Pilou> it won't help
2013-04-24 18:06 <b0r7> tryied removing icon (helloworld.xml) and removing version number (tryton.cfg).. still the same
2013-04-24 18:08 <b0r7> thanks so far .. im updating the pastebin and go over 'meditate' over dashboard module.. maybe itl help
2013-04-24 18:09 <udono> b0r7: hi, try res in depends
2013-04-24 18:09 <udono> like:
2013-04-24 18:09 <udono> depends:
2013-04-24 18:09 <udono> ir
2013-04-24 18:09 <udono> res
2013-04-24 18:11 <b0r7> udono: thank you: still not showing up or installing
2013-04-24 18:13 <udono> b0r7: did you restart trytond -u all -d <database_name>
2013-04-24 18:13 <b0r7> i did not.. bit will now
2013-04-24 18:15 <b0r7> udono: that was probably it.. i did not realised restarting the server would be necessary.. cool!
2013-04-24 18:16 <udono> b0r7: Yes and an external module for Tryton must depend on ir and res at least.
2013-04-24 18:17 <b0r7> son one has to restart the server after change of code.. or once it is intalled one can use the dev mode in the client?
2013-04-24 18:20 <jeancavallo> b0r7: Not necessarily. If you change code that does not impact the DB (like adding a new non-function field), the server should automatically reload the file.
2013-04-24 18:25 <rpit> Hi, I'm trying to import invoices and need the account m2o-field. But the name of the account isn't unique. What's best practise to import such a record?
2013-04-24 18:28 <b0r7> im thinking of progressing further with the helloworld and document my 'findings' can anyone contribute to the googel wiki?
2013-04-24 18:28 <b0r7> can = could
2013-04-24 18:29 <b0r7> ah.. i see it now.. the button for editing i mean
2013-04-24 18:29 <udono> b0r7: you can send cedk your google email address. He is able to give you editing permissions.
2013-04-24 18:30 <udono> rpit: sounds strange: the name of the account isn't unique. What does it mean?
2013-04-24 18:34 <Pilou> b0r7: there is another sample, the training module
2013-04-24 18:35 <jeancavallo> b0r7: 2.8 just came out, but most of 2.6 resources should be reliable as no major changes occured in the basic server APIs
2013-04-24 18:36 <b0r7> Pilou: thanks, i didn't know that one
2013-04-24 18:37 <rpit> udono: account 1400 in skr03. It's name is also used in it's group. On import you get the error message "Zu viele Beziehungen gefunden..."
2013-04-24 18:37 <udono> rpit: You can try to add type != 'view'
2013-04-24 18:38 <udono> rpit: in the domain
2013-04-24 18:39 <b0r7> jeyncavallo: yeah.. and the overall 'search' thingy is really cool feature! and i think i saw that the CDATA elements in xmls are gone?
2013-04-24 18:39 <b0r7> but i could be mistaken
2013-04-24 18:39 <rpit> udono: At this point Tryton don't use the domain. It's before. The domain is filled with 'kind' and then it would be the only account.
2013-04-24 19:02 <rpit> I found it. One can search with 'rec_name' and that's is not the rec name 'code + name', it's just the code.

Generated by 2.17.3 by Marius Gedminas - find it at!