* pobsteta [2011-04-18 14:04 +0200]:
Bonjour,

Et comment surcharges-tu la vue :

Est-ce dans attachment.xml qu'il faut ajouter :

<page string="Preview" name="preview" col="1">
      <field name="datas" widget="image"/>
      <field name="width" value="100"/>
      <field name="height" value="100"/>
</page>

ou dans un autre xml ? ou d'une autre façon ? un exemple ?

Il faut utiliser un xpath : 
http://doc.tryton.org/1.8/trytond/doc/topics/views/extension.html#extending-view
Tu as un exemple dans le module company.

--
Nicolas Évrard

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

--
[email protected] mailing list

Répondre à