IRC logs of #tryton for Thursday, 2012-08-09

chat.freenode.net #tryton log beginning Thu Aug 9 00:00:02 CEST 2012
2012-08-09 00:31 <smarro> cedk: ping
2012-08-09 16:33 <rhubner> hi cedk
2012-08-09 16:35 <cedk> rhubner: hi
2012-08-09 16:37 <rhubner> cedk: I updated the repository of tryton client and when I run show this problem: http://pastebin.com/1WhRd51b
2012-08-09 16:38 <rhubner> cedk: do you know what is it?
2012-08-09 16:39 <cedk> rhubner: i guess you have a syntax error in form.py
2012-08-09 16:41 <rhubner> cedk: but i didnt edit this...
2012-08-09 16:44 <cedk> rhubner: check the file
2012-08-09 16:49 <rhubner> cedk: I found... I've made the error ... sorry! :)
2012-08-09 21:20 <diegoM> hi, Im having a problem with default properties
2012-08-09 21:22 <diegoM> when I creates a new record for account_revenue, and save it, property is showed in default property view
2012-08-09 21:22 <diegoM> but, when I refresh the view, record dissapears
2012-08-09 21:23 <diegoM> any idea?
2012-08-09 21:23 <cedk> diegoM: could you describe exactly what you are doing?
2012-08-09 21:24 <diegoM> cedk: I will try to do it :)
2012-08-09 21:25 <diegoM> I go to Administration->Models->Default Properties
2012-08-09 21:25 <diegoM> I click in Create a new record
2012-08-09 21:26 <cedk> diegoM: you should not create properties there
2012-08-09 21:26 <cedk> diegoM: we setup configuration entries in each menu for that
2012-08-09 21:28 <diegoM> cedk: how should I do to create a default value for account_revenue ?
2012-08-09 21:34 <diegoM> cedk: I reding this https://bugs.tryton.org/msg10280 how can I set this default account ?
2012-08-09 21:35 <cedk> diegoM: looks like we miss configuration fro this one
2012-08-09 21:36 <diegoM> cedk: can I help you to solve it?
2012-08-09 21:37 <cedk> diegoM: so you have to create it in ir.properties
2012-08-09 21:39 <diegoM> cedk: mmm, I don't know how to do that, can you show me an example?
2012-08-09 21:40 <cedk> diegoM: just create an entry for the account_revenue field
2012-08-09 21:40 <cedk> diegoM: and set the company and the value
2012-08-09 21:43 <diegoM> cedk: Should I create that entry in Administration->Models->Properties ?
2012-08-09 21:44 <cedk> diegoM: yeps
2012-08-09 21:45 <cedk> diegoM: I just did it on my demo server, I get no issue
2012-08-09 21:46 <cedk> diegoM: just fill: "Field" with "account_revenue", "Company" and "Value" with the account
2012-08-09 21:46 <diegoM> cedk: great, I did it
2012-08-09 21:47 <diegoM> cedk: but, I'm traying to process a sale, this sale has a line without a product, and I'm still seeing the 'It misses an "account Revenue" default property!'...
2012-08-09 21:48 <cedk> diegoM: which version?
2012-08-09 21:48 <diegoM> cedk: 2.4
2012-08-09 21:49 <cedk> diegoM: for the same company?
2012-08-09 21:50 <diegoM> cedk: the sale module is in changset 376:73a5ceb9cae8
2012-08-09 21:50 <diegoM> cedk: Yes, I have only one company, in the installation where I developing
2012-08-09 21:54 <cedk> diegoM: just tested here on trunk and it works
2012-08-09 21:55 <diegoM> cedk: ok thanks I will try it
2012-08-09 21:56 <cedk> diegoM: will try on demo
2012-08-09 21:58 <cedk> diegoM: you can test on demo, it works
2012-08-09 21:59 <cedk> diegoM: so I guess you did something wrong with the property
2012-08-09 21:59 <cedk> diegoM: check the one of demo
2012-08-09 21:59 <cedk> ACTION bbl
2012-08-09 22:02 <diegoM> cedk ok
2012-08-09 22:12 <diegoM> cedk: when I create account_revenue in Administration -> models -> properties, it is not showed in default properties
2012-08-09 22:13 <diegoM> cedk: in the online demo it is showed...

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