[tryton-dev] Making a new user with Pool().get('res.user')

2012-09-28 Thread Miguel Tasende
Hi! Maybe this question is too simple I am trying to make a new user with: usr_obj = Pool().get('res.user') usr_obj.create({'name':'my_name','login';'my_login','password':'my_password') I see there are 2 other required fields (in fact password isn't but I want to use it): login_try and

Re: [tryton-dev] CIA.vc is dead

2012-09-28 Thread Cédric Krier
On 27/09/12 18:22 -0500, zodman wrote: On Thu, Sep 27, 2012 at 4:26 PM, Cédric Krier cedric.kr...@b2ck.com wrote: Hi, CIA.vc [1] is dead. We used this service to get notification on the irc channel #tryton-commit. I'm looking for a simple replacement (better self-hosted). Is there

Re: [tryton-dev] Making a new user with Pool().get('res.user')

2012-09-28 Thread Bertrand Chenal
Le Thu, 27 Sep 2012 19:45:58 -0700 (PDT), Miguel Tasende miguel.tase...@gmail.com a écrit : Hi! Maybe this question is too simple I am trying to make a new user with: usr_obj = Pool().get('res.user') usr_obj.create({'name':'my_name','login';'my_login','password':'my_password') I

Re: [tryton-dev] Making a new user with Pool().get('res.user')

2012-09-28 Thread Bertrand Chenal
Le Fri, 28 Sep 2012 11:48:04 +0200, Bertrand Chenal bertrand.che...@b2ck.com a écrit : Le Thu, 27 Sep 2012 19:45:58 -0700 (PDT), Miguel Tasende miguel.tase...@gmail.com a écrit : Hi! Maybe this question is too simple I am trying to make a new user with: usr_obj =

Re: [tryton-dev] Default Values Many2Many fields

2012-09-28 Thread Raimon Esteve
2012/9/27 Cédric Krier cedric.kr...@b2ck.com a little question about framework: how to add default values in Many2Many It is just a list of ids Ok. In party.categories work fine. Thanks. But in product.template model, I can't add default values in supplier_taxes and customer_taxes fields.

[tryton-dev] account_product: On change account_expense/account_revenue. Set empty supplier/customer taxes list (issue 544002)

2012-09-28 Thread resteve
Reviewers: , Please review this at http://codereview.tryton.org/544002/ Affected files: M product.py Index: product.py === --- a/product.py +++ b/product.py @@ -257,22 +257,24 @@ def on_change_account_expense(self,

Re: [tryton-dev] account_product: On change account_expense/account_revenue. Set empty supplier/customer taxes list (issue 544002)

2012-09-28 Thread Cédric Krier
On 28/09/12 11:26 +, rest...@zikzakmedia.com wrote: Reviewers: , Please review this at http://codereview.tryton.org/544002/ Please fill an issue if you want to talk about it. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber:

Re: [tryton-dev] CIA.vc is dead

2012-09-28 Thread Mathias Behrle
* Betr.: [tryton-dev] CIA.vc is dead (Thu, 27 Sep 2012 23:26:34 +0200): CIA.vc [1] is dead. We used this service to get notification on the irc channel #tryton-commit. I'm looking for a simple replacement (better self-hosted). Is there anyone who has something to recommand? Perhaps this

Re: [tryton] Creating this search doman

2012-09-28 Thread Jean Cavallo
Here's the current domain that I have: What is the problem with this domain ? (error, does not work as intended...) Jean -- -- tryton@googlegroups.com mailing list

[tryton] sale_supply and sale_supply_drop_shipment

2012-09-28 Thread Cédric Krier
Hi, I have updated the codereview for 2.4 by moving the fields supply_on_request and drop_shipment from the sale line and move them to the product. I think it is more logical because it should not be the job of the salesmen. I made the decision extensible like that anyone can plug his own rule

Re: [tryton] Use tryton as a framework

2012-09-28 Thread Valentin Hapiot
In nereid we ignore it (and use it) depending on the situation. I think the best course of action would be to ignore it as it may not be worth the pain to remove ui.x models/module. If you explain your reasoning for why you want to remove the module we might be able to offer better

Re: [tryton] Use tryton as a framework

2012-09-28 Thread Valentin Hapiot
For my own curiosity what do you want to use tryton for? Nothing precise, but for some project I'm reviewing the persistance solutions available and I'm considering tryton for the moment I am afraid the easiest way is to ignore the ir.ui stuff, you will have some tables filled with

Re: [tryton] Creating this search doman

2012-09-28 Thread mohit sarla
dom = [ ['OR', [('lastname', '=', name)], [('firstname', '=', name)] ], this is write for all the records of a model for which one or both of two fields have the same value On Fri, Sep 28, 2012 at 4:37 PM, mohit sarla