AttributeError: 'NoneType' object has no attribute 'set_text'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP sa GTK client R&D |
Bug Description
Hi,
I'm using the trunk GTK client. I have a fields.reference used in a form view. This is the form view used from a one2many double click. I added a dynamic "attrs" on this reference field to make it readonly if a boolean field is not checked.
This work fine when I double click on line in the one2many for the first time : The form view opens, and my field is readonly until I check the combobox (btw, why the combobox is not readonly too ?).
But if I close the window and double-click on the same item, then I got this error in my client console :
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
model_
File "/home/
model.
File "/home/
fnct(self, signal_data, *data)
File "/home/
self.
File "/home/
fnct(self, signal_data, *data)
File "/home/
self.display()
File "/home/
self.
File "/home/
widget.
File "/home/
self.
File "/home/
self.
AttributeError: 'NoneType' object has no attribute 'set_text'
Then my dynamic attrs doesn't work anymore.