From 74cbfc7b0bd81bbd6f73c83d29d740e99246f5a9 Mon Sep 17 00:00:00 2001
From: "RCH(Open ERP)" <>
Date: Tue, 12 Jan 2010 15:38:25 +0530
Subject: [PATCH] [MOD] Modification for the New Menu Structure, Procurement
Management
bzr revid: vir@tinyerp.com-20100112100825-elb3dlwjavyfyjyh
---
addons/account/account_invoice_view.xml | 12 +++++++
addons/base_contact/base_contact_view.xml | 3 +-
addons/mrp/mrp_view.xml | 17 ++++++++-
addons/product/product_view.xml | 10 ++++++
addons/purchase/__terp__.py | 4 +--
addons/purchase/purchase_view.xml | 36 +++++++++++++++++--
.../purchase_manual/purchase_manual_view.xml | 8 ++---
.../report_document/report_document_view.xml | 8 ++---
.../report_purchase/report_purchase_view.xml | 6 ++--
addons/sale_journal/picking_journal_view.xml | 4 +--
addons/stock/stock_view.xml | 4 +--
11 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index 9ca09af6c4f..8c3742d7f8d 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -349,6 +349,18 @@
{'type':'out_invoice'}
+
+
+ Panding Invoice
+ account.invoice
+ form
+ tree,form,calendar,graph
+
+ {'type':'out_invoice'}
+ [('state','=','draft')]
+
+
+
tree
diff --git a/addons/base_contact/base_contact_view.xml b/addons/base_contact/base_contact_view.xml
index 9dd387c0664..f8b50233877 100644
--- a/addons/base_contact/base_contact_view.xml
+++ b/addons/base_contact/base_contact_view.xml
@@ -420,6 +420,7 @@
res_model="res.partner.job"
src_model="res.partner"
/>
-
+
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 9218cf99d9f..fadc0443e0d 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -769,7 +769,7 @@
sequence="2" />
- Unscheduled Procurements
+ Requisitions
ir.actions.act_window
mrp.procurement
form
@@ -777,6 +777,21 @@
[('state','=','confirmed')]
+
+
+ Quotation Request
+ ir.actions.act_window
+ mrp.procurement
+ form
+ tree,form
+ [('state','=','draft')]
+
+
+
+
+
Procurement Exceptions
ir.actions.act_window
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml
index f472e40fe36..9f606226a4b 100644
--- a/addons/product/product_view.xml
+++ b/addons/product/product_view.xml
@@ -190,6 +190,16 @@
+
+ Products
+ ir.actions.act_window
+ product.product
+ form
+ [('purchase_ok','=',1)]
+
+
+
+
product.category.form
product.category
diff --git a/addons/purchase/__terp__.py b/addons/purchase/__terp__.py
index 018a961983e..f7eeb98be28 100644
--- a/addons/purchase/__terp__.py
+++ b/addons/purchase/__terp__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL ().
#
@@ -15,7 +15,7 @@
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
+# along with this program. If not, see .
#
##############################################################################
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index 966c331a95e..01f2ff22e84 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -1,8 +1,40 @@
- -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
purchase.order.calendar
@@ -140,7 +172,7 @@
tree,form,calendar,graph
-
+
Purchase Orders in Progress
diff --git a/addons/purchase_manual/purchase_manual_view.xml b/addons/purchase_manual/purchase_manual_view.xml
index de424bb17f6..60460f30546 100644
--- a/addons/purchase_manual/purchase_manual_view.xml
+++ b/addons/purchase_manual/purchase_manual_view.xml
@@ -5,7 +5,7 @@
#
# Define PO Line Views
#
-
+
purchase.order.form
purchase.order
@@ -54,7 +54,7 @@
-
+
#
# Inherit PO view to get buttons
#
@@ -77,7 +77,7 @@
-
+
Uninvoiced Purchase Order Lines
@@ -99,7 +99,7 @@
-
+
diff --git a/addons/report_document/report_document_view.xml b/addons/report_document/report_document_view.xml
index 423e02395d5..b8bee399f82 100644
--- a/addons/report_document/report_document_view.xml
+++ b/addons/report_document/report_document_view.xml
@@ -57,8 +57,8 @@
-
-
+
All Users files
@@ -68,7 +68,7 @@
-
+
@@ -107,7 +107,7 @@
tree,form
-
+
diff --git a/addons/report_purchase/report_purchase_view.xml b/addons/report_purchase/report_purchase_view.xml
index 9fd52a77a91..fdfd860461a 100644
--- a/addons/report_purchase/report_purchase_view.xml
+++ b/addons/report_purchase/report_purchase_view.xml
@@ -80,7 +80,8 @@
-
+
@@ -159,7 +160,8 @@
tree,graph
-
+
diff --git a/addons/sale_journal/picking_journal_view.xml b/addons/sale_journal/picking_journal_view.xml
index ac6160d9c3d..c164f50a787 100644
--- a/addons/sale_journal/picking_journal_view.xml
+++ b/addons/sale_journal/picking_journal_view.xml
@@ -87,8 +87,8 @@
-
-
+
+
Picking to invoice
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index c7f64a48b81..ea535930cf0 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -1064,7 +1064,7 @@
- Incoming Products
+ Incoming shipments
stock.picking
ir.actions.act_window
form
@@ -1310,7 +1310,7 @@
- Reception Picking Stock Moves
+ Incoming Products
stock.move
ir.actions.act_window
form