Skip to content
Extraits de code Groupes Projets
Valider 8861fb5b rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] payment order attachment_ids view

parent e8466446
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -119,39 +119,28 @@ ...@@ -119,39 +119,28 @@
<!-- Affichage des fichers XML --> <!-- Affichage des fichers XML -->
<xpath expr="//notebook" position="inside"> <xpath expr="//notebook" position="inside">
<page name="attachments" string="Fichiers de prélèvements"> <page name="attachments" string="Fichiers de prélèvements">
<field name="attachment_ids"> <field name="attachment_ids" readonly="1" mode="tree">
<tree> <tree create="0" edit="0">
<field name="create_date" /> <field name="create_date" />
<field name="name" /> <field name="name" />
<field name="type" /> <field name="type" />
<field name="datas" filename="datas_fname" /> <field name="datas" filename="name" widget="binary" />
<field name="create_uid" /> <field name="create_uid" />
<!-- <button-->
<!-- name="download_sdd_file"-->
<!-- type="object"-->
<!-- string="Télécharger le fichier"-->
<!-- class="btn-sm btn-o-info"-->
<!-- />-->
</tree> </tree>
<form> <form>
<h1><field name="name"/></h1> <h1><field name="name"/></h1>
<group> <group>
<group> <group>
<field <field name="datas" filename="name" attrs="{'invisible':[('type','=','url')]}" string="Télécharger le fichier"/>
name="datas" <field name="name" invisible="1" attrs="{'invisible':[('type','=','url')]}" class="oe_inline oe_right"/>
filename="name" <field name="url" widget="url" attrs="{'invisible':[('type','=','binary')]}"/>
attrs="{'invisible':[('type','=','url')]}" <field name="mimetype" groups="base.group_no_one"/>
string="Télécharger le fichier"
/>
<field
name="name"
invisible="1"
attrs="{'invisible':[('type','=','url')]}"
class="oe_inline oe_right"
/>
<field
name="url"
widget="url"
attrs="{'invisible':[('type','=','binary')]}"
/>
<field
name="mimetype"
groups="base.group_no_one"
/>
<field name="type"/> <field name="type"/>
</group> </group>
<group> <group>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter