Closed chienandalu closed 2 years ago
@ernestotejeda could you review?
Ey, Travis goes to red now
:green_apple:
@chienandalu great work with this module. Really thanks We got a similar module here
I've check this PR and compare with our module and find that would be interesting to have this features in the module to handle the publish mechanism:
here we check for the products to add in a pack that all of them were published y if it not we alert. Maybe with a domain in the field could be better.
here we set for the pack lines in a pack to be publish or not from the parent pack. And the inverse case if one of the pack component becomes to unpublish we set the same for the parent pack. I think this part is better made in another method calling from write method.
I thinks this could be necessary because the mixing of a product pack published with somes of the components not, could be confuse and some bug related to this will be happened.
Any thoughts about that?
Thanks again.
Thanks @nicomacr I propose you to add your review in order to merge this one, and then I'll gladly review your PR with those improvements :slightly_smiling_face:
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). 🤖
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump, awaiting test results.
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump.
After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump, awaiting test results.
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump.
After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump, awaiting test results.
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump.
After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump, awaiting test results.
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump.
After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.
/ocabot merge nobump
What a great day to merge this nice PR. Let's do it! Prepared branch 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump, awaiting test results.
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-46-by-pedrobaeza-bump-nobump.
After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.
@chienandalu rebase to see the problem.
We've detected a problem trying to use the packs on the website.
If you configure a product as a pack with pack_type = "detailed" and pack_component_price = "ignored" it apparently works while you do the cart until you try to pay. Once you enter the address information and click on "Next", the order sums the amount of all the components and the pack too.
Example:
Pack 1 (30€):
/ocabot merge nobump
This PR looks fantastic, let's merge it! Prepared branch 13.0-ocabot-merge-pr-46-by-dreispt-bump-nobump, awaiting test results.
Congratulations, your PR was merged at e05a1f55b8296ed6353eefa575b85bb2fe4748f2. Thanks a lot for contributing to OCA. ❤️
Compatibility module between sale_product_pack and website_sale
cc @Tecnativa TT30385