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 exists between Invoices and Moves. You cannot have an invoice with > > several moves nor a move with several invoices, so that makes sense to > > me. > > Not sure about that. Because right now we also have a 'link' from move > lines to invoices for Payment Lines. If you are consequent, you will also > want to browse from those (payment) moves to the invoice, i.e. you will > have to update that invoice field (or display it via function field or > whatever) on the move of the line. And from that on it is no more one2one. >
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. -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
