parent
3bbc7e0efc
commit
ffb10a71f6
|
@ -22,11 +22,11 @@
|
||||||
from osv import osv, fields
|
from osv import osv, fields
|
||||||
|
|
||||||
class event_event(osv.osv):
|
class event_event(osv.osv):
|
||||||
_description = "Portal event"
|
_description = 'Portal event'
|
||||||
_inherit = 'event.event'
|
_inherit = 'event.event'
|
||||||
|
|
||||||
"""
|
"""
|
||||||
``visibility``: defines if the employee appears on the portal's contact page
|
``visibility``: defines if the event appears on the portal's event page
|
||||||
- 'public' means the event will appear for everyone (anonymous)
|
- 'public' means the event will appear for everyone (anonymous)
|
||||||
- 'private' means the event won't appear
|
- 'private' means the event won't appear
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -40,7 +40,7 @@ class crm_contact_us(osv.TransientModel):
|
||||||
}
|
}
|
||||||
|
|
||||||
class hr_employee(osv.osv):
|
class hr_employee(osv.osv):
|
||||||
_description = "Portal employee"
|
_description = 'Portal employee'
|
||||||
_inherit = 'hr.employee'
|
_inherit = 'hr.employee'
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue