Skip to content

[19.0][MIG] srm: Migration to 19.0#732

Merged
OCA-git-bot merged 5 commits into
OCA:19.0from
camptocamp:19.0-mig-srm
Apr 23, 2026
Merged

[19.0][MIG] srm: Migration to 19.0#732
OCA-git-bot merged 5 commits into
OCA:19.0from
camptocamp:19.0-mig-srm

Conversation

@vvrossem
Copy link
Copy Markdown

@vvrossem vvrossem commented Mar 6, 2026

No description provided.

@vvrossem vvrossem marked this pull request as draft March 6, 2026 14:38
@vvrossem vvrossem marked this pull request as ready for review March 11, 2026 09:46
Copy link
Copy Markdown
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

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

Can we take the opportunity to add unit tests? 🙏🏻

Comment thread srm/models/crm_team.py
)
action.setdefault("context", {})
action["context"]["default_request_type"] = request_type
return action
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

returning a Domain instance here works?
Is it converted to a list automatically in the JSON response?

honest question.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent, didn't know that. Thanks!

Comment thread srm/wizard/srm_opportunity_to_rfq.py Outdated
("exist", "Link to an existing vendor"),
("nothing", "Do not link to a vendor"),
],
selection="_get_selection_action",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there a reason to switch to a separated hook method instead of the inline selection options?

The inline selection options are preferred usually

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

For the translations to apply

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Translations work just fine with regular inline list in selection fields

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yep I remember that. I've returned back the selection 😃

@yankinmax
Copy link
Copy Markdown

Can we take the opportunity to add unit tests? 🙏🏻

I've taken an opportunity and added some tests 😄

@yankinmax
Copy link
Copy Markdown

Hello @simahawk
This PR is a migration of the one opened here (which is also updated):

I'm ready to update both to speed up process.
Thanks in advance 😃

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link
Copy Markdown

@luisDIXMIT luisDIXMIT left a comment

Choose a reason for hiding this comment

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

I got this error on SRM > Purchases > My Pipeline

Image

@yankinmax yankinmax force-pushed the 19.0-mig-srm branch 2 times, most recently from 856c8ac to 5d61f53 Compare March 12, 2026 08:08
@yankinmax
Copy link
Copy Markdown

I got this error on SRM > Purchases > My Pipeline

fixed now, thanks for the review

Copy link
Copy Markdown

@luisDIXMIT luisDIXMIT left a comment

Choose a reason for hiding this comment

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

Code review and tested on runboat, LGTM!

@yankinmax
Copy link
Copy Markdown

Hello @OCA/crm-sales-marketing-maintainers can you pls take a look and possibly trigger merge?

@yankinmax
Copy link
Copy Markdown

Hello @mmequignon can you pls take a look and possibly trigger merge?

@simahawk
Copy link
Copy Markdown

/ocabot migration srm
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Apr 23, 2026
@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 19.0-ocabot-merge-pr-732-by-simahawk-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Apr 23, 2026
23 tasks
@OCA-git-bot OCA-git-bot merged commit d871e00 into OCA:19.0 Apr 23, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 30749a3. 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.

7 participants