employees. Website publishers now see all employees + a publish button, like for other website documents. Other people see the same published employees as before. The URL link for employees is not a specific url for each employee but the about us page.
21 lines
724 B
XML
21 lines
724 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record model="ir.ui.view" id="hr_employee_form_view_website_published">
|
|
<field name="name">hr.employee.website.form</field>
|
|
<field name="model">hr.employee</field>
|
|
<field name="inherit_id" ref="hr.view_employee_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@name='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>
|