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

[15.0] Forward Ports from 14.0 #1133

Merged
merged 10 commits into from
Dec 12, 2023
Merged

Conversation

brian10048
Copy link
Sponsor Contributor

There are some commits for bug fixes that were made to 14.0 after the migration to 15.0 was completed and there are some commits that did not make the original migration. This PR ports them to the 15.0 branch

aleuffre and others added 10 commits November 10, 2023 14:33
- fix avatar field
- delete user filters on user deletion (cascade)
- add team to sidebar filters
- add stage to filters
Steps to reproduce it:

* open dashboard Field Service Orders
* click "Add a Column" in the kanban view
* type a new stage name
Steps to reproduce the behavior:

1. open dashboard Field Service Orders
2. click "Add a Column" in the kanban view
3. type a new stage name

Current behavior:

```
2023-08-29 10:48:02,995 73200 ERROR test-fieldservice odoo.sql_db: bad query: INSERT INTO "fsm_stage" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "custom_color", "name", "sequence") VALUES (nextval('fsm_stage_id_seq'), 2, (now() at time zone 'UTC'), 2, (now() at time zone 'UTC'), true, '#FFFFFF', 'test', 1) RETURNING id
ERROR: null value in column "stage_type" violates not-null constraint
DETAIL:  Failing row contains (13, t, test, 1, null, null, null, null, #FFFFFF, null, null, null, 2, 2023-08-29 10:48:02.988337, 2, 2023-08-29 10:48:02.988337).

2023-08-29 10:48:03,000 73200 WARNING test-fieldservice odoo.http: The operation cannot be completed:
- Create/update: a mandatory field is not set.
- Delete: another model requires the record being deleted. If possible, archive it instead.

Model: Field Service Stage (fsm.stage), Field: Type (stage_type)
```

Expected behavior:

the fsm.stage is created with type 'order' by default.
- Add a lower security group whose members only have access to their own
field service orders.
- Add related partner to location and worker forms to easily check the
relationship.
@brian10048
Copy link
Sponsor Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 15.0-ocabot-merge-pr-1133-by-brian10048-bump-minor, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Nov 30, 2023
Signed-off-by brian10048
@brian10048
Copy link
Sponsor Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 15.0-ocabot-merge-pr-1133-by-brian10048-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 98523c7 into OCA:15.0 Dec 12, 2023
6 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

None yet

7 participants