[FIX]purchase_requisition: view titles, help messages, documentation
bzr revid: je@bcim.be-20130625094927-c9486m672xn3m8fz
This commit is contained in:
parent
d9057b17f5
commit
1e2872c521
|
@ -163,7 +163,7 @@ class purchase_requisition(osv.osv):
|
|||
|
||||
|
||||
def open_rfq(self, cr, uid, ids, context=None):
|
||||
""" This opens rfq view to view all quotations associated to the tender
|
||||
""" This opens rfq view to view all quotations associated to the call for bids
|
||||
@return: the RFQ tree view
|
||||
"""
|
||||
if context is None:
|
||||
|
@ -339,7 +339,7 @@ class purchase_requisition(osv.osv):
|
|||
for quotation in tender.purchase_ids:
|
||||
if quotation.state in ['draft', 'sent', 'bid']:
|
||||
wf_service.trg_validate(uid, 'purchase.order', quotation.id, 'purchase_cancel', cr)
|
||||
po.message_post(cr, uid, [quotation.id], body=_('Cancelled by the tender associated to this quotation.'), context=context)
|
||||
po.message_post(cr, uid, [quotation.id], body=_('Cancelled by the call for bids associated to this request for quotation.'), context=context)
|
||||
return True
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<report auto="False" id="report_purchase_requisition" model="purchase.requisition" name="purchase.requisition" rml="purchase_requisition/report/purchase_requisition.rml" string="Request for Tender"/>
|
||||
<report auto="False" id="report_purchase_requisition" model="purchase.requisition" name="purchase.requisition" rml="purchase_requisition/report/purchase_requisition.rml" string="Call for Bids"/>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -177,11 +177,11 @@
|
|||
<p class="oe_view_nocontent_create">
|
||||
Click to start a new Call for Bids process.
|
||||
</p><p>
|
||||
A Call for Bids is the step before a request for quotation.
|
||||
In a purchase requisition (or purchase tender), you can record the
|
||||
products you need to buy and trigger the creation of RfQs to
|
||||
suppliers. After the negotiation, once you have reviewed all the
|
||||
supplier's offers, you can validate some and cancel others.
|
||||
A Call for Bids is a procedure for generating competing offers from
|
||||
different bidders. In the call for bids, you can record the
|
||||
products you need to buy and generate the creation of RfQs to
|
||||
suppliers. Once the bids have been registered, you can review and
|
||||
compare them and you can validate some and cancel others.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -38,7 +38,7 @@ class purchase_requisition_partner(osv.osv_memory):
|
|||
record_id = context and context.get('active_id', False) or False
|
||||
tender = self.pool.get('purchase.requisition').browse(cr, uid, record_id, context=context)
|
||||
if not tender.line_ids:
|
||||
raise osv.except_osv(_('Error!'), _('No Product in Tender.'))
|
||||
raise osv.except_osv(_('Error!'), _('No product in call for bids.'))
|
||||
return res
|
||||
|
||||
def create_order(self, cr, uid, ids, context=None):
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<data>
|
||||
|
||||
<record id="view_purchase_requisition_partner" model="ir.ui.view">
|
||||
<field name="name">Request for Tender</field>
|
||||
<field name="name">Choose Supplier</field>
|
||||
<field name="model">purchase.requisition.partner</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Purchase Requisition" version="7.0">
|
||||
<form string="Choose Supplier" version="7.0">
|
||||
<group>
|
||||
<field name="partner_id" context="{'default_supplier': 1, 'default_customer': 0}"/>
|
||||
</group>
|
||||
|
@ -19,7 +19,7 @@
|
|||
</record>
|
||||
|
||||
<record id="action_purchase_requisition_partner" model="ir.actions.act_window">
|
||||
<field name="name">Request for Tender</field>
|
||||
<field name="name">Choose Supplier</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">purchase.requisition.partner</field>
|
||||
<field name="view_type">form</field>
|
||||
|
|
Loading…
Reference in New Issue