Created
May 9, 2022 06:27
-
-
Save sehrishnaz/5502374da94ebb4202042a23159d9b90 to your computer and use it in GitHub Desktop.
How to inherit task form view in Odoo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record id="inherit_project_task_view_form" model="ir.ui.view"> | |
<field name="name">project.task.view.inherit.form</field> | |
<field name="model">project.task</field> | |
<field name="inherit_id" ref="project_enterprise.project_task_view_form"/> | |
<field name="arch" type="xml"> | |
<xpath expr="//label[@for='planned_date_begin']" position="attributes"> | |
<attribute name="invisible">1</attribute> | |
</xpath> | |
<xpath expr="//div[hasclass('w-100')]" position="attributes"> | |
<attribute name="invisible">1</attribute> | |
</xpath> | |
</field> | |
</record> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to inherit task form view in Odoo