-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
[16.0][MIG] sale_product_variant_attribute_tax: Migration to version 16.0 #354
[16.0][MIG] sale_product_variant_attribute_tax: Migration to version 16.0 #354
Conversation
283f4d0
to
9fd6278
Compare
9fd6278
to
873fa82
Compare
873fa82
to
453582f
Compare
/ocabot migration sale_product_variant_attribute_tax |
Co-authored-by: cubells <vicent@vcubells.net> Co-authored-by: Pedro M. Baeza <pedro.baeza@gmail.com>
453582f
to
4948595
Compare
sale_product_variant_attribute_tax/tests/test_sale_product_variant_attribute_tax.py
Outdated
Show resolved
Hide resolved
4948595
to
5f8688f
Compare
@victoralmau is it OK for you? |
sale_product_variant_attribute_tax/tests/test_sale_product_variant_attribute_tax.py
Outdated
Show resolved
Hide resolved
Thinking again about this functionality, I don't understand not included in |
Let me explain this feature, that is somehow independent of The question is that the product taxes are defined at template level, so you can't have some variants with an specific tax. The use case of our customer is that one attribute makes that all the variants with such attribute has different taxes. This module + the other one covers this gap adding the taxes at attribute level for having to define it only once, instead of searching for other solution like having taxes at template level that forces you to define the specific taxes for each of the variants that are affected. |
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.
- Please squash the first 3 commits into one.
- You must split your migration into 2 commits: the pre-commit one + the real migration one.
- Attend the rest of the inline comments.
sale_product_variant_attribute_tax/tests/test_sale_product_variant_attribute_tax.py
Outdated
Show resolved
Hide resolved
Ok, now I understand the requirement, thanks for clarifying. |
@carolinafernandez-tecnativa can you please finish this. You can include my previous reasoning as CONTEXT.rst in the readme. |
b60f7a2
to
2124d2a
Compare
done |
pending to do |
@victoralmau could you please help me with this?thanks! |
2124d2a
to
c2d9eb1
Compare
ping @pedrobaeza |
c2d9eb1
to
9ab2d7f
Compare
ping @pedrobaeza |
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.
/ocabot merge nobump
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 1056803. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa
TT46598
@pedrobaeza @pilarvargas-tecnativa