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

Hi,

I would like to do a tree view which each element refer to an invoice. So when the user click on the line (which contain the partner_id and the invoice_id, and i can add more many2one field if necessary) i would like that it send him on the invoice related to.

Is it possible ? If yes, how please ?

Cordially.

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

standard openerp only allows a link from a form view not a tree view. the alternative is to add an action button on the tree view - see inwards goods picking for an example

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

For the button there's some things that i don't know how to do (sorry i'm starting in developping module) :
 the name="something_there" is related to a function in my module.py file ? But how i can send the client in the invoice which is related to the invoice_id and partner_id actual line ?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
"Search More..." in many2one field แก้ไขแล้ว
4
พ.ย. 24
21315
1
มี.ค. 15
12113
0
มี.ค. 15
4035
0
มี.ค. 15
5730
5
เม.ย. 25
15879