From e27a900154c904c990010c236cfbda53d3bbe986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 28 Nov 2008 18:27:40 +0100 Subject: [PATCH] Add more menu entries for invoice and fix views --- invoice.xml | 250 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 245 insertions(+), 5 deletions(-) diff --git a/invoice.xml b/invoice.xml index 91ae3e452f..3623f71039 100644 --- a/invoice.xml +++ b/invoice.xml @@ -191,12 +191,12 @@ this repository contains the full copyright notices and license terms. --> - + - - - + + + @@ -372,6 +372,66 @@ this repository contains the full copyright notices and license terms. --> action="act_invoice_out_invoice_form2" id="menu_invoice_out_invoice_form2" sequence="1"/> + + Draft Invoices + account.invoice + form + [('type', '=', 'out_invoice'), ('state', '=', 'draft')] + {'type': 'out_invoice'} + + + + + + + + + + + + + + + Pro Forma Invoices + account.invoice + form + [('type', '=', 'out_invoice'), ('state', '=', 'proforma')] + {'type': 'out_invoice'} + + + + + + + + + + + + + + + Opened Invoices + account.invoice + form + [('type', '=', 'out_invoice'), ('state', '=', 'open')] + {'type': 'out_invoice'} + + + + + + + + + + + + + Credit Notes account.invoice @@ -413,6 +473,66 @@ this repository contains the full copyright notices and license terms. --> action="act_invoice_out_credit_note_form2" id="menu_invoice_out_credit_note_form2" sequence="1"/> + + Draft Credit Notes + account.invoice + form + [('type', '=', 'out_credit_note'), ('domain', '=', 'draft')] + {'type': 'out_credit_note'} + + + + + + + + + + + + + + + Pro Forma Credit Notes + account.invoice + form + [('type', '=', 'out_credit_note'), ('domain', '=', 'proforma')] + {'type': 'out_credit_note'} + + + + + + + + + + + + + + + Opened Credit Notes + account.invoice + form + [('type', '=', 'out_credit_note'), ('domain', '=', 'open')] + {'type': 'out_credit_note'} + + + + + + + + + + + + + Supplier Invoices account.invoice @@ -454,6 +574,66 @@ this repository contains the full copyright notices and license terms. --> action="act_invoice_in_invoice_form2" id="menu_invoice_in_invoice_form2" sequence="1"/> + + Draft Supplier Invoices + account.invoice + form + [('type', '=', 'in_invoice'), ('state', '=', 'draft')] + {'type': 'in_invoice'} + + + + + + + + + + + + + + + Pro Forma Supplier Invoices + account.invoice + form + [('type', '=', 'in_invoice'), ('state', '=', 'proforma')] + {'type': 'in_invoice'} + + + + + + + + + + + + + + + Opened Supplier Invoices + account.invoice + form + [('type', '=', 'in_invoice'), ('state', '=', 'open')] + {'type': 'in_invoice'} + + + + + + + + + + + + + Supplier Credit Notes account.invoice @@ -495,6 +675,66 @@ this repository contains the full copyright notices and license terms. --> action="act_invoice_in_credit_note_form2" id="menu_invoice_in_credit_note_form2" sequence="1"/> + + Draft Supplier Credit Notes + account.invoice + form + [('type', '=', 'in_credit_note'), ('state', '=', 'draft')] + {'type': 'in_credit_note'} + + + + + + + + + + + + + + + Pro Forma Supplier Credit Notes + account.invoice + form + [('type', '=', 'in_credit_note'), ('state', '=', 'proforma')] + {'type': 'in_credit_note'} + + + + + + + + + + + + + + + Opened Supplier Credit Notes + account.invoice + form + [('type', '=', 'in_credit_note'), ('state', '=', 'open')] + {'type': 'in_credit_note'} + + + + + + + + + + + + + @@ -629,7 +869,7 @@ this repository contains the full copyright notices and license terms. --> - + ]]>