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

[16.0][ADD] sale_timesheet_timeline: Dates planning in sales order lines #708

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from

Conversation

pedrobaeza
Copy link
Member

This module allows to plan in advance the start/end dates and assignees for the sales order lines that are services, and they are transferred to the created task (if any) when confirming the order.

It includes a timeline view for pre-viewing and managing the planning.

imagen

imagen

@Tecnativa TT50569

@pedrobaeza pedrobaeza added this to the 16.0 milestone Aug 20, 2024
@pedrobaeza pedrobaeza changed the title [ADD] sale_timesheet_timeline: Dates planning in sales order lines [16.0][ADD] sale_timesheet_timeline: Dates planning in sales order lines Aug 20, 2024
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Tested 👍

@pilarvargas-tecnativa
Copy link

I have added a new view that extends the order view of the portal to show a separate table with the data of the lines that have a planning set up. This is shown in a new section in the view called ‘Planning’.

image

@chienandalu If you want you can check again

@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 16.0-add-sale_timesheet_timeline branch 2 times, most recently from ed17e79 to eb71e77 Compare August 21, 2024 08:17
@pedrobaeza pedrobaeza force-pushed the 16.0-add-sale_timesheet_timeline branch from eb71e77 to 14e5f80 Compare August 21, 2024 18:49
pedrobaeza and others added 2 commits August 26, 2024 15:16
This module allows to plan in advance the start/end dates and assignees for the sales
order lines that are services, and they are transferred to the created task (if any)
when confirming the order.

It includes a timeline view for pre-viewing and managing the planning.

TT50569
@pedrobaeza pedrobaeza force-pushed the 16.0-add-sale_timesheet_timeline branch from 14e5f80 to 660a452 Compare August 26, 2024 13:16
Copy link

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a few comments

Comment on lines +65 to +80
<field
name="task_date_start"
optional="hide"
attrs="{'invisible': [('product_type', '!=', 'service')]}"
/>
<field
name="task_date_end"
optional="hide"
attrs="{'invisible': [('product_type', '!=', 'service')]}"
/>
<field
name="task_user_ids"
optional="hide"
widget="many2many_avatar_user"
attrs="{'invisible': [('product_type', '!=', 'service')]}"
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we can edit a record when the sale order is confirmed, then these changes must be propagated to the task. Otherwise, we should block edits when the sale order is confirmed. What do you think?

image

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants