Hello, I have this model here which has all available rooms.
I want a way to be able to count all available rooms but I don't particularly know how because these rooms are shown as a tree table in xml:
string="Hotel Room">
name="name"/>
name="categ_id"/>
name="list_price" string="Room rate"/>
name="status"/>
name="capacity"/>
I have tried creating many2one field to this model to get the records but it shows none. Could someone help me?