IRC logs of #tryton for Tuesday, 2012-07-10

chat.freenode.net #tryton log beginning Tue Jul 10 00:00:01 CEST 2012
2012-07-10 00:28 -!- rhubner(~rhubner@187.59.91.204) has left #tryton
2012-07-10 07:39 -!- udono(~udono@ip-109-90-6-12.unitymediagroup.de) has left #tryton
2012-07-10 10:04 <pietervdr> Hi, after install some new modules the database has to be re-initialised, but how?
2012-07-10 10:07 <cedk> pietervdr: trytond -d <db name> -i <module name>
2012-07-10 10:07 <pietervdr> Forget my last question trytons --help gave the answer
2012-07-10 10:08 <pietervdr> cedk: Cédric, why not include the account_nl module in the package?
2012-07-10 10:15 <cedk> pietervdr: because we don't have one
2012-07-10 10:20 <pietervdr> there is an account_nl-2.2.2 available, but I can't get it installed
2012-07-10 10:22 <cedk> pietervdr: the author did not want to include it
2012-07-10 10:23 <pietervdr> I see, thanks.
2012-07-10 11:56 -!- pietervdr(52ab65e9@gateway/web/freenode/ip.82.171.101.233) has left #tryton
2012-07-10 12:14 <scrapper> hello guys, in account.invoice there is a field "Reference". What I would like to achieve is to create a list of all Reference fields to know what is the next reference number I should take. Any hints on how to do that best practise?
2012-07-10 12:15 <scrapper> right now unfortunatelly there is no view which shows all "referenc"-fields.
2012-07-10 12:35 <cedk> scrapper: what do you mean by "all Reference fields" ?
2012-07-10 12:36 <scrapper> cedk: well by example my references are K1, K2, K3, K4, etc... the only problem is there is no VIEW in tryton framework to show me the list of references.
2012-07-10 12:37 <scrapper> So I do not know is K21 already used... what is next number etc...
2012-07-10 12:37 <scrapper> would be great to get that kind of information fast from the system. right now I have to watch my office papers and this is confusing.
2012-07-10 12:40 <cedk> scrapper: but reference on invoice is just a free text field
2012-07-10 12:41 <scrapper> cedk: in Financial->Invoices->All Invoices by example there is a column "Reference". This is good. But this is only a part of the "Reference" fields in the whole system. It would be great to have a column with ALL "Reference" fields.
2012-07-10 12:42 <scrapper> cedk: yes you are right. Its just a free text field.
2012-07-10 12:42 <cedk> scrapper: don't understand
2012-07-10 12:42 <scrapper> cedk: I really need to know what is the next "Reference".
2012-07-10 12:43 <scrapper> cedk: to avoid double entries.
2012-07-10 12:43 <scrapper> cedk: and to avoid K19, K20, K22 (missing 21) etc...
2012-07-10 12:43 <cedk> scrapper: but what is this reference?
2012-07-10 12:44 <scrapper> cedk: the "Reference" is the free text field in invoices.
2012-07-10 12:44 <cedk> scrapper: but what is this reference?
2012-07-10 12:45 <scrapper> cedk: this number I print on my paper invoices as additional information...
2012-07-10 12:45 <scrapper> cedk: not print... I write...
2012-07-10 12:45 <cedk> scrapper: so if it is linked to nothing, the system can not know about it
2012-07-10 12:46 <scrapper> cedk: Its OK if this number is not unique... most of the time it should be... but its OK to decide manually what goes into this text field.
2012-07-10 12:46 <scrapper> Yes but I am sure there exists a column in the postgreSQL database which is called "Reference".
2012-07-10 12:46 <scrapper> cedk: would be great to look that column with its values inside of tryton without using pgAdmin3 :-)
2012-07-10 12:47 <cedk> scrapper: it is in invoice view
2012-07-10 12:47 <scrapper> cedk: I have not inspected the postgreSQL database with pgAdmin3 yet, was just thinking, this could work.
2012-07-10 12:47 <scrapper> cedk: ok thank you, i can look for invoice view.
2012-07-10 12:51 <scrapper> cedk: ok- now I think I know what you mean with invoice view. ... yes you are right, there is a column called "Reference" the only problem is... when using Financial->Entries->Open Journal and doing manual double booking there is this field "Reference" too. Good. But its not possible to show this fields "Reference" in one list both columns Reference from Invoices and Entries together.
2012-07-10 12:51 <scrapper> cedk: sorry for confusing you.
2012-07-10 12:52 <cedk> scrapper: it is different fields
2012-07-10 12:52 <scrapper> cedk: yes - now you helped me a lot.
2012-07-10 12:52 <scrapper> cedk: seems that this are 2 columns with the same name "Reference" but different fields.
2012-07-10 12:53 <scrapper> cedk: I am going to inspect the db now with pgAdmin3 to understand better. Thank you cedk.
2012-07-10 12:53 <cedk> scrapper: but those reference fields are more to link with external stuffs
2012-07-10 12:54 <scrapper> cedk: yes I know... this is my first year doing financial things, and now I have kind of two numbers referencing one external paper (invoice etc...) I know this is not the optimum.
2012-07-10 12:55 <scrapper> cedk: the unique one and my manual handwritten one. don't worry. you already helped me a lot! thank you!
2012-07-10 13:03 <scrapper> irclog: to make it clear, I thought "Reference" from 'Invoices' and "Reference" from 'Entries' are the same column in the DB. But it seems that this are two different columns. I have no access to my DB via pgAdmin3 from my actual location. But will check that the next days.
2012-07-10 16:26 -!- lukio(~lukio@186.23.122.88) has left #tryton
2012-07-10 17:25 <lukio> hello, i'm having a problem. i'm creating a wizard. It should have two StateView, at the second StateView, exist a many2one field that the domain depends on the data entry of the first StateView. I don't understand how to set the domain of the many2one field.
2012-07-10 17:25 <lukio> my paste bin u can look it at -> http://pastebin.com/SD13kEWj thanks in advance!
2012-07-10 17:26 <cedk> lukio: you can not
2012-07-10 17:26 <nicoe> lukio: you should add another field and make a domain using Eval on this field
2012-07-10 17:26 <cedk> lukio: domain could only use value of fields in the current view
2012-07-10 17:35 <lukio> cedk: nicoe thanks! i will try it.
2012-07-10 23:22 -!- lukio(~lukio@186.23.122.88) has left #tryton

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