[MOD] Add comment

bzr revid: vir@tinyerp.com-20100217065038-koeeeo4ll2nvgudk
This commit is contained in:
Vir (Open ERP) 2010-02-17 12:20:38 +05:30
parent b15c331db0
commit 469c4be64a
2 changed files with 9 additions and 9 deletions

View File

@ -166,11 +166,11 @@ class res_users(osv.osv):
}
res_users()
class department(osv.osv):
_inherit = 'res.users'
_description = "Users"
_columns = {
'context_department_id': fields.many2one('hr.department', 'Departments'),
}
department()
#class department(osv.osv):
# _inherit = 'res.users'
# _description = "Users"
# _columns = {
# 'context_department_id': fields.many2one('hr.department', 'Departments'),
# }
#department()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -75,7 +75,7 @@
<menuitem action="open_module_tree_department" id="menu_department_def" parent="hr.menu_department_tree"/>
<menuitem action="open_module_tree_department" id="menu_hr_department_tree" parent="menu_hr_human_resources"/>
<record model="ir.ui.view" id="view_department_form_simple_modif_inherited1">
<!--<record model="ir.ui.view" id="view_department_form_simple_modif_inherited1">
<field name="name">view.department.form.hr.inherited1</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form_simple_modif" />
@ -99,5 +99,5 @@
</field>
</field>
</record>
</data>
--></data>
</openerp>