l10n-switzerland-flectra/l10n_ch_payment_slip/wizard/isr_batch_print.xml
Raphael Ritter 14a109dc87 [ADD] l10n_ch_payment_slip
[ADD] l10n_ch_zip
[ADD] l10n_ch_bank_statement_import_postfinance
2021-07-16 16:21:21 +02:00

35 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="isr_batch_print_view" model="ir.ui.view">
<field name="name">ISR Batch Print Wizard</field>
<field name="model">isr.batch.print.wizard</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="ISR Batch Print Wizard">
<div attrs="{'invisible': [('error_message', '!=', False)]}">
<p>These invoices were successfully checked for the payment slip to be printed.</p>
<field name="invoice_ids" readonly="True" />
</div>
<div attrs="{'invisible': [('error_message', '=', False)]}">
<p>The payment slip can't be generated for some invoices you selected. Please review according to the following messages.</p>
<field name="error_message"/>
</div>
<footer>
<button string="Print payment slips" name="print_payment_slips" type="object" default_focus="1" class="btn-primary" attrs="{'invisible': [('error_message', '!=', False)]}"/>
<button string="Cancel" class="btn-default" special="cancel"/>
</footer>
</form>
</field>
</record>
<act_window id="wizard_isr_batch_print"
multi="True"
key2="client_action_multi"
name="ISR Batch Print"
res_model="isr.batch.print.wizard"
src_model="account.move"
view_mode="form"
target="new"/>
</flectra>