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.
31 lines
1.4 KiB
31 lines
1.4 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- XML view to inherit from project.task.form view -->
|
|
<record id="view_task_form2" model="ir.ui.view">
|
|
<field name="name">
|
|
project.task.view.form.inherit.sync.task.with.google.calender
|
|
</field>
|
|
<field name="model">project.task</field>
|
|
<field name="inherit_id" ref="project.view_task_form2"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='date_deadline']" position="attributes">
|
|
<attribute name="required">is_add_in_gcalendar</attribute>
|
|
</xpath>
|
|
<xpath expr="//page[@name='extra_info']" position="after">
|
|
<!-- Add a new page for Google Calendar Task Event -->
|
|
<page string="Google Calender Task Event"
|
|
name="sync_google_cal_project_task"
|
|
invisible="not is_add_in_gcalendar">
|
|
<!-- Group to display task_event and task_created -->
|
|
<group class="text-break">
|
|
<field name="task_event" readonly="1"/>
|
|
<field name="task_created" readonly="1"/>
|
|
</group>
|
|
</page>
|
|
</xpath>
|
|
<field name="partner_id" position="before">
|
|
<field name="is_add_in_gcalendar"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|