-
-
Notifications
You must be signed in to change notification settings - Fork 67
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] website_sale_coupon_selection_wizard>website_sale_loyalty_suggestion_wizard: Migration to version 16.0 #203
[16.0][MIG] website_sale_coupon_selection_wizard>website_sale_loyalty_suggestion_wizard: Migration to version 16.0 #203
Conversation
f95c0a7
to
ee0072c
Compare
/ocabot migration website_sale_coupon_selection_wizard |
f01d199
to
39e3048
Compare
@chienandalu I think it should be renamed to website_sale_loyalty_order_suggestion, since the most direct dependency is to sale_loyalty_order_suggestion, what do you think about it? |
39e3048
to
1aa155e
Compare
sale_loyalty_order_suggestion/wizard/sale_loyalty_reward_wizard.py
Outdated
Show resolved
Hide resolved
401026a
to
273d382
Compare
28983c8
to
4aa8a29
Compare
4aa8a29
to
9cf8e8b
Compare
9cf8e8b
to
df6beeb
Compare
df6beeb
to
f82c7a0
Compare
@carlos-lopez-tecnativa can you take a look please? |
@pilarvargas-tecnativa The Runboat is pending. Could you please rebase the branch? |
f82c7a0
to
cd76c12
Compare
Done! |
Currently translated at 100.0% (9 of 9 strings) Translation: sale-promotion-15.0/sale-promotion-15.0-website_sale_coupon_selection_wizard Translate-URL: https://translation.odoo-community.org/projects/sale-promotion-15-0/sale-promotion-15-0-website_sale_coupon_selection_wizard/es/
cd76c12
to
e3db5d1
Compare
website_sale_loyalty_suggestion_wizard/templates/promotion_templates.xml
Outdated
Show resolved
Hide resolved
e47da58
to
d965853
Compare
<a | ||
role="button" | ||
class="btn btn-info" | ||
t-att-href="'/promotions/%s/apply' % promo.id" |
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.
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.
In the last change I had deleted a necessary variable, it is now restored.
d965853
to
6c624da
Compare
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.
`
website_sale_loyalty_suggestion_wizard/templates/promotion_templates.xml
Outdated
Show resolved
Hide resolved
6269722
to
365e9f0
Compare
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 found a new mismatch. Please let me know if this is an issue or expected behavior:
I created two rules: one for the Storage Box and another for the Large Cabinet.
Both products are displayed on the website.
Add both products to the cart.
Clear any applied promotions.
Apply the first promotion. The button to apply the promotion on the corresponding line becomes hidden, which is correct.
Remove the line with the applied promotion.
Apply the second promotion. However, the button to apply the promotion remains visible when it should be hidden, as it was for the first line.
If the user clicks the promotion button in this state, the URL is set to "False" (as mentioned in my previous comment) and results in a 404 error.
365e9f0
to
d878385
Compare
d878385
to
9f50369
Compare
Fixed, the error was causing that there is another promotion not published, before making the change to adapt the columns of the table that cell was conditioned to promo, when making the change to adapt the size of the table was missing add that condition to the cell of the icon. |
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.
Tested functionality, LGTM.
@chienandalu please confirm it's OK |
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.
Thanks :)
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at dc079a9. Thanks a lot for contributing to OCA. ❤️ |
cc @Tecnativa TT44379
@chienandalu please review