diff --git a/addons/document_ftp/ftpserver/ftpserver.py b/addons/document_ftp/ftpserver/ftpserver.py index d04251a229d..3a85b3061a7 100644 --- a/addons/document_ftp/ftpserver/ftpserver.py +++ b/addons/document_ftp/ftpserver/ftpserver.py @@ -1975,7 +1975,7 @@ class FTPHandler(asynchat.async_chat): # which IPv6 address to use for binding the socket? # Unfortunately RFC-2428 does not provide satisfing information # on how to do that. The assumption is that we don't have any way - # to know wich address to use, hence we just use the same address + # to know which address to use, hence we just use the same address # family used on the control connection. if not line: self._make_epasv(extmode=True) diff --git a/addons/mrp_procurement/mrp_procurement.py b/addons/mrp_procurement/mrp_procurement.py index ceaefb4c4db..1f974318ee3 100644 --- a/addons/mrp_procurement/mrp_procurement.py +++ b/addons/mrp_procurement/mrp_procurement.py @@ -200,7 +200,7 @@ class mrp_procurement(osv.osv): return False # - # Return the quantity of product shipped/produced/served, wich may be + # Return the quantity of product shipped/produced/served, which may be # different from the planned quantity # def quantity_get(self, cr, uid, id, context={}): diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml index 604c2b75324..634bb9da109 100644 --- a/addons/product/pricelist_view.xml +++ b/addons/product/pricelist_view.xml @@ -97,6 +97,21 @@ + + product.pricelist.search + product.pricelist + search + + + + + + + + + + + product.pricelist.tree product.pricelist @@ -145,6 +160,7 @@ product.pricelist form tree,form + + diff --git a/addons/resource/resource.py b/addons/resource/resource.py index 225a6626ab1..6e8b7539fdc 100644 --- a/addons/resource/resource.py +++ b/addons/resource/resource.py @@ -35,7 +35,7 @@ class resource_calendar(osv.osv): 'manager' : fields.many2one('res.users', 'Workgroup manager'), } _defaults = { - 'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'resource.calendar', context=c) + 'company_id': lambda self, cr, uid, context: self.pool.get('res.company')._company_default_get(cr, uid, 'resource.calendar', context=context) } def interval_min_get(self, cr, uid, id, dt_from, hours, resource=False): diff --git a/addons/resource/resource_view.xml b/addons/resource/resource_view.xml index 7638de41ce2..861b577ddff 100644 --- a/addons/resource/resource_view.xml +++ b/addons/resource/resource_view.xml @@ -56,8 +56,8 @@ - - + + @@ -178,11 +178,11 @@ + -