File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed
hr_timesheet_sheet_no_create/views
setup/hr_timesheet_sheet_no_create Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!-- Copyright 2020 Onestein (<https://www.onestein.eu>)
33 License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
4-
54<odoo >
65
76 <record id =" hr_timesheet_sheet_form" model =" ir.ui.view" >
87 <field name =" model" >hr_timesheet.sheet</field >
9- <field name =" inherit_id" ref =" hr_timesheet_sheet.hr_timesheet_sheet_form" />
8+ <field name =" inherit_id" ref =" hr_timesheet_sheet.hr_timesheet_sheet_form" />
109 <field name =" arch" type =" xml" >
11- <xpath expr =" //field[@name='timesheet_ids']/tree//field[@name='project_id']" position =" attributes" >
10+ <xpath
11+ expr =" //field[@name='timesheet_ids']/tree//field[@name='project_id']"
12+ position =" attributes"
13+ >
1214 <attribute name =" options" >{'no_create': True}</attribute >
1315 </xpath >
14- <xpath expr =" //field[@name='timesheet_ids']/tree//field[@name='task_id']" position =" attributes" >
16+ <xpath
17+ expr =" //field[@name='timesheet_ids']/tree//field[@name='task_id']"
18+ position =" attributes"
19+ >
1520 <attribute name =" options" >{'no_create': True}</attribute >
1621 </xpath >
17- <xpath expr =" //field[@name='timesheet_ids']/form//field[@name='project_id']" position =" attributes" >
22+ <xpath
23+ expr =" //field[@name='timesheet_ids']/form//field[@name='project_id']"
24+ position =" attributes"
25+ >
1826 <attribute name =" options" >{'no_create': True}</attribute >
1927 </xpath >
20- <xpath expr =" //field[@name='timesheet_ids']/form//field[@name='task_id']" position =" attributes" >
28+ <xpath
29+ expr =" //field[@name='timesheet_ids']/form//field[@name='task_id']"
30+ position =" attributes"
31+ >
2132 <attribute name =" options" >{'no_create': True}</attribute >
2233 </xpath >
2334 </field >
Original file line number Diff line number Diff line change 1+ ../../../../hr_timesheet_sheet_no_create
Original file line number Diff line number Diff line change 1+ import setuptools
2+
3+ setuptools .setup (
4+ setup_requires = ['setuptools-odoo' ],
5+ odoo_addon = True ,
6+ )
You can’t perform that action at this time.
0 commit comments