Em 10/04/2014 17:15, Cédric Krier escreveu:
On 10 Apr 16:11, Iasmini - Gmail wrote:
What I want is:
3 tables: financial_financial, financial_receivable and financial_payable
3 classes: Financial, Receivable and Payable
2 screens: Receivable and Payable with own fields and Financial
fields on both.
Is there a way to do this on Tryton?
No more. The feature was removed because it causes too much issues
regarding access rights, triggers and behavior.
I think you should think about the database design. Why do you want 3
tables? Why 2 tables are not enough? Or even just 1 table?
After that, you have to think about models, is the Financial has meaning
alone? etc.
Ok, I'll make one table, as was done in the product.
But this way, there will be field in the financial table that makes
sense only to receivable and vice versa.
And if I were two tables, I would have to repeat the common fields at
two each.
--
Iasmini Gomes
Sílex Sistemas
www.silexsistemas.com.br
---
Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus
está ativa.
http://www.avast.com