flectra/addons/website_hr_recruitment/views/hr_recruitment_views.xml

30 lines
1.3 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<record id="view_hr_recruitment_tree_url" model="ir.ui.view" >
<field name="name">hr.recruitment.tree.inherit.url</field>
<field name="model">hr.recruitment.source</field>
<field name="inherit_id" ref="hr_recruitment.hr_recruitment_source_tree"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='create_alias']" position="before">
<field name="url" widget="url"/>
</xpath>
</field>
</record>
<record id="view_hr_job_form_website_published_button" model="ir.ui.view" >
<field name="name">hr.job.form.inherit.published.button</field>
<field name="model">hr.job</field>
<field name="inherit_id" ref="hr_recruitment.hr_job_survey"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button" name="website_publish_button"
type="object" icon="fa-globe">
<field name="website_published" widget="website_button"/>
</button>
</div>
<xpath expr="//field[@name='address_id']" position="after">
<field name="website_ids" widget="many2many_tags"/>
</xpath>
</field>
</record>
2018-01-16 11:34:37 +01:00
</flectra>