[FIX]Fixed two usability issue, regarding tax label and order of stock.picking.
authorMohammed Shekha <msh@openerp.com>
Wed, 16 Jan 2013 10:55:05 +0000 (16:25 +0530)
committerMohammed Shekha <msh@openerp.com>
Wed, 16 Jan 2013 10:55:05 +0000 (16:25 +0530)
bzr revid: msh@openerp.com-20130116105505-lovjzq5z5uisxz2v

addons/account/account_view.xml
addons/stock/stock.py

index 5e072c3..26ef04f 100644 (file)
                                     <field name="type"/>
                                     <field name="amount" class="oe_inline"
                                         attrs="{'invisible':[('type','in',('none', 'code', 'balance'))]}"/>
-                                    <label string="%%" attrs="{'invisible':[('type','&lt;&gt;','percent')]}"/>
+                                    <label string="%% Ratio" attrs="{'invisible':[('type','&lt;&gt;','percent')]}"/>
                                 </div>
                                 <field name="python_compute" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
                                 <field name="python_compute_inv" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
index 7198c89..8b0388b 100644 (file)
@@ -548,6 +548,7 @@ class stock_picking(osv.osv):
     _name = "stock.picking"
     _inherit = ['mail.thread']
     _description = "Picking List"
+    _order = "id desc"
 
     def _set_maximum_date(self, cr, uid, ids, name, value, arg, context=None):
         """ Calculates planned date if it is greater than 'value'.