Odoo Help

0

Possible to show mobile if no phone in customer list view in v7?

By
Sean Samborski
on 12/30/13, 11:44 PM 1,115 views

Right now if there is no phone on record, but there is a mobile number on record, the list view just shows a blank field. It's looking for phone, but I was wondering if it was possible to make it look for phone and then mobile if no phone.

1
kaynis
On 12/31/13, 6:38 AM

The list view is like a table and it is simply displaying the content of the table. What you can do is to add the mobile field to the columns that you want the tree view to display. This is very easy. just locate the address tree view in the xml and add the mobile field to it (test with this) so for ever contact, you have the mobile and phone displayed. once this works you can build a module that inherits the address mobile and replace the mobile field using xml

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/30/13, 11:44 PM
Seen: 1115 times
Last updated: 3/16/15, 8:10 AM