Re: [tryton-dev] Payment Types

2011-12-05 Thread Mathias Behrle
* Betr.: Re: [tryton-dev] Payment Types (Mon, 5 Dec 2011 10:41:13 +0100): On 05/12/11 07:58 +0100, Albert Cervera i Areny wrote: A Dilluns, 5 de desembre de 2011 00:48:53, Cédric Krier va escriure: On 05/12/11 00:29 +0100, Jordi Esteve wrote: Al 04/12/11 23:55, En/na Cédric Krier ha

Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice

2011-12-05 Thread Albert Cervera i Areny
A Dilluns, 5 de desembre de 2011 10:54:02, Cédric Krier va escriure: On 05/12/11 07:47 +0100, Albert Cervera i Areny wrote: A Dilluns, 5 de desembre de 2011 00:00:34, Cédric Krier va escriure: On 04/12/11 21:47 +0100, Albert Cervera i Areny wrote: As $subject says, think we should

Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice

2011-12-05 Thread Albert Cervera i Areny
A Dilluns, 5 de desembre de 2011 10:46:58, Mathias Behrle va escriure: Well, there are two questions here: One is to make the relationship a One2One and the other one to add the field to account.move. For the former I think that it is better because that's simply the relationship that

Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice

2011-12-05 Thread Albert Cervera i Areny
A Dilluns, 5 de desembre de 2011 14:33:30, Cédric Krier va escriure: This is to be proven. Well, if the field is a Many2One as it currently is, you cannot have an invoice with several moves. How would you do that? I don't know but it will depend of the requirements. Then you'd

Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice

2011-12-05 Thread Cédric Krier
On 05/12/11 15:50 +0100, Albert Cervera i Areny wrote: No, One2One has a different representation at the database level. I think it is really right to have a Many2One on the invoice because it is the invoice who create the move. It will never be the move that creates the invoice but with a

Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice

2011-12-05 Thread Mathias Behrle
* Betr.: Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice (Mon, 5 Dec 2011 14:11:57 +0100): A Dilluns, 5 de desembre de 2011 10:46:58, Mathias Behrle va escriure: Well, there are two questions here: One is to make the relationship a One2One and the

[tryton-dev] New module account_credit_limit (issue193002)

2011-12-05 Thread cedric . krier
Reviewers: , Please review this at http://codereview.tryton.org/193002/ Affected files: A COPYRIGHT A INSTALL A LICENSE A MANIFEST.in A README A __init__.py A __tryton__.py A account.py A account.xml A doc/index.rst A party.py A party.xml A setup.py A

[tryton-dev] New module sale_credit_limit (issue191005)

2011-12-05 Thread cedric . krier
Reviewers: , Please review this at http://codereview.tryton.org/191005/ Affected files: A COPYRIGHT A INSTALL A LICENSE A MANIFEST.in A README A __init__.py A __tryton__.py A doc/index.rst A party.py A sale.py A setup.py A tests/__init__.py A

Re: [tryton-dev] Converting 'move' from a Many2One to a One2One in account.invoice

2011-12-05 Thread Albert Cervera i Areny
A Dilluns, 5 de desembre de 2011 16:12:33, Mathias Behrle va escriure: It is still a One2One because the name of the relationship is different. One is the move of the invoice and the other one of the payment. My point is: If you want to be able to browse from account moves to their