Help

2

How do I set the text that is used by breadcrumbs in a custom module?

Avatar
Shaun Dawson

I have a custom module with several objects.

In OpenERP 7.0, there is a new breadcrumbs feature where if I follow a particular path to a form through relationships of objects, I see links to the objects that I used to get to where I am.

In general, the text that is used for those links is the value of the "name" property.

However, if I don't have a "name" property, the value is cryptic, like "module_name.object,1".

What do I need to do to have something sensible in the breadcrumbs there?

1 Comment
Avatar
Discard
Avatar
Soohoo
-

if it solves your problem please do accept the answer and give a up vote

1 Answer
5
Avatar
Soohoo
Best Answer

Hi ,

you can

_rec_name = 'field_name'

refer https://accounts.openerp.com/forum/Help-1/question/39188/

2 Comments
Avatar
Discard
Avatar
Soohoo
-

if it solves your problem please do accept the answer and give a up vote

Avatar
Kamrul Hasan
-

It's working fine.