[FIX]: Improve Treeview colors red to black, Improve tooltips in product form.
bzr revid: atp@tinyerp.com-20120625120824-f21tkf3x5uviiroq
This commit is contained in:
parent
eaa3f47b92
commit
f1db2c80cc
|
@ -98,7 +98,7 @@ class purchase_requisition(osv.osv):
|
|||
self.message_append_note(cr, uid, ids, body=_("""Purchase Requisition has been set to <b>draft</b>."""), context=context)
|
||||
|
||||
def done_to_send_note(self, cr, uid, ids, context=None):
|
||||
self.message_append_note(cr, uid, ids, body=_("Purchase Requisition has been set to <b>done</b>."), context=context)
|
||||
self.message_append_note(cr, uid, ids, body=_("Purchase Requisition has been <b>done</b>."), context=context)
|
||||
|
||||
def draft_send_note(self, cr, uid, ids, context=None):
|
||||
return self.message_append_note(cr, uid, ids, body=_("Purchase Requisition has been set to <b>draft</b>."), context=context)
|
||||
|
@ -283,7 +283,7 @@ class product_product(osv.osv):
|
|||
_inherit = 'product.product'
|
||||
|
||||
_columns = {
|
||||
'purchase_requisition': fields.boolean('Purchase Requisition', help="Check this box so that procurement generates purchase requisition instead of only generating requests for quotation.")
|
||||
'purchase_requisition': fields.boolean('Purchase Requisition', help="Check this box to generates purchase requisition instead of generating requests for quotation from procurement.")
|
||||
}
|
||||
_defaults = {
|
||||
'purchase_requisition': False
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
<field name="type">tree</field>
|
||||
<field name="model">purchase.requisition</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree fonts="bold:needaction_pending==True" colors="grey:state == 'cancel';red:date_end<current_date;black:date_end>=current_date;" string="Purchase Requisition">
|
||||
<tree fonts="bold:needaction_pending==True" colors="grey:state == 'cancel';red:date_end and date_end<current_date;black:date_end>current_date;" string="Purchase Requisition">
|
||||
<field name="needaction_pending" invisible="1"/>
|
||||
<field name="name"/>
|
||||
<field name="date_start"/>
|
||||
|
|
Loading…
Reference in New Issue