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

[MIG] 12.0 shopinvader_sale_profile #633

Merged

Conversation

PierrickBrun
Copy link
Contributor

No description provided.

sebastienbeau and others added 5 commits May 7, 2020 19:31
If we install shopinvader_sale_profile without activating sale profiles and
creating partners, they are exported with a role == false. This fixes it.
@@ -10,7 +10,7 @@
<field name="priority" eval="90"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='shopinvader_bind_ids']//tree" position="inside">
<field name="sale_profile_id"/>
<field name="sale_profile_id" readonly="1"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

@PierrickBrun Why changing this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the user shouldn't change the sale_profile directly, it will be calculated from the pricelist and the fiscal classification.
They are not tempted if the field can"t be edited

Copy link
Contributor

@rousseldenis rousseldenis 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

@shopinvader-git-bot
Copy link

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). 🤖

@rousseldenis
Copy link
Contributor

/ocabot merge patch

@shopinvader-git-bot
Copy link

This PR looks fantastic, let's merge it!
Prepared branch 12.0-ocabot-merge-pr-633-by-rousseldenis-bump-patch, awaiting test results.

shopinvader-git-bot pushed a commit that referenced this pull request May 20, 2020
Signed-off-by rousseldenis
@rousseldenis
Copy link
Contributor

/ocabot merge patch

@shopinvader-git-bot
Copy link

What a great day to merge this nice PR. Let's do it!
Prepared branch 12.0-ocabot-merge-pr-633-by-rousseldenis-bump-patch, awaiting test results.

@shopinvader-git-bot shopinvader-git-bot merged commit 096a7bc into shopinvader:12.0 May 20, 2020
@shopinvader-git-bot
Copy link

Congratulations, your PR was merged at 9b3475e. Thanks a lot for contributing to shopinvader. ❤️

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.

5 participants