IRC Channels

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

Wednesday, 2010-06-09

*** bechamel has quit IRC00:34
*** komsas has quit IRC00:47
*** ovnicraft has joined #openobject02:30
*** ovnicraft has quit IRC03:46
*** ToadP has joined #openobject05:40
*** ToadP1 has joined #openobject05:40
*** mr_amit has joined #openobject06:58
*** julian1828 has quit IRC07:23
*** julian1828 has joined #openobject07:24
*** rationalperseus has joined #openobject08:34
*** bechamel has joined #openobject08:35
*** eLBati has joined #openobject08:51
*** cedk has quit IRC08:56
*** mrcast has joined #openobject08:59
*** enlightx has joined #openobject08:59
*** Janneman1 has joined #openobject09:05
*** cjeske has joined #openobject09:17
*** simahawk has joined #openobject09:23
*** julian1828 has quit IRC09:25
*** julian1828 has joined #openobject09:25
*** cedk has joined #openobject09:29
*** mrcast has quit IRC09:31
*** cedk has quit IRC09:32
*** mrcast has joined #openobject09:34
*** bechamel has quit IRC10:13
*** Flydoire|Taktik has joined #openobject10:21
*** ludo2 has joined #openobject10:27
*** yangoon_rm has joined #openobject10:31
*** edannenbe has joined #openobject10:32
*** kalymero has joined #openobject10:44
*** Red15 has joined #openobject10:44
*** rationalperseus has quit IRC10:47
*** Nyx has joined #openobject10:52
*** enlightx_ has joined #openobject11:13
*** enlightx has quit IRC11:15
*** enlightx_ has quit IRC11:16
*** enlightx has joined #openobject11:17
*** hawodi has joined #openobject11:54
hawodiHello all.11:56
hawodiHow do I put a horizontal bar on a column in a report e.g total column will have a horizontal bar with the total sum below that horizontal bar.11:57
hawodiexample of this is found in customer invoice. Also, how do I apply color to some of the columns in the report? Thanks.11:59
Red15hawodi, are you using openoffice sxw format or editing rml directly ?12:15
hawodiRed15:Am creating the report from Dashboards->configuration->custom reports12:17
Red15dont think you can add color or custom bars etc there12:18
*** hawodi has quit IRC12:21
*** Marcel|HSD has joined #openobject12:24
*** digitalsatori has joined #openobject12:26
*** Janneman1 has quit IRC12:30
*** hawodi has joined #openobject12:31
hawodiRed15: Thanks. Where can I do that?12:31
Red15create a full report, using openoffice -> sxw -> sxw2rml toolchain12:31
Red15http://doc.openerp.com/developer/3_11_reports/11_1_openoffice_report.html12:32
*** enlightx is now known as enlightx|away12:37
*** Flydoire|Taktik has quit IRC12:38
*** vockso has joined #openobject12:40
*** Flydoire|Taktik has joined #openobject12:40
hawodiRed15: Thanks.12:43
hawodiRed15: Am looking at it now.12:43
*** Zmanu has joined #openobject12:50
Zmanuhello12:50
Zmanuis it possible to install openerp but only with module for suppliers ?13:02
*** mmahir has joined #openobject13:03
mmahiri have problem in creation the invoice13:03
mmahirhi13:04
mmahirsorry13:04
mmahiri have13:04
mmahirproblem with creation the invoice in openerp13:04
mmahircan any when help me13:05
*** Nyx has left #openobject13:11
*** Janneman1 has joined #openobject13:12
Red15mmahir, what is the problem ?13:14
Red15paste the full output on http://openerp.pastebin.com13:14
*** mmahir_ has joined #openobject13:19
*** enlightx|away is now known as enlightx13:20
*** mmahir has quit IRC13:22
*** mmahir_ is now known as mmahir13:22
Red15mmahir, what is the problem ? paste output on http://openerp.pastebin.com13:23
Zmanuso with openerp i can't install only some modules13:24
Red15Zmanu, each module can specify its own dependencies13:24
Red15Zmanu, so you can't really just pick one module because it will interact with some others13:24
Red15Zmanu, what you might want is to hide other menu options maybe ?13:25
ZmanuRed15: ok, because at this time i only need supplier module, later maybe use more, but i want to have something very simple to start13:25
ZmanuRed15: yes, if i can hide, that can be useful13:25
Red15it will be more effort to hide it than to just ignore it...13:25
ZmanuRed15: by default it's not possible ?13:26
*** bechamel has joined #openobject13:26
Red15Zmanu, yes you can make a user which is only responsible for purchases13:26
Zmanuand so in menu it can only see activity for suppliers and not more13:28
Red15yes13:31
edannenbeRed15, is it possible to initialise a orm wizard model before the view pops up? i want to insert some dynamic rows in one2many relation, but even abusing a  _defaults it only gets triggered after the view already got displayed13:32
Red15not sure why _defaults wouldn't be enough13:33
Red15it should fill in the default values before you actually see the form ... (maybe 0.1s later but is that a problem?)13:33
ZmanuRed15: is it possible to test this in a demo ?13:36
edannenbeRed15, hmm actually it gets triggered before the view gets displayed, but i dont have context on the memory model about to be displayed in that function13:37
Red15Zmanu, yes create a new user, give him only purchase Administration group13:37
Red15what are you expecting in context then ?13:38
Red15edannenbe, are you trying to make it link back to the model that opened the osv_memory or something similar ?13:38
edannenbeRed15, that would also be a solution13:38
edannenbeone sec, gotta afk a min13:38
Red15edannenbe, keep in mind pre 5.0.7 there is a bug preventing context to be passed from view -> osv_memory13:39
Zmanuthanks for answers Red1513:41
*** simahawk is now known as simahawk|lunch13:42
edannenbeRed15, what im trying to do is pretty simple i would think, a variant wizard holding some default values, after you press button it will generate temporary variants in another orm with a many2one on the wizard which get displayed in the 2nd step13:48
*** yangoon_rm has quit IRC13:48
*** cedk has joined #openobject13:49
*** cedk_ has joined #openobject13:49
Red15edannenbe, this is on a product.product i presume ?13:49
edannenbeproduct.template as we made some changes to the dimensions, they are not anymore tied to a template, global instead13:49
*** cedk_ has quit IRC13:49
edannenbebut thats besides the point :)13:50
*** cedk has quit IRC13:50
*** cedk has joined #openobject13:50
Red15so in context you should have an 'active_id' which is the id of the product.product you launched wizard from ?13:51
edannenbeyup13:51
edannenbebut i dont have context on what will be the next id of the orm13:52
Red15why would you need the id of the orm ?13:52
Red15and of what orm ?13:52
edannenbethe wizard orm i want to link the temporay variants to13:53
Red15why are you going to link the osv_memory wizard to some other record ?13:54
Red15it should be the other way13:54
Red15you link the other records inside your osv_memory13:54
edannenbehmm, lemme throw something up on pastebin sec13:54
edannenbeRed15, http://pastebin.com/SFHCzrTW thats the general structure i got at the moment, if got a way to write setting lines linked to wizard about to be displayed all would be good13:58
edannenbeif i*13:59
edannenbei thought about just linking the setting lines to the product.template id, but then how do i display that in the wizard14:00
Red15what kind of _default function have you created ?14:00
edannenbehttp://pastebin.com/hCkKkEhw the _init_Variants() functions, it basicly checks if there are already settings lines for this wizard and if not creates them14:03
edannenbefunction*14:03
edannenbeas you can see on the ugly (self.next_id+1), i dont got the id of the wizard record in the context at that point14:04
edannenbewhat would also work if i could return a reference to the same wizard record from step1 again to be displayed in another form view14:06
edannenbebut i did not find anything on that ><14:06
Red15why do you do id+1 ??14:11
Red15can you paste the init_variants ?14:12
edannenbesure one sec, although it wont be much of help with the problem at hand i think14:12
edannenbethe +1 is because the actual record for the orm wizard hasnt been written yet by the system14:13
edannenbeso on first call next_id is 014:13
Red15you should create a _default function for your 'setting_ids' fields14:15
edannenbehttp://pastebin.com/1sG8Byp714:15
Red15the way i do it is like this:14:17
Red15i create a button on the osv_memory view14:17
Red15that button is type='object' and so calls a memberfunction of the osv_memory class I created14:18
Red15so you get an empty view first, then click a button (for me you even have to enter a few missing parameters)14:18
Red15and the one2many are filled then14:18
Red15would that not be feasible for you too ?14:19
edannenbei did this first too, but how do you get back the view then after you press the button14:19
hawodiwhere is the link to report_openoffice_sample . Its not in the report_openoffice folder.14:19
Red15edannenbe: the button does not change the view for me ...14:21
edannenbeoh ic, maybe there is my problem14:23
edannenbewhat do you use for return to not change the view?14:24
Red15i don't return anything :)14:24
edannenbedoh :)14:25
edannenbelemme try14:25
Red15btw if you would really like it to happen automatically i think you might have to overwrite the create function14:26
Red15there you should have an id as soon as you have called super(your_class, self).create(cr, uid, vals, context)14:26
*** pepeu has joined #openobject14:30
*** vockso has quit IRC14:31
edannenbeRed15, cheers, staying on the same view will do nicely for now14:31
edannenbei tried that yesterday too at one point but got a weird error which i dont get anymore, prolly was something else14:31
hawodifound it.14:32
*** pepeu has quit IRC14:37
*** simahawk|lunch is now known as simahawk14:43
*** mmahir_ has joined #openobject15:01
*** mmahir has quit IRC15:04
*** mmahir_ is now known as mmahir15:04
*** mrcast has quit IRC15:07
*** mrcast has joined #openobject15:07
*** yangoon_rm has joined #openobject15:11
*** r3c4ll has joined #openobject15:16
*** marcelo has joined #openobject15:20
marceloalgum brasileiro q possa me ajuda?15:20
*** julian1828 has left #openobject15:24
hawodisimahawk:Hello. Please, where can I get the obeject name for the placeholders for the openreport engine.15:27
simahawkhawodi, hi, what do you mean for "obeject name for the placeholders"?15:29
simahawkyou mean "how to display what in the placeholder"?15:30
simahawkin that case you have to hit "ctrl+f9"15:31
hawodisimahawk: For example, if I need to create a report for sales order, I would need certain fields in the placeholder. Where do I get the fields from?15:31
simahawkahhh15:31
*** max3903 has joined #openobject15:31
simahawkwell, u have to know the names of the fields...15:31
simahawksome options: look at the code of the obj or place a pdb before the object is passed to the report engine and debug it15:32
simahawkor look at the object's table in postgres15:33
simahawkunfortunately there's no easy way for the time being15:33
hawodisimahawk: It would be cool if one link to the fields from openoffice. But from the docs, well done.15:34
simahawkanother option is to use tiny's OOo plugin *ONLY* to see the object's structure15:34
simahawk*NOT TO* insert them15:34
hawodiOk.15:34
simahawkhawodi, the future will be to have a plugin like the one I mentioned15:34
hawodiCan I use the report as part of a dashboard?15:35
simahawkbut the official report machinery is going ti be replaced...so maybe is not worth to code it now15:35
hawodiany preview of how the new report machinery will look?15:36
simahawkno, AFAIK15:36
hawodisimahawk: Can I use the report with a dashboard?15:38
hawodiHow do I place several reports in a dasboard like the Accounting Dashboard15:39
simahawkhawodi, OOo reports has nothing to do with dashboards15:39
simahawkhas/have15:39
hawodiok. But I can open the OOo reports in Openerp, right?15:40
simahawkhawodi, u can't OE is not an odt editor/viewer15:44
hawodisimahawk: Am lost here. What's OE?15:45
simahawkOpenERP :)15:45
Red15OOo reports are used to generate pdfs15:46
Red15with the data from openerp15:46
Red15and layout from your xsw / rml file15:46
hawodisimahawk & Red15: Thanks. OOo report is clear now.15:56
simahawkhawodi, welcome15:56
hawodiRed15: Any directions on how I can create/edit dashboards like Accounting Dashboard?15:57
*** marcelo has quit IRC16:01
*** bechamel has quit IRC16:03
*** Ribo_ has joined #openobject16:09
Ribo_Ola16:10
Ribo_Bom dia16:10
la_loOsecatalà or portuguese ?16:10
Ribo_Catalâ nascido no   Brasil16:11
Ribo_portuguese16:12
*** Janneman1 has quit IRC16:24
*** Ribo_ has quit IRC16:25
*** Marcel|HSD has left #openobject16:37
*** cjeske has quit IRC16:39
*** digitalsatori has quit IRC16:54
*** under__ has joined #openobject16:55
*** hawodi has quit IRC17:21
*** edannenbe has quit IRC17:26
*** javivf has joined #openobject17:36
*** hawodi has joined #openobject17:42
*** apoh has joined #openobject17:44
apohhi there17:44
apohdid someone know if theres a way for multiple inherintance  for models?17:45
hawodisimahawk: can one add color to the fields?17:58
*** Zmanu has quit IRC18:07
Red15apoh, yes, but it depends on what exactly ou want to do18:10
Red15you*18:10
*** ovnicraft has joined #openobject18:12
apohRed15 i've designed a model with lot of fields and did need these fields on an other model too18:12
Red15do you know about _inherits ?18:12
apohRed15 can i do this with '_inhertis'?18:12
Red15not sure myself, have never used _inherits18:13
apohhmm ok. i will try out _inhertis. if that works i will told u :)18:14
*** cedk has quit IRC18:20
*** apoh has quit IRC18:24
*** ludo2 has quit IRC18:30
*** javivf has quit IRC18:30
*** eLBati has quit IRC18:50
*** kalymero has quit IRC18:51
*** enlightx has quit IRC18:55
*** simahawk has quit IRC19:01
*** Flydoire|Taktik has quit IRC19:13
*** edannenbe has joined #openobject19:17
*** cedk has joined #openobject19:20
*** Red15 has quit IRC19:32
*** mrcast has quit IRC19:41
*** r3c4ll has quit IRC19:50
*** enlightx has joined #openobject19:52
*** ovnicraft has quit IRC20:07
*** Gavin_Achado has joined #openobject20:12
*** mrcast has joined #openobject20:13
*** ovnicraft has joined #openobject21:05
*** ovnicraft has quit IRC21:16
*** ovnicraft has joined #openobject21:20
*** simahawk has joined #openobject21:20
*** tc0703 has joined #openobject21:40
zigzapgabehey all, i backed up a database and imported it into a new install of openerp21:40
zigzapgabenow i cannot login with my credentials21:40
zigzapgabeany suggestions?21:40
zigzapgabei have pgAdmin III open looking through the db, but i dont know where i can verify the settings21:41
cedkzigzapgabe: passwords are stored in clear text in the table res_users21:41
zigzapgabethanks :)21:42
zigzapgabecedk: you are the best.21:42
zigzapgabecedk: i am looking at that now in pgAdmin III, but since I am not very familiar in this db editor, I dont know what view i should look for next, once i have highlighted the table21:43
cedkzigzapgabe: that's why I work on Tryton instead of OpenERP :-)21:43
zigzapgabecedk: i will def have to check out Tryon, never heard of it before21:44
cedkzigzapgabe: I don't know pgAdmin. I only use psql from command line21:44
zigzapgabeok21:44
cedkzigzapgabe: the sql query will look like:21:44
tc0703hi all, I'm planning to run 3 independent openerp servers (devel-server, test-server, prod-server) in multiple virtual-machines. What would the recommendation be on CPU and memory?21:44
cedkzigzapgabe: SELECT * from res_users;21:44
zigzapgabecedk: ok, does tryon have a gui i can run from ssh -X ?21:45
zigzapgabecedk: and do you fee it is more stable, and why?21:46
cedkzigzapgabe: never tested ssh -X but if you can with OE then it should be21:48
cedkzigzapgabe: more stable because of release policy and real codereview21:48
zigzapgabecedk: is it built on the same framework?21:48
cedkzigzapgabe: it is a fork21:48
zigzapgabecedk: gotcha.  I am trying to decide what to implement internally and ultimately support for clients21:49
zigzapgabecedk: also - do you think i can import an existing openerp database into it?21:49
cedkzigzapgabe: no because we had redesigned the data model21:51
zigzapgabetc0703: i am no expert at this, but i'm running openerp on Ubuntu 10.04 with 512 of RAM21:53
cedktc0703: in fact it is really hard to answer to such question21:54
cedktc0703: we need to know: number of users, number of transaction per second, amount of data etc.21:56
zigzapgabetc0703: i'd say you need to take into consideration how many users you have, and where you are hosting, etc21:56
*** simahawk has quit IRC22:03
*** ludo2 has joined #openobject22:08
tc0703zigzapgabe, cedk: Well initially the number of users will probably be limited... 20 to 100 users on the production system. Test and development will have much less load seen their nature.22:09
tc0703Later on number of users will grow till ... (depending on success of the story ;))22:09
zigzapgabetc0703: again, not being an expert, i would throw as much in the way of resources as i could at it.22:10
cedktc0703: user number is a parameter but the most important is the number of transaction22:11
tc0703zigzapgabe: well, yes if I would be buying the server itself I would indeed do that. However, it will be a dedicated server located in a datacenter...22:11
tc0703cedk: Understood. Are there some guidelines on such numbers you know of?22:12
cedktc0703: you should look at PostgreSQL website22:13
tc0703cedk: OK22:13
cedktc0703: after that python code will not require too much22:15
cedktc0703: but it can be become too slow if there is too much request22:16
tc0703cedk: So it might be worth it considering separating the DB from the OpenERP servers from the beginning22:16
cedktc0703: and you must know that OE python code will use only one core22:16
cedktc0703: yes if you don't have a high speed connection between both22:17
tc0703cedk: because python in itself doesn't support multiple CPU's, right?22:17
cedktc0703: because OE will make a lot of queries22:17
cedktc0703: yes, all the threads of one python process run one after one22:17
tc0703cedk: connection speed should not be an issue since both servers would be hosted in the same datacenter in that case22:18
tc0703cedk: thanks22:18
*** ToadP has quit IRC22:42
zigzapgabecedk: any idea what this error is telling me? "ProgrammingError: cannot change data type of view column "total_difference" from numeric to double precision"22:44
*** ToadP has joined #openobject22:44
*** yangoon_rm has quit IRC22:45
*** yangoon_rm1 has joined #openobject22:45
*** yangoon_rm1 has quit IRC22:48
*** yangoon_rm has joined #openobject22:48
*** ToadP1 has quit IRC22:48
*** ToadP has quit IRC22:48
*** yangoon_rm1 has joined #openobject22:49
*** yangoon_rm has quit IRC22:49
*** simahawk has joined #openobject23:11
*** hawodi has quit IRC23:21
*** mrcast has quit IRC23:31
*** mr_amit has quit IRC23:38
*** bechamel has joined #openobject23:40
*** yangoon_rm1 has quit IRC23:43
*** yangoon_rm has joined #openobject23:57
*** enlightx has quit IRC23:58
*** Gavin_Achado has left #openobject00:02
tc0703The actual modules which are activated, can they be activated per database (by the database admin) or is that something which is a global activation for all databases the OpenERP server can connect to?00:03
*** ludo2 has quit IRC00:04
*** simahawk has quit IRC00:10
*** yangoon_rm has quit IRC00:13