On 11 Feb 11:20, Nick Hall wrote:
> I also viewed this older 
> document: http://code.google.com/p/tryton/wiki/HelloWorld which has a 
> "Hello World" module development. However, the code for the view looks like:
> 
> ----------
> 
> <record model="ir.ui.view" id="hello_view_tree">
>             <field name="model">hello.hello</field>
>             <field name="type">tree</field>
>             <field name="arch" type="xml">
>                 <![CDATA[
>                 <tree string="Hello World">
>                     <field name="name"/>
>                     <field name="greeting"/>
>                 </tree>
>                 ]]>
>             </field>
>         </record>
> 
> ---------
> 
> 
> 
> when I looked at the code of other modules, it doesn't seem like this CDATA 
> xml structure is common, so I'm wondering if this documentation is 
> referring to an older way of writing modules?

Yes it comes from an old syntax that is no more supported.

> I'd like to walk through the steps of doing a complete, simple, module so I 
> can see how it is done and understand better how the different pieces of 
> Tryton fit together. Is there a guide that someone can recommend to me? Or 
> a good, simple, module to look at that uses best practices? Perhaps a 
> reference exists that I'm just not finding.

You should try the training module at http://hg.tryton.org/
it is queue patch (see the description)

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Reply via email to