bzr revid: fp@tinyerp.com-20090117221645-8wth23u22h7rlo42
This commit is contained in:
Fabien Pinckaers 2009-01-17 23:16:45 +01:00
parent 302eda2f5d
commit bb586419ae
4 changed files with 6 additions and 3 deletions

View File

@ -130,6 +130,7 @@ class account_account(osv.osv):
_name = "account.account"
_description = "Account"
_parent_store = True
_parent_order = 'length(code),code'
def search(self, cr, uid, args, offset=0, limit=None, order=None,
context=None, count=False):

View File

@ -118,7 +118,7 @@ class hr_employee(osv.osv):
'user_id' : fields.many2one('res.users', 'Related User'),
'country_id' : fields.many2one('res.country', 'Nationality'),
'birthday' : fields.date("Started on"),
'birthday' : fields.date("Birthday"),
'ssnid': fields.char('SSN No', size=32),
'sinid': fields.char('SIN No', size=32),
'otherid': fields.char('Other ID', size=32),

View File

@ -28,7 +28,9 @@
"website" : "http://www.openerp.com",
"category" : "Generic Modules/Projects & Services",
"depends" : ["product", "account", "hr", "process"],
"description": "Project management module that track multi-level projects, tasks, works done on tasks, eso. It is able to render planning, order tasks, eso.",
"description": """Project management module that track multi-level projects, tasks,
works done on tasks, eso. It is able to render planning, order tasks, eso.
""",
"init_xml" : [],
"demo_xml" : ["project_demo.xml"],
"update_xml": [

View File

@ -54,7 +54,7 @@ class stock_location(osv.osv):
_description = "Location"
_parent_name = "location_id"
_parent_store = True
_parent_order = 'name'
_parent_order = 'id'
_order = 'parent_left'
def _complete_name(self, cr, uid, ids, name, args, context):