mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-19 22:02:02 +02:00
24 lines
1.2 KiB
XML
24 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="portal_task_share_wizard" model="ir.ui.view">
|
|
<field name="name">task.share.wizard</field>
|
|
<field name="model">task.share.wizard</field>
|
|
<field name="inherit_id" ref="portal.portal_share_wizard"/>
|
|
<field name="mode">primary</field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[hasclass('btn-default')]" position="replace">
|
|
<button string="Discard" class="btn-default" special="cancel" data-hotkey="x" />
|
|
</xpath>
|
|
<xpath expr="//button[hasclass('btn-primary')]" position="attributes">
|
|
<attribute name="invisible">project_privacy_visibility in ['invited_users', 'followers']</attribute>
|
|
</xpath>
|
|
<xpath expr="//field[@name='note']" position="attributes">
|
|
<attribute name="invisible">project_privacy_visibility in ['invited_users', 'followers']</attribute>
|
|
</xpath>
|
|
<xpath expr="//field[@name='partner_ids']" position="attributes">
|
|
<attribute name="invisible">project_privacy_visibility in ['invited_users', 'followers']</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|