Odoo Help

0

Add base field to model

v7
By
Mihalache Ciprian
on 12/20/13, 9:01 AM 1,144 views

For example:

Setting -> Database -> Models > search for hr.analytic.timesheet

I want to add as item employee_id. But this is a base field and I am only allowed to add custom field with x in front.

  • Timesheet Activities is related only to user_id and I need to add also employee_id so I can create than a security rule.

Thanks.

0
Denis Karataev
On 12/22/13, 2:03 PM

You shouldn't add extra field for Employee. For example open Human Resources/Employees/Employee Form and click to Timesheets button. Then you will see timesheets for selected employee. Because every employee has a field "Related user" and OpenERP can get Employee by user.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 12/20/13, 9:01 AM
Seen: 1144 times
Last updated: 3/16/15, 8:10 AM