[Tinyerp-users] Re: Expanding Partner fields and views

2007-09-10 Thread forum-user
I agree with gegard. You can edit views using the inherit function and naming a position of the new view characteristics (e.g. in, after, replace). If you want to fully reset a view, the replace might be the right one. For a change in the partner_view.xml an possible custom_view.xml looks like

[Tinyerp-users] Re: RFC: Wikipage AccountingChart

2007-09-10 Thread forum-user
Yes, you are right. ___ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users

[Tinyerp-users] Re: pos

2007-09-10 Thread fabien
Hello, Thank you but it seems that both links the same in your page. About the modules published without sources. That was an error of our first attempt to release our unpublished modules. We will publish these sources at the same time of the 4.2.0 package. (no garantee, but I hope we will

[Tinyerp-users] Re: Tree view Limit = 80

2007-09-10 Thread forum-user
Yumi wrote: What does orm stand for? Object Relational Manager or something like that. Every load and save everywhere calls methods in this. Regards, Geoff Seath Solutions Ltd (http://www.seathsolutions.com) ___

Re: [Tinyerp-users] Re: Tree view Limit = 80

2007-09-10 Thread Cédric Krier
On 10/09/07 09:16 +0200, [EMAIL PROTECTED] wrote: Yumi wrote: What does orm stand for? Object Relational Manager or something like that. Every load and save everywhere calls methods in this. The limit comes from the client. -- Cédric Krier Tiny sprl Chaussée de Namur, 40 B-1367

[Tinyerp-users] Re: Tree view Limit = 80

2007-09-10 Thread forum-user
Since Cédric must be right but doesn't provide the answer I performed another search in the code and fount something interesting in: widget_search/form.py: form.py#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; self.spin_limit.set_adjustment#40;gtk.Adjustment#40;value=80, lower=1,

[Tinyerp-users] Re: pos

2007-09-10 Thread htgoebel
Thank you but it seems that both links the same in your page. Fixed. The main reason is that we have about 150 modules to upload and I prefer not loosing too much time releasing them manually. We have to create new automated releasing and testing scripts for this. Your are doing

[Tinyerp-users] Re: Tree view Limit = 80

2007-09-10 Thread forum-user
Michael, In versions 3.x and before(?) That limit was 200. After that it was lowered. However I would stick with the 80 limit. You can always create a tree view of a longer list for the few cases in which you want all your data on screen. Also, the new 4.2 version has a very nice search tool

[Tinyerp-users] Fashion Module

2007-09-10 Thread forum-user
The Fashion Module is the only one adding product pictures to the records (as far as I know). Is it planned to make this module available for 4.2.0? Michael ___ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users

[Tinyerp-users] Re: Expanding Partner fields and views

2007-09-10 Thread forum-user
gegard wrote: ... I've got some examples that I will look out and I'll post one here in the next day or so. ... A complete and very tiny example here: new module partner_extension in addons. Regards, Geoff partner_extension/__init__.py # copyright and GPL license import partner_extension

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
Hi Pedro, I think you may need to set HTML off for last post. I tried setting domain like this: field name=domain['category_id','=','15']/field but it gives me this error: Traceback (most recent call last): File

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
Here is something that has me puzzled. In partner.py in res_partner in _columns I see this: 'category_id': fields.many2many('res.partner.category', 'res_partner_category_rel', 'partner_id', 'category_id', 'Categories'), But in the db I do not see this column in res_partner: id |

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
It's a many2many field. The relationship between both tables is kept in res_partner_category_rel. The orm does the magic of retrieving, updating and inserting data on that table when you use the field of the python object. I have noticed that a reply I sent to a previous post didn't reach the

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
Pedro, Ok, so there is a little orm magic going on there. Also, I tried that last suggestion before and it results in error. BTW, your post did reach the list: http://tinyerp.org/forum/post13400.html#13400 You might want to Disable HTML for any posts using XML otherwise they get

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
Here are the table entries which all look correct: testdb=# select * from res_partner_category_rel; partner_id | category_id +- 22 | 15 24 | 15 25 | 15 26 | 15 (4 rows) testdb=# testdb=# select id

[Tinyerp-users] Re: RFC: Wikipage AccountingChart

2007-09-10 Thread forum-user
[quote=fabien]Yes, you are right.[/quote] Done. ___ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
Ok, I make mine like yours: record model=ir.actions.act_window id=action_grp_partner_form field name=nameMy Partners/field field name=typeir.actions.act_window/field field name=res_modelres.partner/field field

[Tinyerp-users] Filtrer une liste grâce à la sélection d'une autre liste ?

2007-09-10 Thread forum-user
Bonjour, j'ai deux champs dans une vue, chacun est de type fields.many2one. Je veux qu'en sélectionnant une valeur dans l'une, le contenu de la seconde soit filtré ou rempli à ce moment là. Comment faire ? J'ai partiellement réussi mais ya un problème avec le client : mon code de vue (les

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
And if I change it to this: field name=domain[('category_id','=',15)]/field I get this error: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/tinyerp-server/netsvc.py, line 206, in _dispatch r=m(*params) File

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
I do not know what that could be. Other things are working ok. I opened a bug on this: http://tinyforge.org/tracker/index.php?func=detailaid=137group_id=13atid=129 Maybe Cedric will know some information about 4.2.0-rc2. Thanks for all the help, Gerry

Re: [Tinyerp-users] Filtrer une liste grâce à la sélection d'une autre liste ?

2007-09-10 Thread Cédric Krier
On 10/09/07 18:11 +0200, [EMAIL PROTECTED] wrote: Bonjour, j'ai deux champs dans une vue, chacun est de type fields.many2one. Je veux qu'en s�lectionnant une valeur dans l'une, le contenu de la seconde soit filtr� ou rempli � ce moment l�. Comment faire ? J'ai partiellement r�ussi

Re: [Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread Cédric Krier
On 10/09/07 18:12 +0200, [EMAIL PROTECTED] wrote: And if I change it to this: field name=domain[('category_id','=',15)]/field I get this error: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/tinyerp-server/netsvc.py, line 206, in _dispatch

[Tinyerp-users] Re: views: adding domain to restrict result set

2007-09-10 Thread forum-user
Cedric, That was it. Works perfectly! Thanks, Gerry ___ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users

[Tinyerp-users] KeyError installing module

2007-09-10 Thread forum-user
I am getting a KeyError when installing a new module in 4.2.0-rc2. What key does this refer to? Is this on some table or is this an in-memory reference? The error: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/tinyerp-server/netsvc.py, line 206, in _dispatch

[Tinyerp-users] module: modified class but ghost of old class still there

2007-09-10 Thread forum-user
I modified a class in one of my modules: class res_partner(osv.osv): _name = 'res.partner' _inherit = 'res.partner' _columns = { 'property_my_property': fields.property( 'my.property', type='many2one', relation='my.property',