has also been added, because the action open_website_url linked to the publish button is not defined on res.users model (but on its inherited partner). It now has the method that is routed on its partner.
25 lines
946 B
XML
25 lines
946 B
XML
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- Update user form !-->
|
|
<record id="view_users_form_forum" model="ir.ui.view">
|
|
<field name="name">res.users.form.forum</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="base.view_users_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="signature" position="after">
|
|
<field name="karma" string="Forum Karma"/>
|
|
</field>
|
|
<xpath expr="//div[contains(@class, 'oe_right oe_button_box')]" position="inside">
|
|
<button class="oe_inline oe_stat_button" name="open_website_url"
|
|
type="object" icon="fa-globe">
|
|
<field name="website_published" widget="website_button"/>
|
|
</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|