On 16/06/13 18:25 +0200, Sergi Almacellas Abellana wrote:
> Al 16/06/13 15:15, En/na Cédric Krier ha escrit:
> > On 16/06/13 13:36 +0200, Sergi Almacellas Abellana wrote:
> > For me, the issue is in the design of party_event. It should not be
> > a table filled by different kind of events but a view shown
> > different kind of events coming stored in different tables.
> That would make sense for me. What you understand for view? A view in
> the database or a view in the tryton framework. For me would make the
> view in the tryton framework, as new tables can be added from diferent
> modules. Can this be achived with tryton framework?

I mean something like
http://hg.tryton.org/modules/timesheet/file/c01280a7f66d/line.py#l178

See
http://doc.tryton.org/2.8/trytond/doc/ref/models/models.html?highlight=table_query#trytond.model.ModelSQL.table_query

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpE5meMOTsYn.pgp
Description: PGP signature

Reply via email to