[MERGE]:lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa-mrp_repair-mma
authorAmit Patel (OpenERP) <apa@tinyerp.com>
Fri, 4 May 2012 05:37:25 +0000 (11:07 +0530)
committerAmit Patel (OpenERP) <apa@tinyerp.com>
Fri, 4 May 2012 05:37:25 +0000 (11:07 +0530)
bzr revid: apa@tinyerp.com-20120504053725-q5xo6b3g5cgwf8zc

1  2 
addons/mrp_repair/mrp_repair.py

@@@ -122,13 -122,13 +122,13 @@@ class mrp_repair(osv.osv)
          'prodlot_id': fields.many2one('stock.production.lot', 'Lot Number', select=True, domain="[('product_id','=',product_id)]"),
          'state': fields.selection([
              ('draft','Quotation'),
++            ('cancel','Cancel'),
              ('confirmed','Confirmed'),
-             ('ready','Ready to Repair'),
              ('under_repair','Under Repair'),
+             ('ready','Ready to Repair'),
              ('2binvoiced','To be Invoiced'),
              ('invoice_except','Invoice Exception'),
--            ('done','Done'),
--            ('cancel','Cancel')
++            ('done','Done')
              ], 'State', readonly=True,
              help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed repair order. \
              \n* The \'Confirmed\' state is used when a user confirms the repair order. \