Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3943 Näkymät

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?

Avatar
Hylkää
Tekijä Paras vastaus

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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 21
3895
0
maalisk. 15
3899
0
lokak. 15
7551
3
heinäk. 25
8776
1
toukok. 25
1073