How can I make a field (M2o) invisible if it doesn't contain any values?
This question has been flagged
1
Reply
5901
डेटा देखने का तरीका
Hi,
If your Many2one field is ‘partner_id’. Then you can set ‘invisible’ attribute inside ‘attrs’ like this in your xml file.
<field name="partner_id" attrs="{'invisible':[('partner_id', '=', False)]}"/>
Regards
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
|
2
दिस॰ 19
|
5850 | ||
|
|
1
अप्रैल 26
|
4758 | ||
|
|
4
जन॰ 24
|
26437 | ||
|
Attrs attribute
Solved
|
|
2
जन॰ 24
|
4843 | |
|
Odoo Mail Sending Limit
Solved
|
|
2
दिस॰ 23
|
19069 |