[FIX]purchase_requisition: rename "choosing line" state to "close bids"

bzr revid: csn@openerp.com-20130619094805-k02q78d0ya6wbah0
This commit is contained in:
Cedric Snauwaert
2013-06-19 11:48:05 +02:00
parent cb16936dfc
commit eaa1e24fa4
2 changed files with 2 additions and 2 deletions
@@ -58,7 +58,7 @@ class purchase_requisition(osv.osv):
'line_ids' : fields.one2many('purchase.requisition.line','requisition_id','Products to Purchase',states={'done': [('readonly', True)]}),
'move_dest_id': fields.many2one('stock.move', 'Reservation Destination', ondelete='set null'),
'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse'),
'state': fields.selection([('draft','Draft Tender'),('in_progress','Tender Confirmed'),('open','Choosing Lines'),('done','PO Created'),('cancel','Cancelled')],
'state': fields.selection([('draft','Draft Tender'),('in_progress','Tender Confirmed'),('open','Close Bids'),('done','PO Created'),('cancel','Cancelled')],
'Status', track_visibility='onchange', required=True),
'multiple_rfq_per_supplier': fields.boolean('Multiple RFQ per supplier'),
'account_analytic_id':fields.many2one('account.analytic.account', 'Analytic Account'),
@@ -31,7 +31,7 @@
<form string="Request for Tender" version="7.0">
<header>
<button name="sent_suppliers" states="draft" string="Confirm Tender" class="oe_highlight"/>
<button name="open_bid" states="in_progress" string="Choose supplier(s)" class="oe_highlight"/>
<button name="open_bid" states="in_progress" string="Close Bids" class="oe_highlight"/>
<button name="tender_reset" states="cancel" string="Reset to Draft" type="object" />
<button name="open_product_line" states="open" string="Choose product lines" type="object" class="oe_highlight" groups="purchase.group_advance_bidding"/>
<button name="generate_po" states="open" string="Make Purchase" type="object" class="oe_highlight"/>