You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
607 B
13 lines
607 B
from openerp import api,models,fields
|
|
from openerp.osv import fields as old_fields
|
|
|
|
class hr_employee(models.Model):
|
|
_inherit = 'hr.employee'
|
|
|
|
default_section_id = fields.Many2one('crm.case.section', 'Default Sales Team', related='user_id.default_section_id')
|
|
|
|
personal_comission = fields.Float('Personal comission', help='Personal comission for sales. Value 1.0 is equal 1%')
|
|
|
|
team_bonus = fields.Float('Team bonus', help='Maximum team bonus (per year). Value 1.0 is equal 1%')
|
|
|
|
company_bonus = fields.Float('Company bonus', help='Maximum team bonus (per year). Value 1.0 is equal 1%')
|