You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.3 KiB
25 lines
1.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<!-- job Form View -->
|
|
<record id="hr_job_linkedin_form" model="ir.ui.view">
|
|
<field name="name">hr.job.linkedin.form</field>
|
|
<field name="model">hr.job</field>
|
|
<field name="inherit_id" ref="hr.view_hr_job_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//form/sheet" position="before">
|
|
<field name="like_comment" invisible="True"/>
|
|
<button name="likes_comments" string="Like/Comments" type="object" groups="base.group_user" attrs="{'invisible': [('comments', '!=', True)]}"/>
|
|
<button name="share_linkedin" string="Share on LinkedIn" type="object" attrs="{'invisible': [('update_key', '!=', False)]}" groups="base.group_user"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='department_id']" position="after">
|
|
<field name="update_key" invisible="True"/>
|
|
<field name="access_token" invisible="True"/>
|
|
<field name="post_likes" invisible="True"/>
|
|
<field name="post_commands" invisible="True"/>
|
|
<field name="comments" invisible="True"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|