Sélectionner une révision Git
account_payment_order.xml
Bifurcation depuis
Le Filament / Confédération Générale des SCOP / cgscop_cotisation
Le projet source a une visibilité limitée.
account_payment_order.xml 2,73 Kio
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Copyright 2020 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<data>
<record id="account_payment_order_form" model="ir.ui.view">
<field name="name">account.payment.order.form</field>
<field name="model">account.payment.order</field>
<field name="inherit_id" ref="account_payment_order.account_payment_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='bank_line_count']" position="after">
<field name="payment_line_amount"/>
<field name="bank_line_amount"/>
<button name="view_payment_line"
type="object"
string="Modifier les lignes de paiement"
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
</xpath>
<xpath expr="//notebook" position="inside">
<page name="attachments" string="Fichiers de prélèvements">
<field name="attachment_ids">
<tree>
<field name="create_date"/>
<field name="name"/>
<field name="type"/>
<field name="datas" filename="datas_fname"/>
<field name="create_uid"/>
</tree>
<form>
<h1><field name="name"/></h1>
<group>
<group>
<field name="datas" filename="datas_fname" attrs="{'invisible':[('type','=','url')]}" string="Télécharger le fichier"/>
<field name="datas_fname" 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"/>
</group>
<group>
<field name="create_uid"/>
<field name="create_date"/>
</group>
</group>
</form>
</field>
</page>
</xpath>
</field>
</record>
</data>
</odoo>