diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/hr_timesheet/wizard/project_task_create_timesheet_views.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/hr_timesheet/wizard/project_task_create_timesheet_views.xml')
| -rw-r--r-- | addons/hr_timesheet/wizard/project_task_create_timesheet_views.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/addons/hr_timesheet/wizard/project_task_create_timesheet_views.xml b/addons/hr_timesheet/wizard/project_task_create_timesheet_views.xml new file mode 100644 index 00000000..db26070c --- /dev/null +++ b/addons/hr_timesheet/wizard/project_task_create_timesheet_views.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo> + + <record id="project_task_create_timesheet_view_form" model="ir.ui.view"> + <field name="name">project.task.create.timesheet.wizard.form</field> + <field name="model">project.task.create.timesheet</field> + <field name="arch" type="xml"> + <form string="Save time"> + <group> + <field name="task_id" invisible="True"/> + <field name="time_spent" string="Duration" class="oe_inline" widget="float_time" required="True"/> + <field name="description" widget="text" placeholder="Describe your activity..."/> + </group> + <footer> + <button string="Save" type="object" name="save_timesheet" class="btn btn-primary"/> + <button string="Cancel" special="cancel" type="object" class="btn btn-secondary"/> + </footer> + </form> + </field> + </record> + +</odoo> |
