Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7043 มุมมอง

For my projects I want to know who is in the team of my customer.

I can only add users to projects, but not normal contacts... Any idea how to achieve this?

Thank you for your help!

Cubic

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can add a custom field to project.project.

'customer_team_ids': fields.many2many('res.partner', 'project_partner_rel', 'project_id', 'partner_id', 'Customer Team')

<field name="customer_team_ids"/>

Either using the webclient or a custom python module.

EDIT:

If you want to avoid programming, you can use the webclient to add the field.

Log in as admin with Technical Settings access. Go to Settings -> Technical -> Database Structure -> Models. Select the project.project and add a new many2many field with Object Relation 'res.partner'.

Next go to Settings -> Technical -> Database Structure -> User Interface. Select the project form view (I think it is 'project.edit_project') and duplicate it. Rename your duplicate, set the Inherited View to the view you've just duplicated and add the field where you want it.

Hope that helps.

 

Regards.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I am not that deep in openerp... so there is no out of the box solution?

I need code this?

 

Will be a tough time to find out where to start, but thanks a lot for your help!!! I'd also appreciate a few more hints for a real newbie.

:)

Addition: Great input, thank you for your help!

 

Cheers, cubic

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi cubic! if you need help with odoo (OpenERP) you can just send me an E-Mail. Our office is in Graz so i guess you could come over if you need urgent help :)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
682
2
มิ.ย. 25
2640
1
มิ.ย. 25
1033
3
พ.ค. 25
2634
Install your own modules in Odoo แก้ไขแล้ว
2
ก.ค. 25
1531