From e14bcd6de2c4fe9d78b05b0aee3945b5b34a2874 Mon Sep 17 00:00:00 2001
From: "nel@tinyerp.com" <>
Date: Sun, 13 Jun 2010 21:02:52 +0200
Subject: [PATCH] [IMP] change views
bzr revid: nel@tinyerp.com-20100613190252-al3hxqs23jt4e6hz
---
addons/stock/stock_view.xml | 26 +++++++------
addons/stock/wizard/stock_partial_move.py | 39 +++++++++++++-------
addons/stock/wizard/stock_partial_picking.py | 25 ++++++++++++-
3 files changed, 63 insertions(+), 27 deletions(-)
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 5e011b9fb5b..ef9810196fe 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -632,7 +632,7 @@
-
+
@@ -785,7 +785,7 @@
-
+
@@ -1065,7 +1065,7 @@
- Outgoing Products
+ Outgoing Packings
stock.picking
ir.actions.act_window
form
@@ -1143,7 +1143,7 @@
-
+
@@ -1374,7 +1374,7 @@
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
-
+
@@ -1460,7 +1460,9 @@
+
+
@@ -1501,7 +1503,7 @@
-
+
@@ -1554,7 +1556,7 @@
- Incoming Packings
+ Incoming Products
stock.move
ir.actions.act_window
form
@@ -1766,7 +1768,7 @@
- Outcoming Packings
+ Outgoing Products
stock.move
ir.actions.act_window
form
diff --git a/addons/stock/wizard/stock_partial_move.py b/addons/stock/wizard/stock_partial_move.py
index 0f538748a98..8f283ebee62 100644
--- a/addons/stock/wizard/stock_partial_move.py
+++ b/addons/stock/wizard/stock_partial_move.py
@@ -31,8 +31,9 @@ class stock_partial_move(osv.osv_memory):
_description = "Partial Move"
_columns = {
'date': fields.datetime('Date', required=True),
- 'partner_id': fields.many2one('res.partner',string="Partner", required=True),
- 'address_id': fields.many2one('res.partner.address', 'Delivery Address', help="Address where goods are to be delivered", required=True),
+ 'partner_id': fields.many2one('res.partner',string="Partner"),
+ 'type': fields.char("Type", size=3),
+ 'address_id': fields.many2one('res.partner.address', 'Delivery Address', help="Address where goods are to be delivered"),
}
def view_init(self, cr, uid, fields_list, context=None):
@@ -66,11 +67,14 @@ class stock_partial_move(osv.osv_memory):
_moves_arch_lst = """