From 9483a836a9dce15ddea620e58372a7e890fff115 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Thu, 3 May 2012 17:08:55 +0530 Subject: [PATCH] [IMP]mrp_repair : Added state and buttons on top bar bzr revid: mma@tinyerp.com-20120503113855-pwk5plarj5iajvef --- addons/mrp_repair/mrp_repair.py | 2 +- addons/mrp_repair/mrp_repair_view.xml | 37 +++++++++++++++------------ 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/addons/mrp_repair/mrp_repair.py b/addons/mrp_repair/mrp_repair.py index 4a0085e3db9..619df6d540c 100644 --- a/addons/mrp_repair/mrp_repair.py +++ b/addons/mrp_repair/mrp_repair.py @@ -123,8 +123,8 @@ class mrp_repair(osv.osv): 'state': fields.selection([ ('draft','Quotation'), ('confirmed','Confirmed'), - ('ready','Ready to Repair'), ('under_repair','Under Repair'), + ('ready','Ready to Repair'), ('2binvoiced','To be Invoiced'), ('invoice_except','Invoice Exception'), ('done','Done'), diff --git a/addons/mrp_repair/mrp_repair_view.xml b/addons/mrp_repair/mrp_repair_view.xml index 6af1dc702fa..5361b3544d9 100644 --- a/addons/mrp_repair/mrp_repair_view.xml +++ b/addons/mrp_repair/mrp_repair_view.xml @@ -27,8 +27,25 @@ mrp.repair form -
- + +
+
+ + @@ -99,21 +116,6 @@