[tryton-dev] About default user admin and try login robots

2013-04-16 Thread Raimon Esteve
Hello, username admin can't change it because this record is part of the base configuration. I think to extrem security is necessary to change this username after create a new database With proteus, XML-RPC o JSON can write some code to try (username = 'admin' and password = RANDOM) to login in

Re: [tryton-dev] About default user admin and try login robots

2013-04-16 Thread Cédric Krier
On 16/04/13 12:24 +0200, Raimon Esteve wrote: Hello, username admin can't change it because this record is part of the base configuration. Just deactivate it. I think to extrem security is necessary to change this username after create a new database If you want. With proteus, XML-RPC

[tryton-dev] stock: Sync planned date of supplier shipment only for later (issue 797002)

2013-04-16 Thread cedric . krier
Reviewers: , Description: stock: Sync planned date of supplier shipment only for later Please review this at http://codereview.tryton.org/797002/ Affected files: M shipment.py Index: shipment.py === --- a/shipment.py +++

[tryton-dev] trytond: Add ir.action.report model rec_name (issue 798002)

2013-04-16 Thread resteve
Reviewers: , Please review this at http://codereview.tryton.org/798002/ Affected files: M trytond/ir/action.py Index: trytond/ir/action.py === --- a/trytond/ir/action.py +++ b/trytond/ir/action.py @@ -350,6 +350,7 @@ class

Re: [tryton-dev] About default user admin and try login robots

2013-04-16 Thread Raimon Esteve
username admin can't change it because this record is part of the base configuration. Just deactivate it. And schedulers send error to admin user? Yes, Need to change it. Desactivate isn't the best option. XML add default values in this user (group, etc)

[tryton-dev] trytond: Set _order_name to ActionMixin (issue 799002)

2013-04-16 Thread cedric . krier
Reviewers: , Description: trytond: Set _order_name to ActionMixin Please review this at http://codereview.tryton.org/799002/ Affected files: M trytond/ir/action.py Index: trytond/ir/action.py === --- a/trytond/ir/action.py +++

[tryton-dev] View's domain in a field One2Many with widget Many2Many

2013-04-16 Thread Jesús Martín Jiménez
Hi, I'm trying to set a domain [1] in a one2many field of a form view. The field points to a account.move.line and I want to exclude those records that its field reconciliation are filled. Here is the code: field name=lines widget=many2many colspan=6

Re: [tryton-dev] View's domain in a field One2Many with widget Many2Many

2013-04-16 Thread Cédric Krier
On 16/04/13 05:07 -0700, Jesús Martín Jiménez wrote: Hi, I'm trying to set a domain [1] in a one2many field of a form view. The field points to a account.move.line and I want to exclude those records that its field reconciliation are filled. Here is the code: field name=lines

Re: [tryton-dev] View's domain in a field One2Many with widget Many2Many

2013-04-16 Thread Jesús Martín Jiménez
2013/4/16 Cédric Krier cedric.kr...@b2ck.com On 16/04/13 05:07 -0700, Jesús Martín Jiménez wrote: Hi, I'm trying to set a domain [1] in a one2many field of a form view. The field points to a account.move.line and I want to exclude those records that its field reconciliation are filled.

[tryton-dev] Chaining browse in domain

2013-04-16 Thread Jesús Martín Jiménez
Hi all, Is there any way in Tryton to chaining browse on domain like in OpenERP? For example, if I wanted to filter by the value of a many2one field, I'll do it this way: domain = [('field_id.name', '=', 'value')] Thanks in advance

Re: [tryton-dev] Chaining browse in domain

2013-04-16 Thread Cédric Krier
On 16/04/13 08:25 -0700, Jesús Martín Jiménez wrote: Is there any way in Tryton to chaining browse on domain like in OpenERP? Quite funny as I wrote this feature in OpenERP :-) For example, if I wanted to filter by the value of a many2one field, I'll do it this way: domain =

[tryton-dev] trytond: Improve domain doc about deferencing to related models (issue 800002)

2013-04-16 Thread cedric . krier
Reviewers: , Description: trytond: Improve domain doc about deferencing to related models Please review this at http://codereview.tryton.org/82/ Affected files: M doc/topics/domain.rst Index: doc/topics/domain.rst === ---

[tryton-dev] Add empty view after transition_action (issue 801002)

2013-04-16 Thread udo . spallek
Reviewers: , Please review this at http://codereview.tryton.org/801002/ Affected files: M trytond/ir/__init__.py M trytond/ir/module/module.py M trytond/ir/module/module.xml A trytond/ir/view/module_config_wizard_last_form.xml Index: trytond/ir/__init__.py

Re: [tryton-dev] Chaining browse in domain

2013-04-16 Thread Cédric Krier
On 16/04/13 22:33 +0200, Albert Cervera i Areny wrote: A Dimarts, 16 d'abril de 2013 17:33:37, Cédric Krier va escriure: On 16/04/13 08:25 -0700, Jesús Martín Jiménez wrote: Is there any way in Tryton to chaining browse on domain like in OpenERP? Quite funny as I wrote this feature in

[tryton-dev] tryton: Manage differently None and empty string in domain_parser (issue 803002)

2013-04-16 Thread cedric . krier
Reviewers: , Please review this at http://codereview.tryton.org/803002/ Affected files: M tryton/common/domain_parser.py Index: tryton/common/domain_parser.py === --- a/tryton/common/domain_parser.py +++

Re: [tryton-dev] Performance problems with 2.6

2013-04-16 Thread Ian Wilson
On Tuesday, April 16, 2013 12:15:53 AM UTC-7, Cédric Krier wrote: On 15/04/13 21:00 -0700, Ian Wilson wrote: I tried to turn on sql logging with Transaction().cursor.sql_log = True at the start of my do_process method. I'm not sure if there is a better way and that will work. I