Community mailing list archives

Re: User defined fields on v9 don't show up in fields_get()

Mustafa Babiker El-Siddig Mustafa Hamad
- 01/05/2016 09:48:48


You guessed right. It is due to a change in api. A lot of other things changed as well from V8 to V9.


On Jan 5, 2016 5:43 PM, "Karlis Dreizis" <> wrote:
It seems there is some inconsistent behavior between v8 and v9 custome defined fields

If you add fields to a model from the interface on v9.

Settings -> Database Structures -> Models -> Choose one -> Add field 

The new ir.mode.fields record is created with state base rather than manual. As consequence the fields_get() or self._columns, self, self_fields don't return said fields. 

Is this a bug? Or is there a change in API?


Post to: