From d108a970e69022e1673a3c108d7b6421dd965fc5 Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Fri, 3 Dec 2010 18:36:21 +0530 Subject: [PATCH] [ADD]wizard to change Product Quantity from Product form View bzr revid: ron@tinyerp.com-20101203130621-ddfrcf36mls4p7q5 --- addons/stock/__openerp__.py | 5 +- addons/stock/product_view.xml | 5 +- addons/stock/stock.py | 1 - addons/stock/wizard/__init__.py | 2 +- .../stock/wizard/stock_change_product_qty.py | 106 ++++++++++++++++++ .../wizard/stock_change_product_qty_view.xml | 37 ++++++ 6 files changed, 151 insertions(+), 5 deletions(-) create mode 100644 addons/stock/wizard/stock_change_product_qty.py create mode 100644 addons/stock/wizard/stock_change_product_qty_view.xml diff --git a/addons/stock/__openerp__.py b/addons/stock/__openerp__.py index 0b85511050d..987a0e12493 100644 --- a/addons/stock/__openerp__.py +++ b/addons/stock/__openerp__.py @@ -45,10 +45,11 @@ Thanks to the double entry management, the inventory controlling is powerful and "init_xml" : [], "demo_xml" : ["stock_demo.xml"], "update_xml" : [ - "security/stock_security.xml", - "security/ir.model.access.csv", + "security/stock_security.xml", + "security/ir.model.access.csv", "stock_data.xml", "wizard/stock_move_view.xml", + "wizard/stock_change_product_qty_view.xml", "wizard/stock_partial_picking_view.xml", "wizard/stock_partial_move_view.xml", "wizard/stock_fill_inventory_view.xml", diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index 35715a9e1fb..04344e18c16 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -102,9 +102,12 @@ - + +