-
Notifications
You must be signed in to change notification settings - Fork 239
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
[FIX] fieldservice_account_analytic: automatically fill Contact in FSM Order #1219
[FIX] fieldservice_account_analytic: automatically fill Contact in FSM Order #1219
Conversation
Hi @osimallen, @brian10048, @bodedra, |
Tests are failing due to https://github.com/OCA/field-service/blob/cf1f50e498036043ac08c41ed3ac803fdef1f446/fieldservice_stock_account/models/fsm_order.py#L52 is no longer raised. |
👍 |
27b562b
to
8ef45b0
Compare
…M Order When customer_id is not set in the order we have: > "customer_id" not in vals and order.customer_id is False > False > "customer_id" not in vals and not order.customer_id > True
8ef45b0
to
12218a8
Compare
@OCA/field-service-maintainers the PR now should be ready to be merged. Thank you in advance! |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at a33fc4b. Thanks a lot for contributing to OCA. ❤️ |
Start by saying that the logical behind it is not clear to me, during a debug session I noticed the following problem.
To Reproduce
Steps to reproduce the behavior:
location_id
fieldExpected behavior
Contact is automatically filled with that one of the Location.
Additional context
In debug we have: