1
<?xml version="1.0" encoding="utf-8"?>
5
<record id="view_account_invoice_debit" model="ir.ui.view">
6
<field name="name">account.invoice.debit.form</field>
7
<field name="model">account.invoice.debit</field>
8
<field name="type">form</field>
9
<field name="arch" type="xml">
10
<form string="Debit Note">
11
<separator string="Debit Note Options" colspan="4"/>
13
<field name="description"/>
14
<field name="journal_id" widget='selection'/>
16
<field name="period"/>
17
<field name="comment" colspan="4"/>
19
<separator colspan="4"/>
20
<group col="4" colspan="4" fill="1">
21
<label align="0.0" width="300" string="Debit Invoice: Creates the debit note invoice, ready for editing."/>
23
<separator colspan="4"/>
24
<group colspan="4" col="6">
25
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
26
<button string='Debit Note' icon="gtk-execute" name="invoice_debit" type="object"/>
32
<record id="action_account_invoice_debit" model="ir.actions.act_window">
33
<field name="name">Debit Note</field>
34
<field name="res_model">account.invoice.debit</field>
35
<field name="view_type">form</field>
36
<field name="view_mode">tree,form</field>
37
<field name="view_id" ref="view_account_invoice_debit"/>
38
<field name="target">new</field>