Odoo Help

0

0
2 Answers
0
Odoo Developer
8/1/16, 11:55 PM


Try it

<field name="domain">[('employee_id','=',active_id)]</field>




0
kirubanidhi
8/2/16, 6:43 AM

Staff view file :

<button type="action" name="%(college.studentaction_window)d"

class="oe_stat_button" icon="fa-fire"

context="{'search_default_staff_id': active_id}">

<field name="students_count" string="Student List" widget="statinfo" />

</button>

search_default_staff_id is related to student staff_id

Student py file:

staff_id = fields.Many2one('college.staff', string="staff iD")

Ask a Question
Writer
Keep Informed
1 follower(s)
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