I try to context.get field but but this field found in another object and I want Use it In Tree View. please help me how can I make this .
thank you so much .
I try to context.get field but but this field found in another object and I want Use it In Tree View. please help me how can I make this .
thank you so much .
Hi Mohammed.
try this:
inv_obj = self.pool.get('account.invoice')
for inv in inv_obj.browse(cr, uid, context.get('active_ids'), context=context):
-----
------
thank you so much for your attention but I want this in tree view how can I make it
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
2
Aug 22
|
8887 | |||
|
4
May 22
|
37526 | |||
|
0
Nov 17
|
8858 | |||
|
4
Sep 17
|
27768 | |||
|
0
Feb 16
|
7241 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
what does it mean context.get from another object? context isn't part of object