projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b5ca42
)
[IMP] hr: added default value for marital field
author
Quentin (OpenERP)
<qdp-launchpad@openerp.com>
Tue, 13 Sep 2011 09:40:46 +0000
(11:40 +0200)
committer
Quentin (OpenERP)
<qdp-launchpad@openerp.com>
Tue, 13 Sep 2011 09:40:46 +0000
(11:40 +0200)
bzr revid: qdp-launchpad@openerp.com-
20110913094046
-gvdcr59ohvglkogq
addons/hr/hr.py
patch
|
blob
|
history
diff --git
a/addons/hr/hr.py
b/addons/hr/hr.py
index
a2c4ee3
..
51ec40b
100644
(file)
--- a/
addons/hr/hr.py
+++ b/
addons/hr/hr.py
@@
-186,7
+186,8
@@
class hr_employee(osv.osv):
_defaults = {
'active': 1,
'photo': _get_photo,
- 'address_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).address_id.id
+ 'address_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).address_id.id,
+ 'marital': 'single',
}
def _check_recursion(self, cr, uid, ids, context=None):