#Open Object IRC Channel Logs

IRC Channels

For open discussions, an IRC Channel have been set up for Open ERP and Open Object: irc://irc.freenode.net/#openobject.

Tuesday, 2010-03-02

*** cedk has quit IRC00:03
*** julian1828 has left #openobject00:29
*** yangoon_rm has joined #openobject00:29
*** yangoon_rm has left #openobject00:30
*** bechamel has quit IRC01:00
*** rsampaio has quit IRC02:50
*** Stattrav has quit IRC03:50
*** Stattrav has joined #openobject04:23
*** febb has quit IRC05:00
*** yangoon has quit IRC05:03
*** yangoon has joined #openobject05:18
*** hounddog has quit IRC05:31
*** julian1828 has joined #openobject06:07
*** julian1828 has quit IRC06:16
*** febb has joined #openobject06:26
*** julian1828 has joined #openobject06:45
*** hounddog has joined #openobject06:57
*** hounddog has quit IRC07:57
*** quodt has joined #openobject08:27
*** hounddog has joined #openobject08:28
*** sharoon has joined #openobject08:37
*** Janneman1 has joined #openobject08:38
*** mrcast has joined #openobject08:43
*** mr_amit has joined #openobject08:52
*** enlightx has joined #openobject08:54
*** mr_amit has quit IRC08:59
*** javivfAfk is now known as javivf09:02
javivfmorning09:02
*** edannenbe has joined #openobject09:09
*** eLBati has joined #openobject09:12
*** mr_amit has joined #openobject09:15
*** cedk has joined #openobject09:25
*** Janneman1 has quit IRC09:40
*** javivf has quit IRC09:44
*** javivf has joined #openobject09:48
*** ludo2 has joined #openobject09:49
*** rationalperseus has joined #openobject09:52
*** jehan_ has joined #openobject10:02
*** Red15 has joined #openobject10:13
*** bechamel has joined #openobject10:27
*** mlhamel has joined #openobject10:34
*** dukai has joined #openobject10:42
*** Red15-Bubbles-IT has joined #openobject11:19
*** Red15 has quit IRC11:23
*** sveri has joined #openobject11:31
sverihi, does somebody know how i can retrieve the product description in the order reports? [[line.description]] doesnt work :(11:32
*** Red15-Bubbles-IT is now known as Red1511:41
alex_jonisveri: what object do you reference in the order report?11:47
alex_jonisale.order? purchase.order?11:47
sveri  [[repeatIn(o.order_line,'line')]]11:48
alex_jonithat's the line11:48
alex_jonisveri: you have a report defined11:49
sveriah, i have to add an extra one for the purchase?11:49
alex_jonihang on11:49
alex_jonilets start from the beginning11:49
sveriok11:49
alex_joniyou have a report defined11:49
sverii exported the standard order report into openeoffice11:49
alex_jonithere are 2 reports, one for sale order one for purchase order11:49
sveriuhm, wait, i have it in german11:50
sveriits hard to translate11:50
alex_joniwhen I want to export an order form I get to chose from: Production Order, Purchase Order, sale.order and repair.order11:50
alex_jonisveri: say it in german, it's ok for me11:50
sverii mean the verkaufsangebot11:51
alex_jonithat is sale order11:51
sveriah ok11:51
sverii always mix up order and offer11:51
alex_jonioffer is not really an english word11:51
alex_joniit's quotation ;)11:51
alex_joniok, so sale order / quotation11:52
sverii exported it to openoffice format with the base_report_designer11:52
sverihehe, i see11:52
alex_joniright11:52
alex_joninow.. that report is done on the sale.order object11:52
sverihm, where can i see thatV11:52
alex_joniif you look at Administration->Low Level Objects->Actions->Report XML11:52
sveriß11:52
sveriah, i see11:53
alex_jonifor me it's: Name: Quotation/Order, Type: ir.actions.report.xml, XML: sale.order, Type: pdf11:53
alex_jonithe sale.order is the important part now11:53
sveriyea, thats what i got too11:53
alex_joninow we want to see what fileds sale.order has11:53
alex_jonifields* even11:54
sveriok11:54
alex_jonigo to: Administration->Customization->Database structure->Objects11:54
alex_jonilook for sale.order11:54
sverii got it11:54
alex_jonisale.order is the whole sale object11:54
alex_jonibut it has inside it one field called order_line which is one2many11:55
alex_jonithat means that there can be more than one order_line's11:55
sveriok, i understand11:55
alex_joniif you look at order_line you will see that it's one2many and Object Relation is sale.order.line11:55
alex_joni   [[repeatIn(o.order_line,'line')]]11:56
sveriok11:56
alex_jonithat means line will cycle through all o.order_line11:56
alex_joniso it's of type sale.order.line11:56
alex_joninow we look at the object sale.order.line11:57
sveriok, up to this point everything is logic11:57
sverii got it, i mean sale.order.line11:58
alex_joniyup11:58
alex_joninow you see that sale.order.line has lots of fields which you don't need now, but there's a product reference11:58
* alex_joni waits for sveri to find it11:59
sveriyou mean product_id?11:59
alex_joniyup11:59
sveriproduct.product11:59
alex_joniwhich is many2one that points to product.product11:59
alex_joniperfect11:59
alex_joninow we look at object product.product and look for the description12:00
sveriok12:00
sverihm, i dont see any description field12:00
alex_jonime neither12:00
sveribut product.template has a description field12:01
alex_joniright12:01
alex_jonidescription, description_sale and description_purchase12:01
sveriyea, indeed12:02
alex_joninow you decide which one you want, then we assemble the line to put in the report12:02
sverii think i need tha basic description field12:02
alex_joniok, we had line which referenced sale.order.line12:03
sveriyes12:03
alex_joniwe want line.product_id (which references product)12:03
sveriok12:03
alex_joniline.product_id.product_tmpl_id (references product template)12:03
alex_joniline.product_id.product_tmpl_id.description12:03
sveriok, that sounds very logic12:03
sveriwow, it works instantly12:05
sverithis is so cool12:05
sverithank you so much12:05
alex_jonisveri: now you should know how to do it for other fields12:06
sveriis that somewhere documented?12:06
sveriyea, i do know now12:06
alex_jonisee log above ^^12:06
* alex_joni grins12:06
alex_jonisveri: not that I know..12:06
sveriyou taught me about how to fish12:06
sveriis it ok if i blog about it?12:07
alex_jonisveri: perfectly ok12:08
alex_jonithe more information out there, the better12:08
svericool, thank you again12:08
sveriyea, thats true12:08
alex_jonijust paste a link in here when you're done12:08
alex_joni;)12:08
sveriok12:08
alex_jonibtw.. just [[ line.product_id.product_tmpl_id.description ]] isn't enough12:08
sverinot? but it works for me12:08
alex_jonithat might cause errors if it's not existant12:08
sveriah, true12:08
alex_joniuse [[ line.product_id.product_tmpl_id.description or removeParentNode('para') ]]12:09
alex_joni[[ line.product_id.product_tmpl_id.description or '' ]]12:09
sveriyea, ok12:09
alex_joni[[ line.product_id.product_tmpl_id.description or removeParentNode('tr') ]]12:09
alex_jonieither of the 3 will work but have 3 different results12:10
alex_jonithe second is the simples, just put '' if it doesn't exist12:10
sverii need the second one in my template12:10
alex_joniremoveParentNode('para') removes the paragraph12:10
alex_joniand removeParentNode('tr') removes the table row12:10
alex_joniI usually have the description in a separate table row12:10
sveriyea, thats clearer12:11
sveribut for me its perfect to have it under the product name12:11
alex_joniright12:11
alex_joniI see the default report has a line.notes12:12
sveriyea, but that doesnt work for me12:12
alex_jonifor me it gets filled out with description_sale12:12
alex_joniwhen I create a new sale/quotation12:12
alex_joniI assume the same happens on a purchase order with description_purchase12:13
sverihm, it didnt for me12:13
sverii tried a lot of things yesterday12:13
alex_joniwell, if this works..12:16
sveriyea, its always good to know the story behind it12:18
*** enlightx has quit IRC12:22
sverialex_joni: http://blog.sveri.de/index.php?/archives/155-openerp,-order-reports-and-product-description.html12:27
*** mr_amit has quit IRC12:33
*** sharoon has quit IRC12:34
*** mr_amit has joined #openobject12:37
alex_jonisveri: super12:59
sveri:13:01
sveri:-)13:01
alex_jonisveri: http://blog.sveri.de/index.php?/archives/154-openerp,-report-and-translations.html13:04
alex_joniI always do the translations directly in the client13:05
alex_joninot the best habit, but it works the fastest13:05
alex_jonialso, the last part on that page doesn't display here13:06
*** enlightx has joined #openobject13:12
*** rsampaio has joined #openobject13:14
sveriah ok, thank you :-)13:22
sveriits all new to me, so i have to figure it out13:22
*** ToadP has quit IRC14:15
*** sharoon has joined #openobject14:26
*** ToadP has joined #openobject14:44
*** ToadP has quit IRC14:50
*** ToadP has joined #openobject14:52
*** amine has joined #openobject15:17
aminei there, i'm trying to hide a field depending on a value in a form, eg: if the field "name" contains "amine", then the field "surname" should be invisible15:19
*** mr_amit has quit IRC15:21
*** pepeu has joined #openobject15:42
*** edannenbe has quit IRC16:08
*** menols2 has joined #openobject16:09
menols2hi all16:09
menols2could someone tell me why a user can't create a partner even though the have the partner group permission?16:09
*** edannenbe has joined #openobject16:10
*** dukai has quit IRC16:19
*** Red15 has quit IRC16:23
menols2never mind16:29
*** Red15 has joined #openobject16:35
*** sharoon has quit IRC16:42
*** amine has quit IRC16:50
*** ToadP has quit IRC16:54
*** ToadP has joined #openobject16:58
*** ToadP has quit IRC17:13
menols2openerp is very buggy!17:17
menols2it allows somehow the creation of partial database entries17:21
menols2resulting in errors such as this ProgrammingError: column "price_type" does not exist17:21
menols2LINE 1: ...oice","period_id","move_id","amount_total","name","price_typ...17:21
menols2no body has anything to say?17:22
menols2fuck this17:25
*** menols2 has left #openobject17:25
*** bechamel has quit IRC17:27
Red15haha, another one "i expect full commercial quality and idiot proof software" rant17:27
Red15partial database entries my ass, he probably just added his own field of some sorts and did not upgrade the module in that database17:28
enlightxRed15: or he was using the trunk with 500 extra addons installed :)17:32
*** mlhamel_ has joined #openobject17:41
*** mlhamel has quit IRC17:43
*** pepeu has quit IRC17:45
*** ToadP has joined #openobject17:47
*** javivf is now known as javivfAfk17:51
*** edannenbe has quit IRC17:55
*** eLBati has quit IRC17:57
*** amine has joined #openobject18:10
*** quodt has quit IRC18:11
*** maggo has joined #openobject18:15
maggohi all, anyone here how know something abaout openERP and base_report_unicode module?18:16
*** enlightx has quit IRC18:25
Red15about openerp, most of us will know something :)18:25
Red15about base_report_unicode it's a bit harder18:25
Red15but what i know of it is that it's just a fix to allow truetype fonts to be used in the reports18:26
maggoyes thats right, but i get permanently unicode failures if i print a custom report on openerp18:28
maggoalthough i have installed this module18:29
maggoi tried out the newest version via bzr to but no improvment18:30
Red15i think the issue is that inside your reports you have to change the fonts  used18:31
maggook and how can i do that?18:32
Red15and the module allows you to specify TTF fonts, but does not map them automatically ?18:32
Red15edit the rml files would be one way18:32
maggook and where are the rml file of my custom report?18:32
*** ludo2 has quit IRC18:35
maggored15: can you have a look at the last post of this topic http://www.openobject.com/forum/post52084.html#5208418:40
Red15sorry not too familiar with the module18:41
Red15so i can't really tell a short fix for this18:42
*** Red15 has quit IRC18:56
*** ludo2 has joined #openobject18:57
*** sharoon has joined #openobject19:11
*** enlightx has joined #openobject19:29
*** heg has joined #openobject19:35
*** amine has quit IRC19:50
maggoHa all, is there a file where the postgres password is stored19:50
enlightxmaggo: it's stored inside postgresql itself19:53
enlightxif postgres (the user) has a password19:54
maggook and how do the opener-server know which password is to use for connecting the database?19:55
enlightxmaggo: you have to specify user/pass19:56
enlightxon the command line, or inside the config file19:56
maggowhere did you mean ? by installation or on login?19:56
enlightxinitially, you need to create a postgresql user19:57
enlightxthen you use that user to connect openerp-server to postgres19:57
maggoOk ähm explain my problem in other words i try to connect to postgres database of openerp with jasper and need the password19:57
enlightxwhich user are you using with jasper?19:58
maggook and is this password stored in a file for openerp19:58
maggoi use postgres19:58
enlightxi suggest you to create a new user19:58
maggohm new user for postgres with privileges for all databases read only?19:59
enlightxfor all or just one...it depends on your needs20:00
maggook in productive environment i will do, but i only testing jasper and will get a connection can i reset the postgres password of the postgres unix user or do i have to change the password of the database user?20:01
enlightxmaggo: btw, you can set a password for postgres an change ident with md5 inside the pg_hab.conf file20:04
*** mlhamel_ has quit IRC20:06
maggook in this file all is on trust, so do i need a password?20:07
*** mlhamel_ has joined #openobject20:08
enlightxmaggo: with trust...every password you type should be ok20:10
maggook20:10
maggoi'll try20:10
*** LucaSub1 has joined #openobject20:16
*** LucaSub2 has joined #openobject20:16
*** LucaSub1 has left #openobject20:18
*** LucaSub2 has quit IRC20:18
*** mrcast has left #openobject20:27
*** mlhamel_ has quit IRC20:30
*** rsampaio has quit IRC20:55
*** bechamel has joined #openobject21:07
*** ludo2 has quit IRC21:09
*** febb has quit IRC21:37
*** quodt has joined #openobject21:49
*** julian1828 has left #openobject21:49
*** maggo has quit IRC21:53
*** rationalperseus has quit IRC22:04
*** ludo2 has joined #openobject22:11
*** ludo2 has quit IRC22:25
*** enlightx has quit IRC22:58
*** quodt has quit IRC23:21
*** javivfAf1 has joined #openobject23:33
*** javivfAfk has quit IRC23:35
*** javivfAf1 has quit IRC23:41
*** javivfAfk has joined #openobject23:42
*** javivfAfk has quit IRC23:47
*** javivfAfk has joined #openobject23:47
*** javivfAfk has quit IRC23:52
*** javivfAfk has joined #openobject23:52
*** sveri has quit IRC23:57
*** javivfAfk has quit IRC23:58
*** javivfAfk has joined #openobject23:58