-
-
Notifications
You must be signed in to change notification settings - Fork 456
[18.0][MIG] crm_won_reason: Migration to 18.0 #658
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
base: 18.0
Are you sure you want to change the base?
Conversation
Currently translated at 100.0% (20 of 20 strings) Translation: crm-15.0/crm-15.0-crm_won_reason Translate-URL: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_won_reason/es/
3557b0d to
f16ea9c
Compare
BhaveshHeliconia
left a comment
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.
|
@BhaveshHeliconia Thank you for the feedback. I have reviewed the case and confirm that the crm_won_reason module by itself does not present the issue of two "Won" buttons. This behavior only occurs when it is installed together with the crm_won_restrict_per_stage module, as both apply an invisible attribute to the same button, causing the view to be triggered and resulting in two instances of the button being displayed. |
|
@apami0111 : The functionality works perfectly, but having the same "Won" label for both buttons can be confusing. |
celm1990
left a comment
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.
LGTM
@pedrobaeza could you review this?
|
/ocabot migration crm_won_reason |
crm_won_reason/__manifest__.py
Outdated
| "website": "https://github.com/OCA/crm", | ||
| "license": "AGPL-3", | ||
| "depends": [ | ||
| "base", |
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.
depends 'base' is not necessary
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.
Thank you very much for your observation! @jaenbox
I've already made the change.
f16ea9c to
69c5c63
Compare
jaenbox
left a comment
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.
LGTM
|
ping @pedrobaeza |
|
@BhaveshHeliconia has requested changes |
|
@pedrobaeza Thanks for the note. The issue mentioned in
the duplicated “Won” button was not caused by crm_won_reason, but by its interaction with crm_won_restrict_per_stage, since both apply an invisible attribute to the same button. With only crm_won_reason installed, everything works correctly. |
|
Yeah, but he should confirm it. |


attrswith newinvisibleexpression incrm_won_reason/views/crm_views.xml: