On 03/09/12 05:29 -0700, erik.vh wrote:
> Op vrijdag 31 augustus 2012 11:44:35 UTC+2 schreef Cédric Krier het 
> volgende:
> >
> > On 31/08/12 02:32 -0700, erik.vh wrote: 
> > > Hi, 
> > > 
> > > Is there a possibility to start developing a new module, tarting from an 
> > > existing database table? 
> >
> > Yes. 
> >
> > > If yes, what's the most convenient way to do this? How to get started? 
> >
> > You must create a ModelSQL that will use this table by setting the 
> > attribute _table [1]. 
> >
> >
> OK, is it then possible that the python code for the class gets generated? 

No, Tryton works the otherway, it is the class that define the table.

> Same question for Views and other UI elements, or is this coding a required 
> manual effort.

Tryton will generate a default view for each missing view but they are
not the best views :-)

-- 
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: pgpFCDkq6If7e.pgp
Description: PGP signature

Reply via email to