mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] timesheet_descriptoin: simplify, existing form has a form now
This commit is contained in:
@@ -11,26 +11,6 @@
|
||||
<xpath expr="//field[@name='timesheet_ids']/tree" position="attributes">
|
||||
<attribute name="editable"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='timesheet_ids']" position="inside">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="project_id" invisible="1"/>
|
||||
<field name="task_id" invisible="1"/>
|
||||
<field name="user_id" invisible="1" groups="hr_timesheet.group_timesheet_manager"/>
|
||||
<field name="employee_id" groups="hr_timesheet.group_timesheet_manager"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="date"/>
|
||||
<field name="unit_amount" string="Time Spent" widget="float_time"/>
|
||||
</group>
|
||||
</group>
|
||||
<field name="name" nolabel="1" widget="text" placeholder="Describe your activity (you can use markdown)" colspan="4"/>
|
||||
</sheet>
|
||||
</form>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user