Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] hr_timesheet_sheet: add so_line fields in timesheet tree/form view in timesheet sheet form view #710

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions hr_timesheet_sheet/views/hr_timesheet_sheet_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,24 @@
context="{'default_project_id': project_id}"
/>
<field name="name" />
<field
name="commercial_partner_id"
invisible="1"
groups="sales_team.group_sale_salesman"
/>
<field
name="is_so_line_edited"
invisible="1"
groups="sales_team.group_sale_salesman"
/>
<field
name="so_line"
widget="so_line_field"
optional="hide"
options="{'no_create': True}"
context="{'create': False, 'edit': False, 'delete': False}"
groups="sales_team.group_sale_salesman"
/>
<field
name="unit_amount"
widget="float_time"
Expand All @@ -195,6 +213,24 @@
domain="[('project_id', '=', project_id)]"
context="{'default_project_id': project_id}"
/>
<field
name="commercial_partner_id"
invisible="1"
groups="sales_team.group_sale_salesman"
/>
<field
name="is_so_line_edited"
invisible="1"
groups="sales_team.group_sale_salesman"
/>
<field
name="so_line"
widget="so_line_field"
optional="hide"
options="{'no_create': True}"
context="{'create': False, 'edit': False, 'delete': False}"
groups="sales_team.group_sale_salesman"
/>
<field
name="unit_amount"
widget="float_time"
Expand Down
Loading