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

[IMP] add field channel_type on sale.channel #17

Merged
merged 1 commit into from
May 22, 2024

Conversation

clementmbr
Copy link
Member

Useful fields for the Amazon connector!

Copy link
Contributor

@florian-dacosta florian-dacosta left a comment

Choose a reason for hiding this comment

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

LGTM but you need to add these in the view, no ?

sale_channel/models/sale_channel.py Show resolved Hide resolved
@clementmbr clementmbr force-pushed the 16.0-add-fields-channel branch 2 times, most recently from 9bee490 to 5188a98 Compare March 5, 2024 13:35
@clementmbr clementmbr marked this pull request as ready for review March 5, 2024 13:46
@clementmbr
Copy link
Member Author

@florian-dacosta I'm thinking now that it may be better to add these fields in the sale_import_base module... What do you prefer?

@clementmbr clementmbr force-pushed the 16.0-add-fields-channel branch from 5188a98 to 916cd7b Compare March 5, 2024 20:24
@clementmbr
Copy link
Member Author

@florian-dacosta I finally chose to put only channel_type in the base module sale_channel as I thought company_id or crm_team_id are more Import Parameters to be transferred to the new sale.order

@clementmbr clementmbr changed the title [IMP] add fields on sale.channel [IMP] add field channel_type on sale.channel Mar 5, 2024
Copy link
Member

@bealdav bealdav left a comment

Choose a reason for hiding this comment

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

LGTM

@clementmbr clementmbr force-pushed the 16.0-add-fields-channel branch from 916cd7b to 6a4a520 Compare March 18, 2024 19:17
Copy link

@adrienpeiffer adrienpeiffer left a comment

Choose a reason for hiding this comment

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

LGTM

@rousseldenis
Copy link

@sebastienbeau @clementmbr Could you check why connector_search_engine make tests red ?

Copy link

@timloic timloic left a comment

Choose a reason for hiding this comment

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

That make sense

@clementmbr
Copy link
Member Author

@sebastienbeau @clementmbr Could you check why connector_search_engine make tests red ?

Hi @rousseldenis, as you can see it's red because connector_search_engine is loading the external dependency typing_extensions which is not in the module's manifest.

I can open a PR on the search-engine repo to add the external dependency, but I wonder why, if this is the problem, there is no other broken tests on the repo.

Is it possible to re-run the tests first to see it can pass?
Thanks!

@clementmbr clementmbr force-pushed the 16.0-add-fields-channel branch from 6a4a520 to e9d2edd Compare May 22, 2024 21:28
@clementmbr
Copy link
Member Author

@rousseldenis @florian-dacosta @bealdav with OCA/search-engine#194 merged, this PR can be merged!

Thanks!

@OCA-git-bot
Copy link
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). 🤖

@rvalyi
Copy link
Member

rvalyi commented May 22, 2024

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-17-by-rvalyi-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5ea68f2 into OCA:16.0 May 22, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

8 participants