Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3945 Widoki

I added this to the bottom of my custom form, so that record create/update history would be shown:

<div class="oe_chatter">
                        <field name="message_follower_ids" widget="mail_followers" groups="base.group_user" />
                        <field name="message_ids" widget="mail_thread" />
                    </div>

However, the first entry lists "mymodule.classname created on . . ."  Yuck.  What do I do to replace the module/object name with a nicer string?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

It appears that what's shown comes from the "_description" property of the class declaration, so if you change that, you should get a nicer string.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 21
3895
0
mar 15
3899
0
paź 15
7553
3
lip 25
8778
1
maj 25
1073