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][FIX] fieldservice_isp_account: project_id in timesheet #1294

Conversation

are-agilebg
Copy link

The project_id of the account_analytic_line related via fsm_order.employee_timesheet_ids take correctly the project_id from the fsm_order during creation, but if the project changes (or, if the project is only assigned after the timesheet lines have been inserted) the data is not updated in the timesheet lines.

This PR proposes to keep in sync the project_id with a simple onchange method.

@OCA-git-bot
Copy link
Contributor

Hi @bodedra, @osimallen, @brian10048,
some modules you are maintaining are being modified, check this out!

@max3903 max3903 added this to the 16.0 milestone Jan 3, 2025
@max3903 max3903 self-assigned this Jan 3, 2025
@max3903
Copy link
Member

max3903 commented Jan 3, 2025

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-1294-by-max3903-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jan 3, 2025
Signed-off-by max3903
@OCA-git-bot
Copy link
Contributor

It looks like something changed on 16.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 16.0-ocabot-merge-pr-1294-by-max3903-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at f92ffa9. Thanks a lot for contributing to OCA. ❤️

@OCA-git-bot OCA-git-bot merged commit f92ffa9 into OCA:16.0 Jan 3, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants