Question

I am making a custom module in OpenERP. I have a list(tree) view and a form view. I can view and edit records. When I take the mobile view of the same module, I can see the main menu and browse to the sub menu, but no list view or form view is visible. All I can see is a blank page. Is my list definition worng?

<?xml version="1.0"?>    
<tree string = "Camera">    
    <field name = "a"/>    
    <field name = "b"/>    
</tree> 
Was it helpful?

Solution

I believe that after a menu option is selected, the following menu is a simple list with the name of each record.

It may be that you don't have any record yet.

Or it may be that you don't have a name field on the object model and views. Add that field (make it required) or, alternatively, set the object's _rec_name attribute (example: _rec_name = 'a').

OTHER TIPS

  • OE Mobile View is read-only mode
  • It does not have any type of view(like, tree or for, or kanban), It just show the view of record and show you have value. It hos wht name filed valeu on list then if you click on it it open detail view which show thw other detail. and yes try and add the record on your model.

Thank You

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top