-
Notifications
You must be signed in to change notification settings - Fork 106
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
[MIG] 12.0 shopinvader_sale_profile #633
Conversation
…otive is role and not sale_profile
If we install shopinvader_sale_profile without activating sale profiles and creating partners, they are exported with a role == false. This fixes it.
aa684be
to
f56be4b
Compare
@@ -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"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PierrickBrun Why changing this ?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review
This PR has the |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 9b3475e. Thanks a lot for contributing to shopinvader. ❤️ |
No description provided.