chat.freenode.net #tryton log beginning Wed Feb 20 00:00:02 CET 2013 | ||
2013-02-20 02:27 <iamnoob> hi.. having a reference to *some module* not found problem .. on my .xml. but the one im tryong to put view_ids *its module is already installed.* | ||
2013-02-20 02:28 <iamnoob> hi.. having a reference to *some module* not found problem .. on my .xml. but the one im tryong to put in view_ids = *some view tree sequence* ,its module is already installed. how come it still cant see it? | ||
2013-02-20 02:31 <plantian> iamnoob: do you have that module listed in your tryton.cfg as a dependency? | ||
2013-02-20 02:33 <plantian> iamnoob: I'm not sure if that is relevant though, can you pastebin the traceback? | ||
2013-02-20 02:33 <iamnoob> plantian: yes i did try putting it on the depends: part inside the tryton.cfg, | ||
2013-02-20 02:34 <iamnoob> plantian: ok going to pastebin it.. im trying to create a one2many field.. and i cant get pass this error | ||
2013-02-20 02:38 <trytonnoob> platian: here is the trace back http://pastebin.com/i076XvUy | ||
2013-02-20 02:41 <iamnoob> plantian: got dc, here is the link http://pastebin.com/i076XvUy | ||
2013-02-20 02:43 <plantian> iamnoob: Which module contains that xml? | ||
2013-02-20 02:46 <iamnoob> plantian: im going to pastebin the files.. please wait.. | ||
2013-02-20 02:49 <iamnoob> plantian: here the .py file : http://pastebin.com/92ZOueFN , for the .xml file http://pastebin.com/iTUbd78X btw im using 2.6 | ||
2013-02-20 02:50 <plantian> iamnoob: something seems to be wrong with your .py paste | ||
2013-02-20 02:51 <iamnoob> plantian: yeah sorry. i accidentally put it to unlisted,, it ok now here the link : http://pastebin.com/92Z0ueFN | ||
2013-02-20 02:52 <plantian> iamnoob: What is your tryton.cfg? | ||
2013-02-20 02:53 <plantian> And your inv module's xml ? | ||
2013-02-20 02:53 <iamnoob> plantian: ok going to pastebin it too.. | ||
2013-02-20 02:55 <plantian> iamnoob: another thing i thought of is that your xml file in the inv module might not be in the tryton.cfg file for that module | ||
2013-02-20 02:57 <iamnoob> plantian: here is the tryton.cfg : http://pastebin.com/EfVU8nZf, adn the inventory.xml http://pastebin.com/93JqwmAT | ||
2013-02-20 02:59 <iamnoob> plantian: ow. soo i need to put the Inventory.xml to my tryton.cfg *the one that having a problem* for it to see? | ||
2013-02-20 02:59 <plantian> iamnoob: no i meant in the inventory module's tryton.cfg file you need to include the xml | ||
2013-02-20 02:59 <plantian> iamnoob: in case that is why the other module cannot find it | ||
2013-02-20 02:59 <plantian> iamnoob: Why is it "Inventory" in your tryton.cfg instead of "inv"? | ||
2013-02-20 03:01 <iamnoob> plantian: umm the name of the file is Inventory.py soo i listed it as Inventory too in the tryton.cfg. did i make something not good? | ||
2013-02-20 03:03 <plantian> iamnoob: What is the directory with the Inventory.py file in it? | ||
2013-02-20 03:05 <iamnoob> plantian: Inventory.py is in a folder Named 'Inventory' the other one is on a different folder named 'Unit_Procurement_Request' | ||
2013-02-20 03:06 <plantian> iamnoob: Are your modules in the modules directory or are you using a setup.py file? | ||
2013-02-20 03:06 <plantian> iamnoob: I think you might want to try to change your xml in Unit_Procurement_Request to be: view_ids="Inventory.OPinventory_view_tree_sequence"/> | ||
2013-02-20 03:07 <iamnoob> plantian: i put my custom modules inside the modules directory of the trytond folder.. | ||
2013-02-20 03:07 <iamnoob> plantian: ok will try that now.. brb thanks | ||
2013-02-20 03:08 <plantian> iamnoob: You will have to continue to include Inventory in the tryton.cfg file of Unit_Procurement_Request. | ||
2013-02-20 03:10 <iamnoob> plantian: ok will do that. feed you back on the result. thanks | ||
2013-02-20 03:16 <iamnoob> plantian: it works! the changes on the view_ids="" fixed it. thanks!! | ||
2013-02-20 03:17 <plantian> iamnoob: Okay, you might want to try to use a naming scheme that is more consistent with the tryton naming scheme to make debugging easier. In tryton it uses the prefix on model names, ie. "inv", as the directory. | ||
2013-02-20 03:18 <plantian> Which is the same as the module name. | ||
2013-02-20 03:20 <iamnoob> plantian: i see. thanks.. will keep that in mind. big thanks again | ||
2013-02-20 05:27 <iamnoob> hi again, in the Many2Many field what is the Origin parameter mean? | ||
2013-02-20 06:34 <plantian> iamnoob: I think it is one of the two fields on the model that joins the 2 other models. | ||
2013-02-20 06:38 <plantian> iamnoob: So http://hg.tryton.org/modules/party/file/fc0862209992/party.py#l65 the origin is "party" which is here: http://hg.tryton.org/modules/party/file/fc0862209992/party.py#l252 on the table that joins parties and categories. | ||
2013-02-20 06:52 <iamnoob> plantian: thanks! for the explanation | ||
2013-02-20 07:49 <iamnoob> does anyone know what _table mean? saw this on a class in party module | ||
2013-02-20 07:57 <plantian> iamnoob: it allows you to set the table name, that one is in the docs -- http://doc.tryton.org/2.6/trytond/doc/ref/models/models.html?highlight=_table#trytond.model.ModelSQL | ||
2013-02-20 07:58 <plantian> iamnoob: the docs have gotten a lot better with the search functionality of sphinx | ||
2013-02-20 08:02 <iamnoob> plantian: thanks again! i got lost in the docs, | ||
2013-02-20 08:42 <iamnoob> hi, i wanted to create a shopping cart module for a small store, i have created a many2many module so they can select different items on it.. but problem is.. they can only select it. they cannot put how many quatity they want.. how can i be able to achieve this please? | ||
2013-02-20 08:43 <iamnoob> *re-typed* hi, i wanted to create a shopping cart module for a small store, i have created a many2many field so they can select different items on it.. but problem is.. they can only select it. they cannot put how many quatity they want.. how can i be able to achieve this please? | ||
2013-02-20 11:20 <jonan> Hello all. Is it possible to create accounts in currencies other than currency set in company record ? I have multiple asset accounts holding 3 different currencies. Seems I can only use company currency and do transactions based currency conversions. | ||
2013-02-20 11:21 <cedk> jonan: you can define a second currency on an account but at the end every accounting move must be done in the company currency | ||
2013-02-20 11:23 <cedk> jonan: by the way, do you mean you do depreciation computation base on an other currency? | ||
2013-02-20 11:33 <jonan> Well depending on the supplier/customer currnency I would use a different account avoiding any headache with exchange rate computation for most transactions. Then I would just do a move between different currency bank accounts and only need to compute exchanges in those cases. | ||
2013-02-20 11:35 <cedk> jonan: I find it strange because the value of your asset is defined at the exchange rate on purchase date | ||
2013-02-20 11:36 <cedk> jonan: the depreciation should be based on this amount | ||
2013-02-20 11:36 <cedk> jonan: because otherwise you could deprecate more or less | ||
2013-02-20 11:37 <cedk> jonan: wait, you don't speak about depreciation | ||
2013-02-20 11:37 <jonan> I am not an accountant so guess I need to look into this. Do you mean conversion gains and losses ? | ||
2013-02-20 11:38 <cedk> jonan: if you are talking about the receivable/payable account when in different currency | ||
2013-02-20 11:39 <cedk> jonan: I don't think it is needed to have different accounts because in any case, when you write the move into the system, you must use the current exchange rate | ||
2013-02-20 11:39 <cedk> jonan: so you will almost always differences when you will try to reconcile the moves | ||
2013-02-20 11:40 <cedk> jonan: so you will have to put the differences into an exchange rate diff account | ||
2013-02-20 11:43 <jonan> yes I can make and receive payment in 3 currencies. Exchanges are not needed in most cases. I realize re-evaluation to single currency constantly changes. | ||
2013-02-20 11:45 <cedk> jonan: you must always convert to a single currency once you do accounting | ||
2013-02-20 12:05 <jonan> Hmm so no way to hold multiple currencies seperately then since every transaction requires conversion back to a single base currency. Thats what I have been doing but not as convenient as my bank account which hold balances and shows transactions seperately for each currency held. Thanks for the info. | ||
2013-02-20 12:06 <cedk> jonan: statement can be filed with the currency of the bank account | ||
2013-02-20 12:08 <jonan> do you mean with account_statement module ? | ||
2013-02-20 12:08 <cedk> jonan: yes | ||
2013-02-20 12:09 <jonan> oh havent used that module yet. Well need to look at th[C[C[C[C[C[Cis. Thanks. | ||
2013-02-20 13:03 <cedk> meanmicio: did you see my previous message about putting Thymbra training on Tryton calendar? | ||
2013-02-20 13:15 <meanmicio> cedk : Nope... but I think it's a great idea, thanks ! | ||
2013-02-20 13:45 <Hamra> Hello everyone. how can i suppress all output to stdout from trytond? it clogs the screen :S | ||
2013-02-20 13:46 <Hamra> this is on linux | ||
2013-02-20 13:53 <cedk> meanmicio: do you think Sebastian could manage it? | ||
2013-02-20 14:01 <cedk> Hamra: >/dev/null | ||
2013-02-20 14:02 <cedk> Hamra: but I also find that we should be silent by default and have -v on trytond as on tryton client | ||
2013-02-20 14:20 <Hamra> i had that, my problem was the '&' i put before the redirection, to disconnect the process from the shell. moved it to the end, and the redirection now works | ||
2013-02-20 14:20 <Hamra> thanks | ||
2013-02-20 14:21 -!- Hamra(5ebb4d9b@gateway/web/freenode/ip.94.187.77.155) has left #tryton | ||
2013-02-20 15:58 <stommepoes> woo |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!