2014-06-12 12:21 GMT+02:00 Dundivet <[email protected]>:

> Hi there, I need to know how to do the following in Tryton
>
> Assuming I have two tables: Person and Month which have the following
> columns:
> Person: ['ID_person', 'Person name', 'ID_month', 'month pay']
> Month: ['ID_month', 'Month name', 'days of month']
>
> I need to show a list of Persons (grouped by ID_person) and Total Payment
> of months worked. When you double-click on person you must switch to
> another view where shown that person payments broked down into months and
> the corresponding month's payment.
>
> So far I could only display the table with the totals grouped, but when
> trying to move to the more detailed view (where the salary be broken down
> by month) I get some errors for no reason.
>
> How I can implement this?
>

I think you can't do this that way. Maybe you can build a sql view with all
these fields and then show them in a single tree/form view of Tryton.


> Thanks in advance
>



-- 

Jesús Martín

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to